az backup protection
Manage protection of your items, enable protection or disable it, or take on-demand backups. Azure CLI reference
12 commands 3 options Its page in the Azure CLI reference
Commands
auto-disable-for-azurewlDisable auto-protection for the specified protectable item.auto-enable-for-azurewlAutomatically protect all existing unprotected DBs and any DB which will be added later with the given policy.backup-nowPerform an on-demand backup of a backed up item.check-vmThe command returns null/empty if the specified resource is not protected under any Recovery Services vault in the subscription.disableStop protecting a backed up item.enable-for-azurefileshareStart protecting a previously unprotected Azure File share within an Azure Storage account as per the specified policy to a Recovery services vault.enable-for-azurewlStart protecting a previously unprotected workload within an Azure VM as per the specified policy to a Recovery services vault.enable-for-vmStart protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.reconfigureReconfigures backup protection from an old vault to a new vault.resumeResume backup for the associated backup item.undeleteRehydrate an item from softdeleted state to stop protection with retained data state.update-for-vmUpdate disk exclusion settings associated with a backed up VM item.Options
--policy-name, -pName of the backup policy.--vault-name, -vName of the Recovery services vault.--vmName or ID of the Virtual Machine to be protected.