Hi,
Before I take my hot backup, I have a script that logs on to the server and removes all the old backup files in the backup directory.
NOTE: The script logs onto the sever as ROOT
After all the backup is done, I have a script that makes copies of the control file. The first copy of the control file copy command works,
but the second gives me an error like I have below:
alter database backup controlfile to trace;
database altered
alter database backup controlfile to '/backups/PRDDB/prddb_control_file_copy'
ORA-1580 signalled during: alter database backup controlfile to '/backups/PRD...
Does any one know why this error occurs even though it's removed before the back starts?
Since you issued a rm -r /backups/* command it would have deleted the subdirectory. You are trying to create the controlfile backup in /backups/PRDDB/. First create subdirectory PRDDB and then issue the command.
Bookmarks