Date: Sat, 21 Sep 2019 20:09:52 +0200 From: Polytropon <freebsd@edvax.de> To: Kurt Hackenberg <kh@panix.com> Cc: freebsd-questions@freebsd.org Subject: Re: multi-volume archives Message-ID: <20190921200952.456220b0.freebsd@edvax.de> In-Reply-To: <3fa9c2f7-adf5-66f0-8254-b99ddc9a7336@panix.com> References: <20190921063003.GA81956@admin.sibptus.ru> <20190921093801.4638945715fe79eb6a99b36f@sohara.org> <3fa9c2f7-adf5-66f0-8254-b99ddc9a7336@panix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Sep 2019 13:35:22 -0400, Kurt Hackenberg wrote: > On 2019-09-21 04:38, Steve O'Hara-Smith wrote: > > > On Sat, 21 Sep 2019 13:30:03 +0700 > > Victor Sudakov <vas@mpeks.tomsk.su> wrote: > > >> Which is now the most convenient way to create multi-volume archives? To > >> fit an archive on a FAT32 flash drive, a volume size should not exceed > >> 4g. > > > > Gnu tar (in ports/packages as gtar) has support for multi-volume > > splitting (-M) which by default prompts for the next volume to be installed > > (so you could write direct to the flash drive) or can use a script to > > generate the next volume filename. I vaguely recall using it a long time > > ago. > > You could also use dump, if you want to archive a whole filesystem. Dump > can write to multiple volumes, it handles everything in a Unix > filesystem, and it's fast. For multiple volumes, it would write directly > to the device, without filesystems. That is a good suggestion as long as you can get the source data partition-wise (usually equals one filesystem that can be subject to dump / restore). > If your memory sticks are larger than FAT can handle, you could put some > other filesystem on them, like UFS. I believe FAT32 limits a single file > to 2 GB. It's also slow. Even better, you could omit the filesystem altogether and use tar on the bare device (the "most universal cross-plattform filesystem"): tar c /dev/da0 ... tar x /dev/da0. And as it has already been suggested, GNU tar has the -M option for managing multiple volumes. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190921200952.456220b0.freebsd>