From owner-freebsd-questions Wed Oct 17 10:24:38 2001 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 D408437B401 for ; Wed, 17 Oct 2001 10:24:32 -0700 (PDT) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 7D8D5BCF7; Wed, 17 Oct 2001 10:24:32 -0700 (PDT) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id KAA26922; Wed, 17 Oct 2001 10:24:32 -0700 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id f9HHNPl37383; Wed, 17 Oct 2001 10:23:25 -0700 (PDT) (envelope-from swear@blarg.net) To: Nils Holland Cc: freebsd-questions@FreeBSD.ORG Subject: Re: System Backup To CD-R References: <200110170943.f9H9hUd00554@howie.ncptiddische.net> From: swear@blarg.net (Gary W. Swearingen) Date: 17 Oct 2001 10:23:24 -0700 In-Reply-To: <200110170943.f9H9hUd00554@howie.ncptiddische.net> Message-ID: Lines: 33 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 > > Any suggestions are appreciated! > (I'll assume that your "CD-R" means "CD-Read/Write".) Last time I did it, I had enough separate partitions that, with compression, the largest one fit on a CD. If you've enough free disk space, I think you could put your compressed archive on the hardisk and use "split" to make CD-sized chunks. You could even do it without any extra disk space, but you'd need a fast system to feed the CD writer quickly enough and probably wouldn't be able to compress it for the same reason. I'm not certain about "burncd", but when I was playing with "cdrecord" (worked with ATAPI on Linux; SCSI-only on FreeBSD) you could save any kind of data to the CD, not just ISO files. Probably, "burncd" is the same, so you don't have to make an ISO file for the CD. My ISO burning script has this which you might want to use to "verify" your backup, unless you want to verify all the way back to the original thousands of disk files. if dd if=/dev/acd0a count=${blocks} bs=${blocksize} | diff - ${file}; then echo "NOTICE: Comparison OK. The CD seems OK." else echo "ERROR: The CD and file differred." fi You have to get the "blocks" off the "file", because "burncd" tends to put more on the CD than it gets out of the file even when its size is an even multiple of the CD block size (2k). (I don't know why. It's not related to hard disk block size.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message