Enterprise Manager Generic (MOSC)

MOSC Banner

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center