Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore command going very slow

Status
Not open for further replies.

em0070

Vendor
Jun 21, 2006
1
US
I am trying to do a restore of a savevg backup done using the following syntax:

savevg -m -v -X -f /dev/rmt0 -p ldsvg >> $output

I try to do the restore of the files which are in a relative path format eg ./csc/fleet

using the following syntax:

restore -xdqvf /dev/rmt0 ./csc/fleet

The tape drive flashes away I get this from the output then nothing else happens:

$ restore -xdqvf /dev/rmt0 ./csc/fleet
New volume on /dev/rmt0:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sat May 13 00:11:19 CDT 2006
Files are backed up by name.
The user is root.

Thanks I'm sure it's something obvious I have overlooked.
 
I'd do

restore -Tqvf /dev/rmt0 | tee /tmp/tape_contents.lst

to see what is exactly on the tape.

Then afterwards you can go and find the dir you need in the list file, and modify your restore command accordingly.


HTH,

p5wizard
 
try it in interactive mode

restore -if /dev/rmt0.1

i'm not sure if this is only allowed for i-node backup but you can use this to go thru your files on the tape and choose which file to restore

Regards,
Khalid
 
The command savevg makes backups by name, restore -i does not work on that type of backups...


HTH,

p5wizard
 
Try the following

Set the tape block size to 0

chdev -l rmt0 -a block_size=0

then issue

restorevgfiles -r -f /dev/rmt0 -a /csc/fleet

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top