Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: thad@netcom.com (Thad Floryan)
Subject: Re: system backups
Date: Thu, 17 Mar 1994 12:49:11 GMT	[thread overview]
Message-ID: <thadCMt7Lz.BuC@netcom.com> (raw)
In-Reply-To: 2m6s9hINNkvo@jhunix.hcf.jhu.edu

In article <2m6s9hINNkvo@jhunix.hcf.jhu.edu>
szgyula@skysrv.pha.jhu.edu (Gyula Szokoly) writes:

|   Rumours said that in some case you can loose (i.e. no way to restore it)
| whole directory trees.
|   Again rumours, but somebody did test the different backup methods (tar, cpio,
| dump, etc.). None of them works in multiuser mode. They can reproduce errors
| for every method.
|   So it's a real pain. The suggestion that every backup should be done
| in single user mode is insane. We just can't do that. Not even once a month.
| Good old VMS (probably RSX, too) was able to do backups. It was 20 years
| ago? Unix still could not catch up :-(.
|   What to say? If you believe in God -- pray and do backups on hot systems,
| but be prepared that you might not be able to restore it. This is my only
| option. There is work that needs to be done on the machine (proxesses running
| for weeks).
| 
| Just my opinion,

Right (re: opinion).  So let's set some facts straight.

For a detailed discussion of dump(8) problems with live filesystems, I refer
you to "Analyzing Backup Systems" by Elizabeth Zwicky (zwicky@erg.sri.com),
dated May 16, 1993.  I got my copy by ftp'ing to erg.sri.com.  Her report is
PostScript-printer-ready, so look for a *.ps file.

VMS arrived on the scene in 1978, so it hasn't been 20 years.  VMS' file
system has an entry for date/time of file backup.  VMS' file system does NOT
have an entry for file last access date/time (this is a serious blunder (at
least including everying up to but not including VMS 6.*))

UNIX' dump(8) in level 0 is analogous to VMS' image disk backup (which _must_
be run in "single-user" [standalone] mode).

UNIX file systems have entries (in the inode) for change, modify and access
date/times.  The main problem with all UNIX filesystems I've seen is the
total, absolute lack of backup cognizance in the file system.  Not even a
"file archived" bit exists.

Note even the Amiga OS has a bit indicator for each file in its filesystem that
can be set/tested/changed by backup software.

The best OS I've seen for backup/restore operations is TOPS-20 which not only
had the equivalent of change, modify and access date/times, it had TWO backup
date/times for each file's filesystem entry.  Thus, a file could be assured to
appear on two incremental backups (assuming a diligent operations staff).  And
there were many other backup-related tidbits in its filesystem entries.

The only reasonable workaround I've encountered for UNIX is an application-
based database keeping track of all files' backup status.  Simply using a
timestamp file with find piped to cpio won't do it for files newly restored
from tape whose dates are prior to the timestamp file's date.

As far as problems using restore(8) with tapes dumped on a live filesystem,
the only problem I've personally encountered dealt with hard linked files
(they weren't restored properly; fortunately (for me) I was able to rdist
them from an adjacent system).

Frankly, the only real gripe I've ever had with UNIX is its lack of built-in
backup-status cognizance.  I *like* UNIX, and all my home computers are UNIX
systems from a variety of vendors.

For my systems, every Sunday they go single-user for automated DAT-based
backups using dump (while I'm out doing things in the real world), and every
weekday night incremental backups are made with a cpio-based script (which
I've posted many times), and in all the years I've never had any problems with
this backup strategy.  And, yes, I have had occasion and need to restore from
both the dump(8) and cpio backups due to occasionally neglecting to remember
that the RETURN key is the most dangerous command in UNIX!  :-)

If you have "work that needs to be done on the machine (proxesses [sic]
running for weeks)", what do you do about power failuers?  For that reason
alone, your programs/software should do checkpoints so it can be restarted at
the checkpoint after unscheduled service interruptions.  Surely you don't
just restart a weeks-long run from the beginning every time!  Or do you?

Thad Floryan [ thad@btr.com, thad@cup.portal.com, thad@netcom.com ]


  reply	other threads:[~1994-03-17 12:49 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
     [not found]     ` <COWELL.94Mar16054927@duncan.cs.utk.edu>
1994-03-16 11:58       ` Gyula Szokoly
1994-03-17 12:49         ` Thad Floryan [this message]
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