1833460 Members
3383 Online
110052 Solutions
New Discussion

Frecover

 
SOLVED
Go to solution
Simon Wickham_1
Occasional Advisor

Frecover

Hi
I need to know how to recover a file from tape and place in a tempory area.
i beleive the command to be as followed :
frecover -x -v -f /dev/rmt/0m -i /home/user1 -I
/tmp/hold

But it comes back with the following message :
frecover(3205): specified options are mutually exclusive
frecover -r [-hosvymFNOX] [-c config] [-f device] [-S skip] [-E extarg]
frecover -R path [-f device]
frecover -x [-hosvymFNOX] [-c config] [-e path] [-f device]
[-g graph] [-i path] [-S skip] [-E extarg]
frecover [-I | -V] path [-vy] [-f device] [-c config]
-{r,x} - full/partial recovery
-{I,V} - write index/volume-header to path
-{F,X} - flat/relative recovery
-{i,e} - specify a path to include/exclude
-{g,c} - specify a graph/configuration file
-{N,h} - No files recovered-Only verify/graph information
-R - continue an interrupted session
-f - specify an input device
-o - overwrite existing files
-v - verbose mode
-y - answer yes to all questions
-S - specify a file for skipped blocks
-s - sparse file recovery
-O - set ownership of files to the user running the recovery
-m - Print marker information (checksums, filemarks, setmarks)
-E - specify extent attributes handling: warn, force, or ignore

Please could any one advise.

Regards
Simon
Help required
4 REPLIES 4
Steve Steel
Honored Contributor
Solution

Re: Frecover

Hi


Something like this

Restore a complete directory

/etc/frecover -xi/directory
/etc/frecover -x -i/directory1 -i/directory2

When restoring a directory, `frecover' will not overwrite an existing directory
file, unless the -o option is used.

It may be nice to recover relative to somewhere in a directory like /tmp/local.
To restore relatively, you must go first to the directory with cd, and then
use the X or F option.

cd /tmp/local; /etc/frecover -xvXi /directory
(with directory tree path )
cd /tmp/local; /etc/frecover -xvFi /directory
(without path, only files names)

Restore of a few files from archive.

cd /tmp/local;/etc/frecover -xvF -i/path1/filename1 -i/path2/filename2
The files will be restored under the local directory.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Paula J Frazer-Campbell
Honored Contributor

Re: Frecover

Hi

Quick and easy - Use SAM


Paula
If you can spell SysAdmin then you is one - anon
Thierry Poels_1
Honored Contributor

Re: Frecover

Hi,

option -I (for index file) cannot be used together with -x (for restore).

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Simon Wickham_1
Occasional Advisor

Re: Frecover

Thank you for your help i have now completed this by using :

frecover -xvF -i/path1/filename1 -i/path2/filename2


As the -I caused the problem.


Regards
Simon
Help required