az backup

Manage Azure Backups.

Commands

az backup container

Resource which houses items or applications to be protected.

az backup container list

List containers registered to a Recovery services vault.

az backup container re-register

Reset the registration details for a given container.

az backup container register

Register a Resource to the given Recovery Services Vault.

az backup container show

Show details of a container registered to a Recovery services vault.

az backup container unregister

Unregister a Backup Container to make the underlying 'resource' be protected by another vault.

az backup item

An item which is already protected or backed up to an Azure Recovery services vault with an associated policy.

az backup item list

List all backed up items within a container.

az backup item set-policy

Update the policy associated with this item. Use this to change policies of the backup item.

az backup item show

Show details of a particular backed up item.

az backup job

Entity which contains details of the job.

az backup job list

List all backup jobs of a Recovery Services vault.

az backup job show

Show details of a particular job.

az backup job stop

Suspend or terminate a currently running job.

az backup job wait

Wait until either the job completes or the specified timeout value is reached.

az backup policy

A backup policy defines when you want to take a backup and for how long you would retain each backup copy.

az backup policy create

Create a new policy for the given BackupManagementType and workloadType.

az backup policy delete

Delete a backup policy which doesn't have any associated backup items.

az backup policy get-default-for-vm

Get the default policy with default values to backup a VM.

az backup policy list

List all policies for a Recovery services vault.

az backup policy list-associated-items

List all items protected by a backup policy.

az backup policy set

Update the existing policy with the provided details.

az backup policy show

Show details of a particular policy.

az backup protectable-item

Manage the item which is yet to be protected or backed up to an Azure Recovery services vault with an associated policy.

az backup protectable-item initialize

Trigger the discovery of any unprotected items of the given workload type in the given container.

az backup protectable-item list

Retrieve all protectable items within a certain container or across all registered containers.

az backup protectable-item show

Retrieve the specified protectable item within the given container.

az backup protection

Manage protection of your items, enable protection or disable it, or take on-demand backups.

az backup protection auto-disable-for-azurewl

Disable auto-protection for the specified item.

az backup protection auto-enable-for-azurewl

Automatically protect all existing unprotected DBs and any DB which will be added later with the given policy.

az backup protection backup-now

Perform an on-demand backup of a backed up item.

az backup protection check-vm

Find out whether the virtual machine is protected or not. If protected, it returns the recovery services vault ID, otherwise it returns empty.

az backup protection disable

Stop protecting a backed up item. Can retain the backed up data forever or choose to delete it.

az backup protection enable-for-azurefileshare

Start protecting a previously unprotected Azure File share within an Azure Storage account as per the specified policy to a Recovery services vault.

az backup protection enable-for-azurewl

Start protecting a previously unprotected workload within an Azure VM as per the specified policy to a Recovery services vault. Provide the workload details as a protectable item.

az backup protection enable-for-vm

Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.

az backup protection resume

Resume backup for the associated backup item. Use this to change the policy associated with the backup item.

az backup protection undelete

Rehydrate an item from softdeleted state to stop protection with retained data state.

az backup protection update-for-vm

Update disk exclusion settings associated with a backed up VM item.

az backup recoveryconfig

Manage recovery configuration of an Azure workload backed up item.

az backup recoveryconfig show

Construct the recovery configuration of an Azure workload backed up item.

az backup recoverypoint

A snapshot of data at that point-of-time, stored in Recovery Services Vault, from which you can restore information.

az backup recoverypoint list

List all recovery points of a backed up item.

az backup recoverypoint show

Shows details of a particular recovery point.

az backup recoverypoint show-log-chain

List the start and end points of the unbroken log chain(s) of the given backup item.

az backup restore

Restore backed up items from recovery points in a Recovery Services vault.

az backup restore files

Gives access to all files of a recovery point.

az backup restore files mount-rp

Download a script which mounts files of a recovery point.

az backup restore files unmount-rp

Close access to the recovery point.

az backup restore restore-azurefiles

Restore backed up Azure files within a file-share to the same file-share or another file-share in registered storage accounts.

az backup restore restore-azurefileshare

Restore backed up Azure file shares to the same file-share or another file-share in registered storage accounts.

az backup restore restore-azurewl

Restore backed up Azure Workloads in a Recovery services vault to another registered container or to the same container.

az backup restore restore-disks

Restore disks of the backed VM from the specified recovery point.

az backup vault

Online storage entity in Azure used to hold data such as backup copies, recovery points and backup policies.

az backup vault backup-properties

Properties of the Recovery Services vault.

az backup vault backup-properties set

Sets backup related properties of the Recovery Services vault.

az backup vault backup-properties show

Gets backup related properties of the Recovery Services vault.

az backup vault create

Create a new Recovery Services vault.

az backup vault delete

Delete an existing Recovery services vault.

az backup vault list

List Recovery service vaults within a subscription.

az backup vault show

Show details of a particular Recovery service vault.