Forum

Sql Backup Hatası
 
Bildirimler
Hepsini Temizle

Sql Backup Hatası

4 Yazılar
1 Üyeler
0 Likes
5,895 Görüntüleme
(@OlcayATLI)
Gönderiler: 135
Estimable Member
Konu başlatıcı
 

Sql Server 2012 standart kullanmaktayız.

Network üzerindeki bir path'e backup almaya çalıştığımda aşağıdaki hatayı almaktayız.

Normalde aşağıdaki path'e server üzerinden hatasız ulaşıp dosya kopyalayabilmekteyim.

Executing the query "BACKUP DATABASE [MYDATABASE] TO  DISK = N'\\\\1..." failed with the following error: "Cannot open backup device '\\\\1.1.1.1\\MYDATABASE_backup_2014_07_02_010002_3426834.bak'. Operating system error 5(Access is denied.).
BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
 

 

 
Gönderildi : 02/07/2014 12:42

(@OlcayATLI)
Gönderiler: 135
Estimable Member
Konu başlatıcı
 

Hocam komutu çalıştırdığımda aşağıdaki hatayı aldım.

Backup device olarak tanıtmadım direk pathi verdim.

 

Msg 3201, Level 16, State 1, Line 27
Cannot open backup device '\\1.1.1.1\backup\master_20140702.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 27
BACKUP DATABASE is terminating abnormally.
Msg 3147, Level 16, State 3, Line 27
Backup and restore operations are not allowed on database tempdb.
Msg 3013, Level 16, State 1, Line 27
BACKUP DATABASE is terminating abnormally.
Msg 3201, Level 16, State 1, Line 27
Cannot open backup device '\\1.1.1.1\backup\model_20140702.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 27
BACKUP DATABASE is terminating abnormally.
Msg 3201, Level 16, State 1, Line 27
Cannot open backup device '\\1.1.1.1\backup\msdb_20140702.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 27
BACKUP DATABASE is terminating abnormally.

 
Gönderildi : 02/07/2014 13:30

(@OlcayATLI)
Gönderiler: 135
Estimable Member
Konu başlatıcı
 

Hayır NT Service\MSSQL$TESTSQLSERVER olarak gözüküyor.

 

Path'in security ayarlarından Network Service'e full yetki verip denedim yine aynı hata.

 

 
Gönderildi : 02/07/2014 15:16

(@OlcayATLI)
Gönderiler: 135
Estimable Member
Konu başlatıcı
 

Sql Server servisini Log On kısmından "Network Service" e alıp Network üzerindeki backup klasörüne de Network Service için full yetki verdikten sonra

backup alabildim.

 

Teşekkürler.

 
Gönderildi : 02/07/2014 19:53

Paylaş: