1825694 Members
3257 Online
109686 Solutions
New Discussion

Re: Frecover

 
HPP
Regular Advisor

Frecover

Hi,
I backed up /share/stage/ns-home/doc2 using fbackup, the command i used was
#/etc/fbackup -0v -g /tmp/graph -f /data/stage.tar
In the graph file i gave:
i /share/stage/ns-home/doc2

My question is how to extract files from the fbackup to different directory, for example to /share/test/ns-home/doc2. That is i want to extract from backup, all the files from /share/stage/ns-home/doc2 to /share/test/ns-home/doc2.

Thanks in advance
Be Teachable
5 REPLIES 5
Vincenzo Restuccia
Honored Contributor

Re: Frecover

See man frecover.
Thierry Poels_1
Honored Contributor

Re: Frecover

Hi,

one file or directory is easy:
cd /share/test/ns-home/doc2
frecover -xvF -f/dev/rmt/0m -i /share/stage/ns-home/doc2/yourfile
--> -F put files in current directory

a whole subtree is more work:
mkdir /tmp/share
mkdir /tmp/share/stage
mkdir /tmp/share/stage/ns-home
ln -s /share/stage/ns-home/doc2 /tmp/share/stage/ns-home/doc2
cd /tmp
frecover -xvX -f/dev/rmt/0m -i /share/stage/ns-home/doc2
--> -X restore files relative to the current directory; fake the path, and link the bottom directory to your destination

good luck,
(was typed without checking, so be carefull, but the idea should be correct at least)
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Peter Maitland
Occasional Advisor

Re: Frecover

"See man frecover"

Vincenzo, That is a pretty stupid answer for someone who is looking for help. If you think the question is silly or if you don't have the time to post a response then don't answer. And while I am at it, do me a favor? Don't answer any of my questions anymore with dead links, I have better things to do than hit dead ends in cyberspace.

Cheers,
Peter
HPP
Regular Advisor

Re: Frecover

vincenzo,
You dont need to tell me to look into man pages for frecover. I know how to look into man pages and i know what i am doing.

Thanks for your advice.
Be Teachable
Mark Vollmers
Esteemed Contributor

Re: Frecover

You could use SAM to recover. Go to interative backup and recovery. Click on the device and recover. Ther should be an Additional Parameters area, where you can specify a non-root directory. click on this and enter the directory where you want the files located to. It should put all files in that directory (and put sub-folders in there as well). I think that it will make the directory if it is not created. Sorry I can't be more exact, but I havn't really used the recover portion a whole lot.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"