Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fbackup multiple file systems

Status
Not open for further replies.

tjr17

Technical User
Jan 2, 2003
3
US
is there a way to backup multiple filesystems with fbackup?

/
/usr
/home
/var

to backup up only /home and /var onto one tape?

 
You can go into SAM and run an interactive backup and select just the filesystems you want to back up. It's not documented anywhere, but SAM does eventually call the fbackup routine. Or you could go into your graph file in /etc/sam/br/graphxXXXXx, if the backup is automated, and edit out what you do and do not want backed up. Say you want to include /home and /var only. Your graph file would look like this;

i /home
i /var

You can also call the fbackup routine manually and include those filesystems - using a no rewind device.

fbackup -i /home -f /dev/rmt/0mn (n is for no rewind)
fbackup -i /var -f /dev/rmt/0m (no need to rewind if this is all you are putting on the tape)

That should take care of it.
 
Best way to do is graph file so in future you can update it easily.

create a graph file as previous reply mention and run

#fbackup -0vug /graphfilename -f /dev/rmt/0m

0=level0 backup
v=verbose
u=update timestamp
g=graph file.

If you have graph file then you can use this in script and someone else just need to change graph file only.

Patel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top