Skip to content

Commit 13b6a7e

Browse files
authored
Remove semicolon from SQL instance name
When running the command for enabling auto-protection of all future databases in an instance, the parameter "--protectable-item-name" can't have the final semicolon, or it will fail with the error: "Protectable item not found. Please provide a valid protectable_item_name."
1 parent 23bd135 commit 13b6a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/backup/backup-azure-sql-backup-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ As the instruction is to back up all future databases, the operation is done at
156156
az backup protection auto-enable-for-azurewl --resource-group SQLResourceGroup \
157157
--vault-name SQLVault \
158158
--policy-name SQLPolicy \
159-
--protectable-item-name "sqlinstance;mssqlserver;" \
159+
--protectable-item-name "sqlinstance;mssqlserver" \
160160
--protectable-item-type SQLInstance \
161161
--server-name testSQLVM \
162162
--workload-type MSSQL\

0 commit comments

Comments
 (0)