Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 16:49:48 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Nightly backup using CD-ROM - how do i?
Message-ID:  <20041109164018.R266@wonkity.com>
In-Reply-To: <20041109133932.GB41233@ns2.wananchi.com>
References:  <20041109133932.GB41233@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041109164018.R266>