Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Operating system error 1909 - database backup

$
0
0

Hi All, 

Iam trying to run the following on my Development SQL Server (2008):

DECLARE @strSQL NVARCHAR(2000)

SET @strSQL = 'RESTORE DATABASE MyDB FROM  DISK = N''\\ServerName\Backup\Somefolder\someDB_backup_2012_11_12_000101_1157397.bak'' WITH  RESTRICTED_USER, NORECOVERY, NOUNLOAD,        FILE = 1,       NOUNLOAD,      REPLACE,       STATS = 10'

EXEC SP_EXECUTESQL @strSQL 

I can run this on my other Development server without problems, but I get the following error message when trying to run from my current dev server:

"

 Operating system error 1909(The referenced account is currently locked out and may not be logged on to.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

"

So this statement is trying to restore a DB from a backup on a remote server location.

Iam not sure which Account this message is talking about, can someone please point me in the right direction?

Thanks a Ton.



Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>