backup db to remote server [message #394918] |
Mon, 30 March 2009 18:13 |
ruipedromachado
Messages: 1 Registered: March 2009
|
Junior Member |
|
|
hi
i have server1 and server2
server1 has oracle running
server2 as lots of disk space
i have created some scritps that backup the oracle database. i run them on server 1 with this rman parameters
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\FLASH_RECOVERY_AREA\RMAN_BACKUP_SETS\cf_%F';
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT = 'C:\FLASH_RECOVERY_AREA\RMAN_BACKUP_SETS\df0_%d_%s_%t';
CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
CONFIGURE MAXSETSIZE TO 10G;
this works just fine ....except for the fact that im running out of disk space .
know i change the parameters to goto server2 for storage .
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\server2\c$\FLASH_RECOVERY_AREA\RMAN_BACKUP_SETS\cf_%F';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT = '\\server2\c$\FLASH_RECOVERY_AREA\RMAN_BACKUP_SETS\df0_%d_%s_%t';
all the same only diference is the path .
now my problem is im always getting rman error saying access denied .
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/30/2009 21:54:06
ORA-19504: failed to create file "\\server2\C$\FLASH_RECOVERY_AREA\RMAN_BACKUP_SETS\DF0_TONY_1767_682898044"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
i have given all possible rigths to the destination folder . used domain admin account.olso in the same script if i include a simple OS copy c:\*.* \\server2\c$\...it copies without any problems .
im missing something !
any ideias ?
thks in advanced
|
|
|
|
|