Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: maarten@fwi.uva.nl (Maarten Carels)
Subject: Re: Remote backup using tar?
Date: 26 Jul 1993 17:15:38 +0200	[thread overview]
Message-ID: <230seq$314@kubus.fwi.uva.nl> (raw)
In-Reply-To: 1993Jul25.170846.11585@desire.wright.edu

ejones@desire.wright.edu (Ed Jones) writes:
>I have several unix boxes, DEC3400s and DECstation 5200s, that I want
>to backup the file systems to an Exabyte 8mm drive on the DECstation.
>I want to use tar rather than dump. So, how do I do a backup of file systems
>on the Alpha to a tape drive on the DECstation using tar? Thanks
>for the help.
[ ... several followups about gnu tar...]
One small thing to remember is that tar reads and writes the files it copies
byte by byte (or buffer by buffer). This means that:
1. tar can't cope with special files (devices and the like)
2. tar copies files with holes as files with the holes filled up with 0 bytes.

This makes tar (IMHO) unsuitable for backup. Use dump instead (rdump can write
to a tapeunit on another host).

With respect to 2, imagine one user makes a file by creating it, seeking to
some very large position, and writing only one byte there. If you backup
that file with tar, I guess that after writing several tapes full you'll
know what I mean. I know it was that hard to explain that tar is not a backup
program at at least one site, where a user actually did this. When there were
many more tapes written than possibly could have been on the disk, the 
system administrator started to understand...

--maarten

-- 
In real life:	Maarten Carels
		Computer Science Department
		University of Amsterdam
email:		maarten@fwi.uva.nl


  parent reply	other threads:[~1993-07-26 15:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-25 22:08 Remote backup using tar? Ed Jones
1993-07-26  2:26 ` Johannes Grosen
1993-07-26 12:49   ` Kevin McElearney
1993-07-26 13:23 ` Marcus J. Ranum
1993-07-26 15:49   ` Sybertz Marc
1993-07-27 14:27   ` Leslie Mikesell
1993-07-26 15:15 ` Maarten Carels [this message]
1993-07-26 22:54   ` Richard Todd
1993-07-27 14:51   ` Leslie Mikesell
1993-07-28 19:41   ` David Willmore
1993-08-03 17:07   ` Matthew B. Brookover
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox