SUMMARY: Tar filesystem backups
"Ambrose" <ambrose-pj/[email protected]>
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <004e01c37d7f$6ac85ba0$fe01a8c0@ambrose> |
Thanks to Chris de Vidal, Brett Geer, and Carroll, Jim P. Many people asked for more details, and why I wanted a tar on the same hard drive. The reason is that I'm running Knoppix on a production server. There's about 12 gigs used of the 110gig drive. Another Hard drive is on the way, but in the mean time I like to have a working backup of the entire system (That's /, /cdrom, /KNOPPIX/, etc), because there are tons of undocumented symlinks (And because of the funky way that Knoppix handles symlinks in general) Peer1 charges me $7/gig, so doing offsite daily backups isn't very cost efficient This script does a good enough job of getting everything, and leaving what is useless. ---------------------------------------------------------- #!/bin/bash tar cpfv /mnt/hda1/backups/`date -I`-full_backup.tar \ --exclude /mnt/hda1/backups \ --exclude /proc \ --exclude /dev \ --exclude /KNOPPIX \ --exclude /cdrom \ / ---------------------------------------------------------- Planned Purchase: O'Reilly's Unix Backup & Recovery; http://www.oreilly.com/catalog/unixbr/index.html Thankyou to everyone who helped out. - Jeremy ----- Original Message ----- From: "Ambrose" <ambrose-pj/[email protected]> To: <linuxmanagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]> Sent: Monday, September 15, 2003 6:08 PM Subject: Tar filesystem backups > I want to tar/backup everything in / (ext3). I only have one hard drive at the > moment, and would like to keep an onsite backup, that is, keep the tgz on the > drive. What is the best way to do this? > > Thanks, > > - Jeremy _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers