turrinil

updated

20 years ago

T

turrinil

29 Posts

0

1011

August 8th, 2006 06:00

restore expired saveset

Hi,

while my scanner command is running, I'd like to check if the process I'm following is correct in principle.

I need to restore a saveset that is expired (browse and retention policy).
I know - I can see it from the GUI - that it's on tape 529 and I know it's SSID (3904375817).

Should I
1) mount tape 529
2) scanner -m -S 3904375817 \\.\Tape1

This is what I'm doing, the command has been running for a while and gave me the following output:

scanner: scanning sdlt320 tape CGE529S on \\.\tape1
scanner: sdlt320 tape CGE529S already exists in the media index
scanner: write failed, Not enough space
<< >>
scanner: the following save sets are still incomplete:
client name save set save time level size files ssid S
acedev09 /backup/acedev09 7/14/06 22:22 f 9986666124 4 3904375817
S
scanner: Press:
c to continue
n to go to next volume
q to quit

<< >>
scanner: continuing

Thanks in advance for your help
kind regards
Luca
  • ble1

    6 Operator

    14354 Posts

    56186 Points

    335

    0

    Posted August 8th, 2006 15:00

    scanner -m will bring it back to media db only - you won't be able to browse it. To make it browsable again you need to use -L7 approach as you did. Another approach would be scanner -i, but before that remove ssid from media db and write down before file and record number of ssid. Then give those location ids to scanner and that should position fast on it and scan it and should make it browsable too.
  • turrinil

    29 Posts

    335

    0

    Posted August 8th, 2006 06:00

    As I posted the question, the scanner command completed as follows :

    scanner: ssid 3904375817: scan complete
    scanner: ssid 3904375817: 22 GB, 15 file(s)


    now, I tried to recover this saveset but I cannot see it. And now if I use "show saveset" for this volume from the GUI, I have the message "there are no saveset"..

    Is this due to the "write failed" error I had or what am I doing wrong?

    thanks
    Luca
  • turrinil

    29 Posts

    335

    0

    Posted August 8th, 2006 07:00

    Hiya,

    I might have replied to myself but I've done "nsrck −L7 −t date " and I can now restore the files.

    so.. the fact that I could see my saveset from the GUI, does it mean that I could just have done a "nsrck −L7 −t date " to update the index and restore my files without waiting 3hours for the scanner utility to complete?

    I'm a bit confused :(

    thanks
    Luca
  • dchui1

    14 Posts

    335

    1

    Posted August 11th, 2006 08:00

    If NW already knows the saveset exists then you should be able to recover from command line on the client server:

    recover -S 3904375817

    NW should prompt for tape 529
  • turrinil

    29 Posts

    335

    0

    Posted August 14th, 2006 00:00

    thanks!