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