Home » RDBMS Server » Backup & Recovery » RMAN Backup to UNC Path (Oracle 12c R1)
RMAN Backup to UNC Path [message #677678] Fri, 04 October 2019 10:29 Go to next message
JValentine
Messages: 3
Registered: October 2019
Junior Member
Going out on a limb here to see if anyone might have an explanation for the issue I am seeing.

From a test environment I can put in a UNC path for the RMAN backup location and it works just fine. From another environment I get the following error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 10/02/2019 14:09:29
ORA-19504: failed to create file "\\SERVER02\IFSBACKUP\RMAN\PROD_20191002_23_1.BAK"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 1326) Logon failure: unknown user name or bad password.
Recovery Manager complete.

I didn't know if there is some other parameter or setting that is allowing one database to use the UNC path and another not to use it. I can navigate to the path from the server and create new files, so....

-Jeff
Re: RMAN Backup to UNC Path [message #677679 is a reply to message #677678] Fri, 04 October 2019 10:33 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

The instance or listener owner must have the privileges to access the network and to access this UNC path.
Check which account is launching these services.

Re: RMAN Backup to UNC Path [message #677681 is a reply to message #677679] Fri, 04 October 2019 11:30 Go to previous messageGo to next message
JValentine
Messages: 3
Registered: October 2019
Junior Member
Thanks, I have discovered that the service is running as a local server user account rather than the Local System Account. I will have to check into what is needed and required to switch this back to the Local System account.
Re: RMAN Backup to UNC Path [message #677682 is a reply to message #677681] Fri, 04 October 2019 11:54 Go to previous messageGo to next message
John Watson
Messages: 8960
Registered: January 2010
Location: Global Village
Senior Member
Local system is probably no good: it wouldn't usually have any privileges on a remote machine. Domain users are probably the best way to work as (if I am correct - I am not very good with Windows security) they are the same on all machines and can be granted privileges appropriately.
Re: RMAN Backup to UNC Path [message #677683 is a reply to message #677682] Fri, 04 October 2019 11:58 Go to previous message
JValentine
Messages: 3
Registered: October 2019
Junior Member
The database that does properly backup to the UNC location is using the Local System account, so changing to that on the other database should work just fine. I just need to know if changing those services has any hidden side effects or not. I have been used to running Oracle on Linux instead of Windows.
Previous Topic: RAM
Next Topic: Usage of RMAN
Goto Forum:
  


Current Time: Thu Nov 21 11:56:27 CST 2024