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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar command help

Status
Not open for further replies.

nappaji

Programmer
Mar 21, 2001
76
US
I have to back up all directories under / except one directory called "abc". How do I do it.

Thanks
 
Hi nappaji,

Do you have to use tar, because tar is not ususally used to backup a whole filesystem.
What about using fbackup, this would work for you

from root
#fbackup -f /dev/rmt/0m -e /abc

Regards
Queenie

 
Or you could use sam, which has a fairly decent backup program that uses /usr/sam/lib/br_backup, automates it for you, allows you to specifiy full or incrementals, allows you to include just the filesystems you want, allows you to exclude files you don't want backed up, allows you to schedule it (it automatically adds it to cron), even allows you to backup NFS filesystems, and keeps an index of what was backed up when.

It is a little slow, though, so restores would take a while.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top