Restoring from Hot Backups?
Date: 1995/10/08
Message-ID: <4588vj$so$1_at_mhafm.production.compuserve.com>#1/1
P.S. For those who have the "Oracle DBA Handbook" and are trying or have tried the hot backup script it contains: be careful of punctuation. The line of the script which is intended to set FILES equal to the results of an ls command when you have temporarily stopped the archive logs is tricky. Because of the typeface used in the book, one might think that those little tick marks which surround the command are apostrophes when they really should be grave accents ("backquotes"). If apostrophes are used, the ls command will not be run at the right time (or at all, actually). Instead, the name "ls" AND the wild-carded archive-log name will make it to your tar command, and thus ALL archive logs will be backed up (including the ones from when you turned archive logging back on again). Another sign of this will be the message "tar: could not stat ls" in your mail after the hot backup script has run. This occurs because tar is trying to find a file "ls" in your current directory and, of course, there isn't one. Again, all of this can be prevented by looking more carefully at the script and using grave accents in the FILES= line. Of course, be sure to use apostrophes, and NOT grave accents, in the line which writes out the backup controlfile. Received on Sun Oct 08 1995 - 00:00:00 CET