DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: ORA-1580 in hot backups

  1. #1
    Join Date
    Mar 2001
    Posts
    82

    Unhappy

    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

    e.g

    rm -r /backups/*
    rm -r /backups/PRDDB/prddb_control_file_copy

    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?

  2. #2
    Join Date
    Feb 2001
    Posts
    389
    Are u sure u remove the files, there should be another error accompanying this.
    try
    reuse option after file name.

  3. #3
    Join Date
    Jan 2001
    Posts
    126
    Hi,

    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.

    Baliga

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width