Scheduling custom backups
I'm sure this has been covered, but I can't find what I'm looking to do.
It's pretty simple, all I want is for the script to create a new directory of the current date and place the new backup inside that directory.
For instance, it would create:
/u01/backup/<SID>/YYYYMMDD/<backup files>
I thought I could use the %T variable in the rman script, but it fails since the directory doesn't already exist.
I could easily create a cron job to create the directory on a daily basis, but I'd like it all contained inside the scheduled job.
I'm using the Oracle Enterprise Manager 11g DB console to try to set this up.
For instance, it would create:
/u01/backup/<SID>/YYYYMMDD/<backup files>
I thought I could use the %T variable in the rman script, but it fails since the directory doesn't already exist.
I could easily create a cron job to create the directory on a daily basis, but I'd like it all contained inside the scheduled job.
I'm using the Oracle Enterprise Manager 11g DB console to try to set this up.
0