From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,da432bc809a0ae08 X-Google-Attributes: gidfee84,public From: Phil Farrell Subject: Re: Why does restore produce "restoresymtable" file Date: 1996/10/18 Message-ID: <3267B6F1.4CC8@pangea.stanford.edu>#1/1 X-Deja-AN: 190340843 references: to: clos@ivory.trentu.ca content-type: text/plain; charset=us-ascii organization: Stanford University School of Earth Sciences mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01 (Macintosh; I; 68K) clos@ivory.trentu.ca wrote: > > We are using DEC Unix v3.2c on an Alpha 2100. I have found that after using the > "restore" command to re-load files there is an additional file created in the > target directory called "restoresymtable". Does any one know why this happens > and what the purpose of this file is? Does it have to be kept on the system > after the restore is completed? If you use the "-r" option to the restore command, it will create this file. This is a "checkpoint" file, which the restore command uses when you are restoring from multiple tapes. For example, suppose you had a level 0 (full) dump tape from a week ago and a level 1 (incremental) dump tape from yesterday and you need to restore the entire disk. You would run the "restore -r" command on the full dump tape first, and then on the incremental dump tape to pick up the latest changes. The restore command with the -r option assumes that additional restores may be coming and so creates that restoresymtable file as an aid to help the next restore command determine which directories or files need updating, creating, or deleting. The restore "-x" option does not create this file, because it assumes no further restores are coming. After you are finished restoring your disk, you SHOULD remove the restoresymtable file. You do not want this file to appear on your next dump backup. If a dump with that file is used for a future restore operation, the old restoresymtable file could end up overwriting the one that is being created at that time. -- Phil Farrell, Computer Systems Manager Stanford University School of Earth Sciences farrell@pangea.stanford.edu