Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Backup to Windows share fails: Access Denied

FredCJun 10 2008 — edited Jun 10 2008

Windows Server 2003
Oracle 10.1.0.3

We had functioning backups to the local disk, and decided to send them to a shared folder on another server instead. The RMAN commandfile now looks like this:

run {
allocate channel c1 type disk;
backup
  as compressed backupset
  incremental level 0
  skip inaccessible
  filesperset 20
  format '\\otherserver1\d$\rman\MYDB_%s_%p_%t_RMAN.dbf'
    (database include current controlfile);
release channel c1;
}

This is the error we now get:

RMAN-03009: failure of backup command on c1 channel at 06/10/2008 14:11:12
ORA-19504: failed to create file "\\OTHERSERVER1\D$\RMAN\MYDB_1439_1_657036668_RMAN.DBF"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.

Yes, the user under whom I am running the backup has full permissions on the share. I can verify this by running the following from the command line:

echo hello world > \\otherserver1\d$\rman\test.txt

What could be wrong? Is the RMAN run block syntax incorrect for Windows?

If I map \\otherserver1\d$\rman to a drive letter, I get a different error:

RMAN-03009: failure of backup command on c1 channel at 06/10/2008 13:18:17
ORA-19504: failed to create file "K:\MYDB_1431_1_657033495_RMAN.DBF"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

I'm stumped. Is RMAN running as some different user? The system user perhaps?

Thanks

Fred

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2008
Added on Jun 10 2008
2 comments
6,645 views