1834395 Members
2003 Online
110066 Solutions
New Discussion

Re: Fbackup question

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

Fbackup question

Hello,

There is a significant difference between fbackup and old-fashioned dump utility.
dump requires separate command for every file system (e.g. "dump 0uf ... / ", "dump 0uf ... /usr "). On the other hand, fbackup copies all the system if a command like
"fbackup -f /dev/rmt/0m -0vi /" is issued.

I'd like to know the best way to "fbackup" a file system without backing up of other
file systems mounted below.

Thanks in advance for your comments!
KISS - Keep It Simple Stupid
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Fbackup question

Hi:

See man fbackup for details. fbackup and frecover employ a 'graph' file in which you include and/or exclude files and/or directories as you see fit. The graph has simple entries like:

i /var
e /var/tmp

which would request a backup on the /var directory, but exclude the /var/tmp subdirectory.

...JRF...
Tom Danzig
Honored Contributor

Re: Fbackup question

Configuring your backup with SAM is probably the easiest method. Lots of flexability in which files sets to include/exclude.
Manju Kampli
Trusted Contributor

Re: Fbackup question

There are two ways you can start learning about fbackup. first readning the whole man pages of fbackup and doing all the options trial and error method.
other way and the easy way to start is using sam "fbackup". in the sam-->backup

Configure the backup using the menu driven options which also has include, exclude options and incremental options aswell. Once you are happy with your backup configuration, you can see what the command it is going to excute and look in to it.
you can also schedule this backup which will keep a entry in the crontab.

hope this helps
Never stop "LEARNING"
Mihails Nikitins
Super Advisor

Re: Fbackup question

Thanks a lot for your comments!

I believed that there was an easy way to force fbackup work with filesystems in "dump-style". Now I see that usage of include/exclude options is the best practice.
KISS - Keep It Simple Stupid