From: pauls@locust.cic.net (Paul Southworth)
Subject: Re: Question about backups
Date: 3 Oct 1994 21:50:38 GMT [thread overview]
Message-ID: <36pubf$shc@spruce.cic.net> (raw)
In-Reply-To: 9410031922.AA04656@msdc.msdc.com
In article <9410031922.AA04656@msdc.msdc.com>,
Karl E. Liliestedt <osfmgt@msdc.com> wrote:
>1) Under OSF/1, cpio will not copy "special files" (i.e., device files
> like disks, tape, ttys, ptys, etc.). This is not particularly good
> when trying to backup a / partition. If a restore has to be done,
> then the person doing the restore has to remember which device
> files need to be remade.
Get GNU cpio and try that then. prep.ai.mit.edu:/pub/gnu/cpio-*.tar.gz
>2) If dump and restore are used, it is my understanding that I should
> take the system down to single user to get a reliable backup. Even
> though I am the only user on my particular development system,
> while running some tests I have had the experience of dump/restore
> resulting in a different number of inodes used and/or the total
> blocks used. I also have not figured out how to index the tape
> once the dump has been performed.
First, you're right -- dump under OSF/1 is extremely sensitive and
multi-user mode dumps (in my experience) result in tons of unrecoverable
files on the tape. We never had trouble on that scale with the Suns.
Second, the best way to index a dump archive, in my opinion, is to just
write the index to a file on the root directory of the partition you're
backing up before you back it up. Time stamp it in the filename for
easy identification during an interactive restore.
>3) The use of tar is out because it requires all of the file names to
> be specified on the command line and, with the number of files
> being backed up, it would probably exceed the number of arguments
> that tar can handle. This means something like "tar cf /dev/rmt0
> `cat filelist`" is out. Even if we decided not exclude some files,
> a "tar cd /dev/rmt0 ." command will also backup everything,
> including files on a different file system if that mount point is
> included in any directory being backed up.
I think you're wrong about this not being an option. Have you tried
using the "-I" include file syntax? If OSF/1 doesn't support it (not
sure offhand) then I'm sure GNU tar will, and GNU tar will handle
special devices too.
>Short of taking the Ultrix source we have for cpio and porting it to
>OSF/1, I am out of ideas.
That might not be so hard. Give it a try if the GNU utilities don't suit.
--
Paul Southworth
CICNet Systems Support
pauls@cic.net
prev parent reply other threads:[~1994-10-03 21:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-03 19:22 Question about backups Karl E. Liliestedt
1994-10-03 21:50 ` Paul Southworth [this message]
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