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

Thread: database backup

  1. #1
    Join Date
    Jun 2001
    Posts
    316
    Hi,
    Does any1 have a script for a db on sun machine that takes backup by shutting down the db,if its mounted..and take the backup and after the backup has been taken strats the db again?
    version:8.1.7

    thanx

  2. #2
    Join Date
    May 2001
    Location
    Cape Town, South Africa
    Posts
    52
    Hi
    write a cron job to execite dbshut and the write your databse to tape or wherever and then execute dbstart
    su - oracle -c dbshut
    {perform backup}
    su - oracle -c dbstart
    "make sure you have set your database to shutdown abd startup automaticaly in the /etc/oratab file.
    ie {SID}:{ORACLE_HOME}:Y

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    There are a ton of great backup scripts at http://dbasupport.com/oracle/scripts...y/Cold_Backup/
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

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