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
Locking the time-based immutability for the Long Term Retention backup 'ddce125a-339f-4f34-9b74-93b439813ddd;133982942130000000;Hot' on database 'testdb2' on server 'brandong-ltr-ps-test' in location 'eastus2euap'.
51
-
Are you sure you want to lock the time-based immutability for the Long Term Retention backup 'ddce125a-339f-4f34-9b74-93b439813ddd;133982942130000000;Hot' on database 'testdb2' on server 'brandong-ltr-ps-test' in location 'eastus2euap'? Once locked, the backup cannot be dropped until expiration.
52
-
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
The cmdlet **Remove-AzSqlDatabaseLongTermRetentionBackupImmutability** permanently removes an unlocked time-based immutability policy for the backup.
41
40
Once removed, the backup will be able to be deleted manually. It is not possible to re-add time-based immutability once it is removed (however, a legal hold can always be applied).
42
41
43
42
## EXAMPLES
44
43
45
44
### Example 1: Remove the time-based immutability policy for a single backup.
Removing the time-based immutability for the Long Term Retention backup '601061b7-d10b-46e0-bf77-a2bfb16a6add;131655666550000000' on database 'testdb2' on server 'server01' in location 'northeurope'.
53
-
Are you sure you want to remove the time-based immutability for the Long Term Retention backup '601061b7-d10b-46e0-bf77-a2bfb16a6add;131655666550000000' on database 'testdb2' on server 'server01' in location 'northeurope'? Once removed, it will be
54
-
possible to delete the backup.
55
-
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
The **Remove-AzSqlDatabaseLongTermRetentionBackupLegalHold** removes a legal hold on the given LTR backup. Once removed, the backup can be manually deleted. If the backup is expired, it will be dropped immediately after removal.
41
40
42
41
## EXAMPLES
43
42
44
43
### Example 1: Remove legal hold for a single backup
This sets the long term retention policy of database01 to save each full backup for 14 days, the first full backup of each month for 24 weeks, and the full backup taken on the 26th week of the year for 10 years
185
178
186
179
### Example 7: Remove the long term retention policy
The **Set-AzSqlDatabaseLongTermRetentionBackupLegalHold** sets a legal hold on the given LTR backup. The backup cannot be deleted and will not expire until the legal hold is removed.
0 commit comments