automatic backup problem
oracle version 10.2.0
I am taking RMAN backups automaticaly using os scheduler.
Am using batch file to connect RMAN and call X.rcv file to run the script.Now my problem is, i need to create a folder in the current date and make daily incremental backups in that particular folder.......
i created the folder namin current date in batch file but i dont know how to pass it to the .rcv file...
.rcv file content is
allocate channel c1 device type disk format='C:/backup/....currentdate foldername........../db_%U'
Any guidance plz.....
What format are you using for "current date"?
RMAN allows %D (day DD) %M (month MM) %Y (year YYYY) to specify a format.