1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Changing pre- postschedules on same node?

Discussion in 'Backup / Archive Discussion' started by Ratgen, Mar 14, 2012.

  1. Ratgen

    Ratgen New Member

    Joined:
    Oct 11, 2011
    Messages:
    7
    Likes Received:
    0
    Occupation:
    System Administrator
    Location:
    Denmark
    Hi everyone,
    Im having a server with a rather large Oracle database.
    The server neeeds a full DB backup once a day and log fil backup every 4 hours.

    I would like to use the preschedulecmd and postschedulecmd to tricker a RMAN to do its backup to disk. This part is under controle.

    The problem now, is how to use different preschedulecmd scripts to do the DB and log backup? I can make different schedules for the log and DB backup, but how do i change the pre- postschedule commands?

    Do i really have to use 2 different clients on the same server in order to have different pre- post- scripts executed?
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,222
    Likes Received:
    279
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Use conditional scripts for the pre and post commands.
     

Share This Page