az dataprotection

Note

This reference is part of the dataprotection extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az dataprotection command. Learn more about extensions.

Manage Data Protection.

Commands

az dataprotection backup-instance

Manage backup instance with dataprotection.

az dataprotection backup-instance adhoc-backup

Trigger adhoc backup.

az dataprotection backup-instance create

Configure backup for a resource in a backup vault.

az dataprotection backup-instance delete

Delete a backup instance in a backup vault.

az dataprotection backup-instance initialize

Initialize JSON request body for configuring backup of a resource.

az dataprotection backup-instance list

Gets a backup instances belonging to a backup vault.

az dataprotection backup-instance list-from-resourcegraph

List backup instances across subscriptions, resource groups and vaults.

az dataprotection backup-instance restore

Restore backed up instances from recovery points in a backup vault.

az dataprotection backup-instance restore initialize-for-data-recovery

Initialize restore request object to recover all backed up data in a backup vault.

az dataprotection backup-instance restore initialize-for-data-recovery-as-files

Initialize restore request object to recover all backed up data as files in a backup vault.

az dataprotection backup-instance restore initialize-for-item-recovery

Initialize restore request object to recover specified items of backed up data in a backup vault.

az dataprotection backup-instance restore trigger

Triggers restore for a BackupInstance.

az dataprotection backup-instance resume-protection

This operation will resume protection for a stopped backup instance.

az dataprotection backup-instance show

Gets a backup instance with name in a backup vault.

az dataprotection backup-instance stop-protection

This operation will stop protection of a backup instance and data will be held forever.

az dataprotection backup-instance suspend-backup

This operation will stop backups for backup instance.

az dataprotection backup-instance update-msi-permissions

Assign the required permissions needed to successfully enable backup for the datasource.

az dataprotection backup-instance update-policy

Update backup policy associated with backup instance.

az dataprotection backup-instance validate-for-backup

Validate whether configure backup will be successful or not.

az dataprotection backup-instance validate-for-restore

Validates if Restore can be triggered for a DataSource.

az dataprotection backup-instance wait

Place the CLI in a waiting state until a condition of the dataprotection backup-instance is met.

az dataprotection backup-policy

Manage backup policy with dataprotection.

az dataprotection backup-policy create

Create a backup policy belonging to a backup vault.

az dataprotection backup-policy delete

Deletes a backup policy belonging to a backup vault.

az dataprotection backup-policy get-default-policy-template

Get default policy template for a given datasource type.

az dataprotection backup-policy list

Returns list of backup policies belonging to a backup vault.

az dataprotection backup-policy retention-rule

Create lifecycles and add or remove retention rules in a backup policy.

az dataprotection backup-policy retention-rule create-lifecycle

Create lifecycle for Azure Retention rule.

az dataprotection backup-policy retention-rule remove

Remove existing retention rule in a backup policy.

az dataprotection backup-policy retention-rule set

Add new retention rule or update existing retention rule.

az dataprotection backup-policy show

Gets a backup policy belonging to a backup vault.

az dataprotection backup-policy tag

Create criterias and add or remove tag in policy.

az dataprotection backup-policy tag create-absolute-criteria

Create absolute criteria.

az dataprotection backup-policy tag create-generic-criteria

Create generic criteria.

az dataprotection backup-policy tag remove

Remove existing tag from a backup policy.

az dataprotection backup-policy tag set

Add new tag or update existing tag of a backup policy.

az dataprotection backup-policy trigger

Manage backup schedule of a backup policy.

az dataprotection backup-policy trigger create-schedule

Create backup schedule of a policy.

az dataprotection backup-policy trigger set

Associate backup schedule to a backup policy.

az dataprotection backup-vault

Manage backup vault with dataprotection.

az dataprotection backup-vault create

Create a BackupVault resource belonging to a resource group.

az dataprotection backup-vault delete

Deletes a BackupVault resource from the resource group.

az dataprotection backup-vault list

Gets list of backup vault in a subscription or in a resource group.

az dataprotection backup-vault show

Returns a resource belonging to a resource group.

az dataprotection backup-vault update

Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.

az dataprotection backup-vault wait

Place the CLI in a waiting state until a condition of the dataprotection backup-vault is met.

az dataprotection job

Manage job with dataprotection.

az dataprotection job list

Returns list of jobs belonging to a backup vault.

az dataprotection job list-from-resourcegraph

List backup jobs across subscriptions, resource groups and vaults.

az dataprotection job show

Gets a job with id in a backup vault.

az dataprotection recovery-point

Manage recovery point with dataprotection.

az dataprotection recovery-point list

Returns a list of Recovery Points for a DataSource in a vault.

az dataprotection recovery-point show

Gets a Recovery Point using recoveryPointId for a Datasource.

az dataprotection resource-guard

Manage resource guard with dataprotection.

az dataprotection resource-guard create

Creates or updates a ResourceGuard resource belonging to a resource group.

az dataprotection resource-guard delete

Deletes a ResourceGuard resource from the resource group.

az dataprotection resource-guard list

Gets list of ResourceGuards in a subscription or in a resource group.

az dataprotection resource-guard list-protected-operations

Lists protected operations associated with a ResourceGuard .

az dataprotection resource-guard show

Returns a ResourceGuard belonging to a resource group.

az dataprotection resource-guard update

Updates protected operations associated with a ResourceGuard .

az dataprotection restorable-time-range

Manage restorable time range with dataprotection.

az dataprotection restorable-time-range find

.