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

Thread: Cold Backup

  1. #1
    Join Date
    Jan 2001
    Posts
    1

    Unhappy

    Dear all,
    I need guidelines how to perform a cold backup and which one command is better between tar and cpio ? For 23GB db size , is there any good estimated time to backup it ?

    TQ

  2. #2
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    1. shutdown the db
    2. copy controlfile, redo log files, all dbf files to a cold backup destination.
    I believe tar might be better. As far as the time is concerned, it's a bit difficult to estimate it. Using the 'cp' command, it might take about an hour. Dunno how long it would take using the 'tar' command.

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    In order to get a successful cold backup you need to:
    1. shutdown the database (normal or immediate)
    2. copy all data files
    3. copy all redo log files
    4. copy all control files
    5. copy all archived redo log files
    6. copy the init.ora file (optional, but I like to do it)
    7. copy the password files (optional, but I like to do it)
    8. copy the $ORACLE_HOME directory (optional, once a week will suffice)

    If you are adhering to OFA guidelines, you probably just will have to backup your mount points.

    The method you use to backup your data (tar/cpio) depends on what you are most comfortable with. The time it takes to backup is highly dependant on the number of tape drives, how fast your hardware is, etc.
    Jeff Hunter

  4. #4
    Join Date
    Feb 2000
    Posts
    175
    Hi,

    If the database is shutdown properly and is therefore consistent why do you need to backup the redo logs????

    Moff

  5. #5
    Join Date
    Oct 2000
    Posts
    33
    Because it 's always good to have them on tape...

  6. #6
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    What happens if your tape is bad at the system01.dbf file? You have to go back to yesterday's cold backup and apply the archived redo logs...
    Jeff Hunter

  7. #7
    Join Date
    Feb 2000
    Posts
    175
    Hi,

    I agree with backing up the ARCHIVE redo logs but what is the point in backing up the redo logs (maris89's point 3) all data in the redo logs should of been archived during the shutdown.

    Moff

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