Date: Sat, 12 Jan 2002 18:10:23 -0600 From: "Mike Meyer" <mwm-dated-1011312624.a026db@mired.org> To: "Scott Gerhardt" <scott@gerhardt-it.com> Cc: <questions@freebsd.org> Subject: RE: Backup using TAR Message-ID: <15424.53359.628314.209877@guru.mired.org> In-Reply-To: <KPEMLBLEMPMHGLJOCDEGMECHDIAA.scott@gerhardt-it.com> References: <15424.48410.693069.562646@guru.mired.org> <KPEMLBLEMPMHGLJOCDEGMECHDIAA.scott@gerhardt-it.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scott Gerhardt <scott@gerhardt-it.com> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15424.53359.628314.209877>