From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 13:39:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2374C16A4CE for ; Tue, 9 Nov 2004 13:39:59 +0000 (GMT) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC9B243D39 for ; Tue, 9 Nov 2004 13:39:50 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.42 #0 (FreeBSD 4.10-STABLE)) id 1CRWDc-000H5r-Vt by authid for ; Tue, 09 Nov 2004 16:39:33 +0300 Date: Tue, 9 Nov 2004 16:39:32 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20041109133932.GB41233@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.6i (2004-02-01) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.6i Subject: Nightly backup using CD-ROM - how do i? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 13:39:59 -0000 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@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 -- +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ Your conscience never stops you from doing anything. It just stops you =66rom enjoying it.