From owner-freebsd-questions Mon Oct 11 17:28:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 6B4B815729 for ; Mon, 11 Oct 1999 17:28:33 -0700 (PDT) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id CAA27366 for freebsd-questions@freebsd.org; Tue, 12 Oct 1999 02:28:33 +0200 (CEST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id CAA56717 for freebsd-questions@freebsd.org; Tue, 12 Oct 1999 02:03:27 +0200 (CEST) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: backup method reccommendation? Date: 12 Oct 1999 02:03:26 +0200 Message-ID: <7tttse$1nc2$1@bigeye.rhein-neckar.de> References: <19991009123827.E12733@uberhacker.org> <7tr8no$89m$1@bigeye.rhein-neckar.de> <19991011112242.R78191@freebie.lemis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > dump and restore are fine if you really only ever want to restore to > the same operating system. They're not portable across different > systems. I consider that an open question. Limited empirical evidence shows FreeBSD/Linux/Solaris dumps to be compatible. > For this reason, I prefer tar. The POSIX ustar format is rather limited. GNU tar uses extensions of its own that are *not* portable. A file name >100 chars is enough. Talk to Jörg Schilling if you want to learn just what a mess the tar format is. (If I wanted to use a tar-like program for backup purposes, I'd use cpio or pax. The SVR4 cpio format doesn't have the device and pathname limitations of the tar one, and it is reasonably portable, being understood by SVR4 cpio, BSD pax, and GNU cpio.) tar has difficulties handling sparse files (-S works pretty well but makes the archive non-portable of course), no built-in buffering, it touches the access time of all files, and the archive has no central index. > > tar as shipped with FreeBSD can't backup all devices in /dev. > Correct. The version in -CURRENT (and thus in a -RELEASE coming soon) > can do this, however. When has this been added? This is -CURRENT from a month ago: naddy@bigeye[~] tar -cf /dev/null -C / dev tar: dev/rsa0.ctl: minor number too large; not dumped It's my understanding that the minor number field in the GNU tar format is simply insufficiently sized to accommodate all possible FreeBSD device numbers. > > Customarily tapes are rewound at the end of the backup. > > That depends on what you ask for. I meant: customarily, the operator rewinds the tape at the end of the backup. > It's possible to remove a QIC tape without rewinding it, but DDS, > Exabyte and DLT all have to be rewound before you can remove them. I strongly suspect my QIC drive to rewind tapes when they are *inserted*, although I haven't exactly researched the issue yet. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message