1,On the machine where you wish to write the files to, create a shared drive granting the user 'Administrator' FULL Control.
2,Make sure that the Oracle services for the TARGET DB need to be reconfigured to logon using an Administrator account (preferably a Domain Administrator).
3,C:\>rman target / nocatalog;
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 2;
RMAN> configure controlfile autobackup on;
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
RMAN> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
4, Make sure that the database is running in ARCHIVELOG mode.
If database is running in NON ARCHIVELOG Mode. run the following command:
SQL> shutdown immediate;
SQL> startup mount;
SQL> alter database archivelog;
SQL> alter database open;
5,Connect to OEM using sysdba and then click the 'Maintenance' link, click 'Schedule Backup'. Configure the 'Schedule Customized Backup' step by step till the last step.
Modify the RMAN scripts to like the following:
backup device type disk tag '%TAG' database include current controlfile format 'D:\Oracle\product\10.2.0\backup\R1020CN\%U','\\zhzhao-cn\sharefolder\backup\%U';
backup device type disk tag '%TAG' archivelog all not backed up;
delete noprompt obsolete device type disk;
Oracle远程备份 - Windows
最新推荐文章于 2024-02-05 08:41:52 发布