1757097 Members
2354 Online
108858 Solutions
New Discussion юеВ

fbackup

 
Jeff Hagstrom
Regular Advisor

fbackup

What does a graph file look like for fbackup? and can you run fbackup for everything, but exclude certian directories?
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: fbackup

Very simple format. Preceed every entry you wish to include with 'i ' and everything you want to exclude with 'e '.
Let's suppore you want everything in /u01, all of /usr except /usr/tmp
i /u01
i /usr
e /usr/tmp

That's all there is to it. You can man fbackup for more details.

Clay
If it ain't broke, I can fix that.
Vincenzo Restuccia
Honored Contributor

Re: fbackup

Create a suitable configuration file called config in the directory /var/adm/fbackupfiles.


Create a graph file called usr-usrlib in the directory /var/adm/fbackupfiles/graphs.


Create a directory called usr-usrlib in the directory /var/adm/fbackupfiles/indices.
A shell script that performs the following tasks could be run for each fbackup session:


Build an index file path name based on both the graph file used (passed as a parameter to the script) and the start time of the session (obtained from the system). For example:

/var/adm/fbackupfiles/indices/usr-usrlib/871128.15:17
(for Nov 28, 1987 at 3:17 PM)




Invoke fbackup with this path name as its index file name. For example:

cd /var/adm/fbackupfiles
/usr/sbin/fbackup -0uc config -g graphs/usr-usrlib\
-I indices/usr-usrlib/871128.15:17\
-f /dev/rmt/c0t0d0BEST
Vincenzo Restuccia
Honored Contributor

Re: fbackup

Exclude a directory:
#/usr/sbin/fbackup -0i /usr -e /usr/lib -f /dev/rmt/c0t0d0BEST



Peter Maitland
Occasional Advisor

Re: fbackup

Points Police

This member has assigned points to 2 of 31 responses to his/her questions.

Jeff,

If you want people to go on helping you, you really should go back to your previous postings and assign points to the people who took the time to help you.

Peter