From owner-freebsd-questions@freebsd.org Sat Sep 21 18:10:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61FD312B747 for ; Sat, 21 Sep 2019 18:10:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bJXD0Kqnz3L85 for ; Sat, 21 Sep 2019 18:10:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.202.13]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MLzeb-1iTXfB2Bo9-00I07k; Sat, 21 Sep 2019 20:09:56 +0200 Date: Sat, 21 Sep 2019 20:09:52 +0200 From: Polytropon To: Kurt Hackenberg 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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:gZrNlYpyJS2iuzeIESwer3ewX9D/VrGeeDsmMlcGO0u4K9612rC vbdCaZHFZcSUZbKAHEvBrUB2YlPjsNB1OCUg/oAfl2P3SrXqR3Ak8jprofxnwjrQY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jT8WYUDJc8oC/PGMh28c= X-Rspamd-Queue-Id: 46bJXD0Kqnz3L85 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[13.202.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.976,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.976,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.53)[ip: (1.86), ipnet: 212.227.0.0/16(-1.35), asn: 8560(2.13), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2019 18:10:05 -0000 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 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, ...