From owner-freebsd-questions Sun Jan 13 11:29:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 487CD37B402 for ; Sun, 13 Jan 2002 11:29:27 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id EC9F9BD14; Sun, 13 Jan 2002 11:29:26 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA32426; Sun, 13 Jan 2002 11:29:26 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g0DJWII03559; Sun, 13 Jan 2002 11:32:18 -0800 (PST) (envelope-from swear@blarg.net) To: Kevin Brunelle Cc: questions@FreeBSD.ORG Subject: Re: HOWTO -- backup onto CDRs? References: <20020113042510.87902.qmail@web10402.mail.yahoo.com> From: swear@blarg.net (Gary W. Swearingen) Date: 13 Jan 2002 11:32:18 -0800 In-Reply-To: <20020113042510.87902.qmail@web10402.mail.yahoo.com> Message-ID: <0ed70exd19.70e@localhost.localdomain> Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kevin Brunelle 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