1833838 Members
2518 Online
110063 Solutions
New Discussion

frecover

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

frecover

Trying to restore a file but I don't want it to be restored in its original location. That is, I want to restore it to /tmp. Can this be done?
UNIX IS GOOD
4 REPLIES 4
Vincent Farrugia
Honored Contributor
Solution

Re: frecover

Hello,

You can go to /tmp and use the -X parameter. That would force frecover to recover files to the current directory (/tmp).

HTH,
Vince
Tape Drives RULE!!!
Keely Jackson
Trusted Contributor

Re: frecover

Hi

I think you can do this with the -X flag. cd in to /tmp and then use frecover the -X option. Check the man page to confirm this is what you want.

Cheers
Keely
Live long and prosper
Dietmar Konermann
Honored Contributor

Re: frecover

Use the -X option, see man frecover(1M),
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Patrick Chim
Trusted Contributor

Re: frecover

Hi,

It depends on how you backup the data. If you use the relative path then you can do that. Otherwise you have to rename the original file in order not to overwrite it during restoration.

Regards,
Patrick