*BSD News Article 77175


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!netaxs.com!tezcat!cam-news-hub1.bbnplanet.com!uunet!in2.uu.net!news.interactive.net!onyx.interactive.net!not-for-mail
From: ritz@onyx.interactive.net (Chris Mauritz)
Subject: Re: Best way to copy directory trees
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960817]
X-Nntp-Posting-User: ritz
Sender: news@interactive.net (System Administrator)
Content-Transfer-Encoding: 8bit
Organization: IBS Interactive, Inc.
Lines: 35
Message-ID: <Dwwn9n.6MA@interactive.net>
References: <ts-0108961559090001@mac.infodirekt.de> <gergDvH52n.6K9@netcom.com> <4vqhm8$ol7@herald.concentric.net> <MICHAELV.96Aug26221506@MindBender.serv.net> <500uju$khm@uriah.heep.sax.de>
Mime-Version: 1.0
X-Trace: 841331146/8331
X-Nntp-Posting-Host: onyx.interactive.net
Date: Thu, 29 Aug 1996 15:05:47 GMT

J Wunsch <j@uriah.heep.sax.de> wrote:
: michaelv@MindBender.serv.net (Michael L. VanLoon) wrote:

: > 	   yes, I usually use cpio like above:
: > 	   find dir0 -print | cpio -pldumv dir1
: > 
: > The most common sysadmin method, AFAIK, is the dual-tar:
: > 
: > 	tar cpf - . | ( cd /somedir/ ; tar xpf - )

: Keep in mind that both tools have serious shortcomings that can become
: very important on 4.4BSD systems.

: . tar cannot handle long path names (old tar 100 characters, newer
:   tar's 255 characters, the system allows for at least 1024 characters)

: . tar cannot handle 32-bit dev nodes

: . cpio can only handle 32-bit dev nodes when using -H newc or -H crc
:   archive formats (which are not understood by old cpio's); this is
:   not a problem with cpio -p, but only for exchanging archives
:   between machines.

I'm not sure I understand why folks don't just use dump and restore?
If you're backing up between disparate operating systems, I would
understand using something like tar/pax/cpio, but on a group of
BSD4.X boxes I personally think dump/restore makes more sense.

Chris

-- 
Christopher Mauritz         | For info on internet access:
ritz@interactive.net        | finger/mail info@interactive.net OR
IBS Interactive, Inc.       | http://www.interactive.net/