az netappfiles volume backup
Manage Azure NetApp Files (ANF) Volume Backup Resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles volume backup create |
Create a backup for the volume. |
Core | GA |
az netappfiles volume backup delete |
Delete a backup of the volume. |
Core | GA |
az netappfiles volume backup list |
List all backups for a volume. |
Core | GA |
az netappfiles volume backup restore-files |
Restore the specified files from the specified backup to the active filesystem. |
Core | GA |
az netappfiles volume backup restore-status |
Get volume's restore status. |
Core | GA |
az netappfiles volume backup show |
Get the specified backup of the volume. |
Core | GA |
az netappfiles volume backup status |
Get the status of the backup for a volume. |
Core | GA |
az netappfiles volume backup update |
Update a backup for the volume. |
Core | GA |
az netappfiles volume backup wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles volume backup create
Create a backup for the volume.
az netappfiles volume backup create --account-name
--backup-name
--pool-name
--resource-group
--volume-name
[--label]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--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 capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the volume.
Optional Parameters
Label for backup.
Resource location When not specified, the location of the resource group will be used.
Do not wait for the long-running operation to finish.
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 volume backup delete
Delete a backup of the volume.
az netappfiles volume backup delete [--account-name]
[--backup-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Optional Parameters
The name of the NetApp account.
The name of the backup.
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.
The name of the capacity pool.
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
.
The name of the volume.
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 volume backup list
List all backups for a volume.
az netappfiles volume backup list --account-name
--pool-name
--resource-group
--volume-name
Required Parameters
The name of the NetApp account.
The name of the capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the volume.
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 volume backup restore-files
Restore the specified files from the specified backup to the active filesystem.
az netappfiles volume backup restore-files --destination-volume-id
--file-list
[--account-name]
[--backup-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--restore-file-path]
[--subscription]
[--volume-name]
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.
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.
The name of the capacity pool.
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
.
The name of the volume.
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 volume backup restore-status
Get volume's restore status.
Get the status of the backup restore for a volume.
az netappfiles volume backup restore-status [--account-name]
[--ids]
[--name]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Get the status of the restore for a volume
az netappfiles volume backup restore-status -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname
Optional Parameters
The name of the NetApp account.
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.
The name of the volume.
The name of the capacity pool.
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 volume backup show
Get the specified backup of the volume.
az netappfiles volume backup show [--account-name]
[--backup-name]
[--ids]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Optional Parameters
The name of the NetApp account.
The name of the backup.
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.
The name of the capacity pool.
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
.
The name of the volume.
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 volume backup status
Get the status of the backup for a volume.
az netappfiles volume backup status [--account-name]
[--ids]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Optional Parameters
The name of the NetApp account.
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.
The name of the capacity pool.
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
.
The name of the volume.
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 volume backup update
Update a backup for the volume.
az netappfiles volume backup update [--account-name]
[--add]
[--backup-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}]
[--pool-name]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--use-existing-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--volume-name]
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.
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.
The name of the capacity pool.
Remove a property or an element from a list. Example: --remove property.list 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=.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.
The name of the volume.
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 volume backup wait
Place the CLI in a waiting state until a condition is met.
az netappfiles volume backup wait [--account-name]
[--backup-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--volume-name]
Optional Parameters
The name of the NetApp account.
The name of the backup.
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.
The name of the capacity pool.
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'.
The name of the volume.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for