az netappfiles account backup-vault backup
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage Azure NetApp Files (ANF) Backup Resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles account backup-vault backup create |
Create a backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup create (netappfiles-preview extension) |
Create a backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup delete |
Delete a Backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup delete (netappfiles-preview extension) |
Delete a Backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup list |
List all backups Under a Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup list (netappfiles-preview extension) |
List all backups Under a Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup restore-file |
Restore the specified files from the specified backup to the active filesystem. |
Core | GA |
az netappfiles account backup-vault backup restore-file (netappfiles-preview extension) |
Restore the specified files from the specified backup to the active filesystem. |
Extension | Preview |
az netappfiles account backup-vault backup show |
Get the specified Backup under Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup show (netappfiles-preview extension) |
Get the specified Backup under Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup update |
Update a backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup update (netappfiles-preview extension) |
Update a backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account backup-vault backup wait (netappfiles-preview extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | Preview |
az netappfiles account backup-vault backup create
Create a backup under the Backup Vault.
az netappfiles account backup-vault backup create --account-name
--backup-name
--backup-vault-name
--resource-group
--volume-resource-id
[--label]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-name]
[--use-existing-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
Required Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
ResourceId used to identify the Volume.
Optional Parameters
Label for backup.
Do not wait for the long-running operation to finish.
The name of the snapshot.
Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup create (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a backup under the Backup Vault.
az netappfiles account backup-vault backup create --account-name
--backup-name
--backup-vault-name
--resource-group
--volume-resource-id
[--label]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-name]
[--use-existing-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
Required Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
ResourceId used to identify the Volume.
Optional Parameters
Label for backup.
Do not wait for the long-running operation to finish.
The name of the snapshot.
Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup delete
Delete a Backup under the Backup Vault.
az netappfiles account backup-vault backup delete [--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup delete (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a Backup under the Backup Vault.
az netappfiles account backup-vault backup delete [--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup list
List all backups Under a Backup Vault.
az netappfiles account backup-vault backup list --account-name
--backup-vault-name
--resource-group
[--filter]
[--max-items]
[--next-token]
Required Parameters
The name of the NetApp account.
The name of the Backup Vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup list (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all backups Under a Backup Vault.
az netappfiles account backup-vault backup list --account-name
--backup-vault-name
--resource-group
[--filter]
[--max-items]
[--next-token]
Required Parameters
The name of the NetApp account.
The name of the Backup Vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup restore-file
Restore the specified files from the specified backup to the active filesystem.
az netappfiles account backup-vault backup restore-file --destination-volume-id
--file-list
[--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--restore-file-path]
[--subscription]
Required Parameters
Resource Id of the destination volume on which the files need to be restored.
List of files to be restored Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup restore-file (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Restore the specified files from the specified backup to the active filesystem.
az netappfiles account backup-vault backup restore-file --destination-volume-id
--file-list
[--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--restore-file-path]
[--subscription]
Required Parameters
Resource Id of the destination volume on which the files need to be restored.
List of files to be restored Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup show
Get the specified Backup under Backup Vault.
az netappfiles account backup-vault backup show [--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--resource-group]
[--subscription]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup show (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the specified Backup under Backup Vault.
az netappfiles account backup-vault backup show [--account-name]
[--backup-name]
[--backup-vault-name]
[--ids]
[--resource-group]
[--subscription]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup update
Update a backup under the Backup Vault.
az netappfiles account backup-vault backup update [--account-name]
[--add]
[--backup-name]
[--backup-vault-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--label]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
Optional Parameters
The name of the NetApp account.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
The name of the backup.
The name of the Backup Vault.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Label for backup.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup update (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update a backup under the Backup Vault.
az netappfiles account backup-vault backup update [--account-name]
[--add]
[--backup-name]
[--backup-vault-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--label]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
Optional Parameters
The name of the NetApp account.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
The name of the backup.
The name of the Backup Vault.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Label for backup.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup wait
Place the CLI in a waiting state until a condition is met.
az netappfiles account backup-vault backup wait [--account-name]
[--backup-name]
[--backup-vault-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account backup-vault backup wait (netappfiles-preview extension)
Command group 'az netappfiles account backup-vault backup' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Place the CLI in a waiting state until a condition is met.
az netappfiles account backup-vault backup wait [--account-name]
[--backup-name]
[--backup-vault-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the NetApp account.
The name of the backup.
The name of the Backup Vault.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.