On Tuesday 09 November 2004 06:49 pm, Warren Block wrote: > On Tue, 9 Nov 2004, Odhiambo Washington wrote: > > Now instead of the above, I would like to pipe the output > > to be written to a CD-ROM mounted on the same box. I am > > hoping burncd or some other app can be used to do that: > > > > tar czf - / | burncd -arg1 arg2 blah... > > tar czf - / | burncd -e -smax data - fixate > > That just puts raw data on the CD, so you'll have to pull it off as a > file. You can use mkisofs to build an ISO filesystem so the CD will be > readable on other systems. See the man pages for burncd and mkisofs. > > > So every night I just mount a blank CD and let a cron job > > do the backup;) > > > > I know there could be gotchas, like when the CD is not empty, etc. > > tar has problems with special files; dump is better in that regard. > There are other problems, like the size limits of CD or DVD. > > -Warren Block * Rapid City, South Dakota USA This is what I use. Shell script attached. Basically it matches the files in: $BACKUP_DIR/$DATESTRING*.tar.gz It then creates and ISO file and burns to a CD, and fires off an email if the backup fails. It also incrementally adds stuff to a CD, so you can put in a blank CD and it'll keep adding stuff everytime the script is run until the space fills up, and then you'll get an email.
-- Anish Mistry
pgp5628aOicGf.pgp
Description: PGP signature
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"