RMAN database Daily backup script (for Windows) Example: RMAN backup Daily orawin Database: 1, new backup. cmd: www.2cto.com set oracle_sid = orawinrman target/nocatalog partition file = F: Scriptorawinbackupfull. SQL log = F: Scriptorawinbackupfull. log append 2: Create backupfull under the path specified in the previous step. SQL: run {set command id to 'rman '; allocate channel dev1 type disk; backupformat 'f: rmanbakorawindf % s _ % p _ % t' database include current controlfile; SQL 'alter system archive log cu Rrent '; SQL 'alter system archive log current'; delete noprompt obsolete; backupfilesperset 20 format 'f: rmanbakorawinLogar % s _ % p _ % t' (archivelog until time' (SYSDATE-1) 'All delete input); delete noprompt obsolete; release channel dev1;} 3. Open the control panel, add a daily plan, and set the time. Www.2cto.com