Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Restore files from vdump

SOLVED
Go to solution
jeffunix
Occasional Advisor

Restore files from vdump

Hi guys,

I was able to put my tar file on the tape. I wana know how can i access this file? Like restore foo.gz to /home/foo ?

Thanks.

jeff

5 REPLIES
Rob Leadbeater
Honored Contributor
Solution

Re: Restore files from vdump

Hi Jeff,

The opposite of vdump is vrestore.

Run it in interactive mode with "vrestore -i" you can then do "ls" to see the contents of the tape. Add files to restore with add, so "add foo.gz" then "restore"

Hope this helps,

Regards,

Rob
jeffunix
Occasional Advisor

Re: Restore files from vdump

Hi,

Thanks a lot, just reading the same thing. Like if i want to execute it without using the interactive, is it like this ?

#vrestore -x -D /home/foo foo.gz
Rob Leadbeater
Honored Contributor

Re: Restore files from vdump

Hi,

Yes that looks about right, assuming the vdump was done in /home

Cheers,
Rob

jeffunix
Occasional Advisor

Re: Restore files from vdump

Hi Rob,

Like if i have filename jeff.gz on my tape and i want to get this file and put it maybe on /tmp. How will i do this ?


just a little bit more
tnx a lot.

jeff
Rob Leadbeater
Honored Contributor

Re: Restore files from vdump

Probably something like:

# vrestore -x -D /tmp jeff.gz

Cheers,

Rob