From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6bf4a98c219e58c0,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-03 14:52:09 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!decwrl!pa.dec.com!msdc!osfmgt@uunet.uu.net From: msdc!osfmgt@uunet.uu.net (Karl E. Liliestedt) Message-ID: <9410031922.AA04656@msdc.msdc.com> Reply-To: osfmgt@msdc.com (Karl E. Liliestedt) Subject: Question about backups Date: Mon, 3 Oct 94 15:22:32 EDT X-Received: by usenet.pa.dec.com; id AA29029; Mon, 3 Oct 94 13:32:21 -0700 X-Received: by pobox1.pa.dec.com; id AA29579; Mon, 3 Oct 94 13:32:15 -0700 X-Received: from relay3.UU.NET by inet-gw-1.pa.dec.com (5.65/10Aug94) id AA10536; Mon, 3 Oct 94 13:12:46 -0700 X-Received: from uucp7.UU.NET by relay3.UU.NET with SMTP id QQxkbg26309; Mon, 3 Oct 1994 16:11:24 -0400 X-Received: from msdc.UUCP by uucp7.UU.NET with UUCP/RMAIL ; Mon, 3 Oct 1994 16:11:30 -0400 X-Received: by msdc.UUCP (smail2.5.3-coh) id AA04044; 3 Oct 94 15:30:25 X-Mailer: Mail User's Shell (7.0.4 1/31/90) X-To: comp.unix.osf.osf1.usenet@decwrl.dec.com 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)