Skip site navigation (1)Skip section navigation (2)
Date:      13 Jan 2002 11:32:18 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        Kevin Brunelle <frobbnicate42@yahoo.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: HOWTO -- backup onto CDRs?
Message-ID:  <0ed70exd19.70e@localhost.localdomain>
In-Reply-To: <20020113042510.87902.qmail@web10402.mail.yahoo.com>
References:  <20020113042510.87902.qmail@web10402.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Brunelle <frobbnicate42@yahoo.com> writes:

> Hello world,
> 
> I was wondering how I would backup all of my files
> onto CDs.

A usually-trustworthy poster tells us that the method most likely to
work without bugs involves dump/restore instead of tar/pax/cpio/afio
(though people use them).

I'm guessing you'd want to do the following somewhere with lots of room,
where "X" is the filesystem mount point.

dump -0u -B716800 -f 1,2,3,4,5,6,7,8,9 X

Repeat for each filesystem, using different filenames.

You should be able to burn those files directly to the CD as long as the
filesizes are multiples of 2K (maybe "-b 2" would help), without using
"mkisosfs". (I've done so with "afio" archives.)

For small filesystems, you could use "mkisofs" to combine some archives.

Note that I haven't done this myself yet, so check the man pages first.

Someone with a low CD budget might write a script which does this:
  -- on each specified fs, run dump | gzip >file
  -- pack files (using "split" and "mv") into CD-sized directories and
     run mkisofs on them.
  -- prompt the user for CD, burn it, repeat

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ed70exd19.70e>