From owner-freebsd-questions Sat Jan 12 16:10:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id 6454537B41E for ; Sat, 12 Jan 2002 16:10:25 -0800 (PST) Received: (qmail 69734 invoked by uid 100); 13 Jan 2002 00:10:24 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15424.53359.628314.209877@guru.mired.org> Date: Sat, 12 Jan 2002 18:10:23 -0600 To: "Scott Gerhardt" Cc: Subject: RE: Backup using TAR In-Reply-To: References: <15424.48410.693069.562646@guru.mired.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.43 (Python 2.2; freebsd-4.4-STABLE-i386) 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 Scott Gerhardt types: > > > Can dump be used to write to a file which can then be > > written to CD-ROM? > > > > Well, I've never tried writing the file directly to the CD-ROM, but > > always put them in ISO file systems, which works just fine. I'd > > recommend doing the same for files from tar as well. dump helps with > > that by having options to automatically create multiple output files > > of a fixed size, which I use for full backups of files systems that > > have more than one CD's worth of data. > > > > > I can't seem to get dump to do what I want. > What would be the proper dump command to dump a file system to a series of > files which are no larger than 650MB in size? > > I tried the following command to see if dump would create a series of 10MB > files when dumping the /usr filesystem, but I keep getting prompted to > insert another volume once the 10MB limit is reached. > > dump -0u -B10000 -f /usr/archive/test_dump_usr /usr > > Any suggestions to automate this? You need to give it a list of file names to use: # mkdir /usr/archive/test_dump_usr # dump -0u -B10000 -f 1,2,3,4,5,6,7,8,9 /usr Will get 9 10MB files, and then it will start prompting. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message