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;
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?
02-15-2002, 04:01 PM
Are u sure u remove the files, there should be another error accompanying this.
reuse option after file name.
02-15-2002, 05:15 PM
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.