Nightly backup using CD-ROM - how do i?

Odhiambo Washington wash at wananchi.com
Tue Nov 9 05:39:59 PST 2004


Hi,

I am sure I don't have to reinvent this wheel. I have a several FreeBSD
5.2.1 servers. They are all built the same. The disk is partitioned only
into / and swap.

It is so easy for me to backup an entire box by doing:

cd /
tar czf - / | ssh wash at backup.server 'cat Box1-backup.tgz'


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...

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.

Is anyone already doing this?

Are you willing to share the methodology?


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Your conscience never stops you from doing anything.  It just stops you
from enjoying it.


More information about the freebsd-questions mailing list