1757085 Members
1907 Online
108858 Solutions
New Discussion юеВ

Re: Frecover syntax

 
SOLVED
Go to solution
Massimo_37
Frequent Advisor

Frecover syntax

Can someone please suggest the syntax to frecover all files in /bin direcory
5 REPLIES 5
Rajesh D L
Frequent Advisor
Solution

Re: Frecover syntax

#frecover -xv -i /bin -f /dev/rmt/?mn
Massimo_37
Frequent Advisor

Re: Frecover syntax

Thanks Rajesh. I tried this, but I also want it to display the list of files being recovered, although the man pages say that -v option causes it to display the name and file type of each file being treated
Tapas Jha
Valued Contributor

Re: Frecover syntax

frecover -xv -i /bin -f /dev/rmt/?m
(device file is according to your system)

Where -x The files identified by the -i , -e , and -g options are extracted or not extracted from the backup
media. If a file to be extracted matches a directory whose contents have been written to the backup media. the directory is recursively extracted.

-i is for inclusion.(-e for exclusion)

-v --for verbose mode only.

You can use -g graphfile (Graphfiles are text file contain list of filenames to be included or excluded. Eg:
i /usr
e /tmp
Include /usr and exclude /tmp)

Rgds
Tapas

Tapas Jha
Massimo_37
Frequent Advisor

Re: Frecover syntax

Would the links in the directory /bin For eg ld -> /usr/ccs/bin/make - would these links be recovered by frecover when we use
frecovee -xv -i /bin -f /dev/rmt/0mn ?
If they are copied across and if the file /usr/ccs/bin/make does not exist, will it cause any system problems till those files are also frecovered ? Thanks in advance
Rajesh D L
Frequent Advisor

Re: Frecover syntax

Hi George,

It will definitely not create any system problem. I am not sure whether fbackup/frecover copies links or not.

regards,
RDL.