From: bqt@Krille.Update.UU.SE (Johnny Billquist)
Subject: Re: system backups
Date: 14 Mar 1994 22:05:05 +0100 [thread overview]
Message-ID: <2m2jif$2r1@Krille.Update.UU.SE> (raw)
In-Reply-To: 1994Mar13.185126.6276@belvedere.sbay.org
In <1994Mar13.185126.6276@belvedere.sbay.org> root@belvedere.sbay.org (David E. Fox) writes:
>In article <2lqinj$9h1@miracle.falconmicro.com> you wrote:
>[I emailed the poster on this one, but figured it might be of sufficient
>interest to others to warrant posting.]
>: I am a new unix user (coming from the VMS world) and have had 3 Alpha
>: OSF 1.3 systems put into my care. I am trying to set up a good backup
>: strategy but I am not really sure what is the best type of backup to do
>: (dump, tar, cpio, dd, etc....). Each system has the capability to do
>The biggest difference between dump and tar/cpio is that dump does an
>image backup of the filesystem(s). In essence, it takes the binary state
>of your hard disk partition(s) and writes that to tape. If you restore
>the tape, you get (or you should get) an exact copy of that state back.
>On the other hand, tar/cpio do file-by-file backups.
>IMHO, tar/cpio is easier if you need to restore just one directory or
>a few files from your backup. With dump, you have to restore the whole
>thing. Even if you do wish to restore the whole thing, tar/cpio may
>be more effective than dump because they will copy the files onto the
>(new) filesystem in a (possibly) more optimal layout, but dump will just
>restore the files on the disk in the state they were in when you ran
>dump.
Sorry, but you are wrong. restore (the companion to dump) doesn't do
an image restore, but goes through the normal filesystem, so the
files are rearranged with dump as well.
Also, dump can also restore specific files.
The one big advantage with dump is that you backup a *partition*,
not a filesystem.
If you want a backup of the root partition, neither cpio, nor tar
will do it for you in a graceful way, dump will.
The problem with dump is that if the filesystem is modified during the
dump, the dump can become corrupted.
So, it is recommended that the system is brought down in standalone
before using dump. This is a pain.
Another advantage with dump is that is is very easy for incremental
backups as well. It's all in there.
>I recommend using tar for full backups, and cpio for incremental backups,
>because cpio accepts a list of filenames on stdin that it will backup. This
>allows one to put a time-stamp file somewhere (like /etc/backup) and a
>find / -newer /etc/backup would give all files newer than the time-stamp file,
>which you'd pipe into cpio.
IMHO, there is no real good backup program under UNIX, and if you come
from VMS, you will really notice this.
Johnny
--
Johnny Billquist || "I'm on a bus
CS student at Uppsala University || on a psychedelic trip
email: bqt@minsk.docs.uu.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
next prev parent reply other threads:[~1994-03-14 21:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-03-11 20:01 system backups G. Bongers
1994-03-12 5:49 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-03-13 18:51 ` David E. Fox
1994-03-14 15:08 ` Martin Walker
1994-03-14 18:26 ` Mike Iglesias
1994-03-14 21:05 ` Johnny Billquist [this message]
[not found] ` <COWELL.94Mar16054927@duncan.cs.utk.edu>
1994-03-16 11:58 ` Gyula Szokoly
1994-03-17 12:49 ` Thad Floryan
1994-03-17 17:34 ` Ted Levie~
1994-03-18 13:18 ` Thad Floryan
1994-03-17 17:43 ` Ethan A Merritt
1994-03-18 13:24 ` Thad Floryan
1994-03-18 18:56 ` Richard Tsumaki
1994-03-17 18:07 ` Matthew Liggett
1994-03-18 13:21 ` Thad Floryan
1994-03-18 16:32 ` Lawrence MacIntyre
1994-03-17 19:38 ` Leslie Mikesell
1994-03-18 13:19 ` Thad Floryan
1994-03-14 21:13 ` Jon Mauney
[not found] ` <2m2jif$2r1@krille.update.uu.se>
1994-03-15 6:29 ` Leslie Mikesell
1994-03-15 18:14 ` Carl J Appellof
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