Skip to content

Commit 8beff32

Browse files
authored
Update backup-restore-to-url-using-managed-identities.md
1 parent 18bac2a commit 8beff32

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

azure-sql/virtual-machines/windows/backup-restore-to-url-using-managed-identities.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -123,34 +123,14 @@ Msg 3013, Level 16, State 1, Line 31
123123
RESTORE DATABASE is terminating abnormally.
124124
```
125125

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, Line 31
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, Line 31
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, Line 31
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, Line 31
143-
RESTORE DATABASE is terminating abnormally.
144-
```
145-
146126
### Duplicate database name
147127

148128
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:
149129

150130
```output
151131
Msg 1834, Level 16, State 1, Line 35
152132
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';
154134
Msg 1834, Level 16, State 1, Line 35
155135
The file 'C:\Server\sqlservr\data\AdventureWorks.mdf' cannot be overwritten. It is being used by the database 'AdventureWorks'.
156136
Msg 3156, Level 16, State 4, Line 35

0 commit comments

Comments
 (0)