You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/virtual-machines/windows/backup-restore-to-url-using-managed-identities.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,34 +123,14 @@ Msg 3013, Level 16, State 1, Line 31
123
123
RESTORE DATABASE is terminating abnormally.
124
124
```
125
125
126
-
### Network or Firewall Issues
127
-
128
-
If valid network access to the Azure Blob storage and Windows Firewall permissions on the host to allow the outbound connection, and valid storage account service endpoints aren't configured, the **BACKUP** operation fails with an error message indicating that access is denied.
129
-
130
-
```sql
131
-
Msg 3201, Level 16, State 1, Line31
132
-
Cannot open backup device 'https://<storage-account-name>.blob.core.windows.net/<container-name>/AdventureWorks.bak'. Operating system error 5(Access is denied.).
133
-
Msg 3013, Level 16, State 1, Line31
134
-
BACKUP DATABASE is terminating abnormally.
135
-
```
136
-
137
-
If valid network access to the Azure Blob storage and Windows Firewall permissions on the host to allow the outbound connection and valid storage account service endpoints aren't configured, the **RESTORE** operation fails with an error message indicating that access is denied.
138
-
139
-
```sql
140
-
Msg 3201, Level 16, State 1, Line31
141
-
Cannot open backup device 'https://<storage-account-name>.blob.core.windows.net/<container-name>/AdventureWorks.bak'. Operating system error 5(Access is denied.).
142
-
Msg 3013, Level 16, State 1, Line31
143
-
RESTORE DATABASE is terminating abnormally.
144
-
```
145
-
146
126
### Duplicate database name
147
127
148
128
When the original database with the same name exists in the storage, the backup of a new database to the same storage path will fail with the following error:
149
129
150
130
```output
151
131
Msg 1834, Level 16, State 1, Line 35
152
132
RESTORE DATABASE AdventureWorks
153
-
from URL = 'https://<storage-account-name>.blob.core.windows.net/<container-name>/AdventureWorks.bak'
133
+
FROM URL = 'https://<storage-account-name>.blob.core.windows.net/<container-name>/AdventureWorks.bak';
154
134
Msg 1834, Level 16, State 1, Line 35
155
135
The file 'C:\Server\sqlservr\data\AdventureWorks.mdf' cannot be overwritten. It is being used by the database 'AdventureWorks'.
0 commit comments