Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: msdc!osfmgt@uunet.uu.net (Karl E. Liliestedt)
Subject: Question about backups
Date: Mon, 3 Oct 94 15:22:32 EDT	[thread overview]
Message-ID: <9410031922.AA04656@msdc.msdc.com> (raw)

The company I work for is currently in the process of porting from DEC
Ultrix to OSF/1 Version 2.0 running on a pair of DEC Alpha APX 3000
model 300 and a DEC Alpha 4000 model 610.

One of the problems that we are having is converting our backup
procedures.

Under our current Ultrix system, we execute a find command to obtain a
listing of all of the files for the particular mount point we desire to
backup. After this list is obtained, specific files are then removed
from the list (core files, certain system logs, etc) which need not be
backed up. This list is then passed to cpio and piped through a dd
command to a tape. After all of the files have been loaded to the tape,
the tape is then reread to create an index of the files actually on the
tape. All of this is done because this is a medical patient care
system with users on the system at all times so we cannot take the
system down just to perform backups. This procedure has worked fine
for the past 10 years.

While porting to OSF/1, we have encounted some difficulties.

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.

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.

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.

Short of taking the Ultrix source we have for cpio and porting it to
OSF/1, I am out of ideas. Does GNU have a stable version of cpio that
handles special devices and is it ported to OSF/1? If so, where is it
available?

I'm hoping somebody else has run across this type of problem and has
come up with a reasonable solution which I can implement.

Thanks in advance for any help you can offer!

	Karl Liliestedt (osfmgt@msdc.com)


             reply	other threads:[~1994-10-03 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-03 19:22 Karl E. Liliestedt [this message]
1994-10-03 21:50 ` Question about backups Paul Southworth
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