Hi Chris, The idea is sane to start with, however i fail to see the point in using the loopback part. you can use mkisofs not only to create empty filesystems, but also to fill them up with all the files/folders in a (pre-build) tree. (saves you some trouble, suggest 'man mkisofs')
As a second point, if all fits on one cdr the only purpose of doing tar+gzip is to make several backups on once cdr. (perhaps this part can also be skipped). Last point: lifetime of cd-rw's IS MOST DEFINITLY NOT ENDLESS. i suggest you solve this in your backup plan, by using multiple cd-rw's and backuping every day, adding one new cd-rw every week and archiving the oldest cd-rw at the same time. Hope this helps, Nico ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <debian-user@lists.debian.org> Sent: Tuesday, June 19, 2001 2:26 PM Subject: opinions please: auto-backup to CDRW > Hi, > > I've been thinking about something over the last few > days and was wondering if it classifies as "sane" - > opinions please! > > I have about 500Mb of variable data (theres only 4 > console only users and we arent mp3 freaks!) and a > CDRW. Would it be worth setting up a script+cron > job to do the following nightly:- > > 1/ tar+gzip /home AND /etc AND /var/mail AND > /root/scripts > 1.a/ make sure it'll fit on a CD > 2/ make an iso file to fit files w/ mkisofs > 3/ mount image using loopback > 4/ put archives from (1) in image > 5/ erase CDRW w/ cdrecord > 6/ write image to cdrw w/ cdrecord > 7/ clean up. > > Do this nightly on a "7 disk cycle manually via changing > the disk before I go to bed and let it do it at 2am" (TM) > methodology ;) If I left the disk in and/or forgot, it'd > still backup the disk. I'd do a manual archive CD-R copy > once a week too (this is what I'm doing at the moment). > > I (unfortunately) dont know the life cycle of average CDRW > media (Sony to be precise), so I dont know if this is > practical. It's a bog standard 2.2r3 box btw running kernel > 2.2.something (I forget which!) > > Any suggestions/comments/flames etc? > > Cheers, > > - Chris. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com