gcloud alpha netapp volumes restore-backup-files Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha netapp volumes restore-backup-files - restore specific files from a backup to a Volume
- SYNOPSIS
gcloud alpha netapp volumes restore-backup-files(VOLUME:--location=LOCATION)--file-list=FILE_LIST,[FILE_LIST,…](--backup=BACKUP:--backup_vault=BACKUP_VAULT)[--async][--restore-destination-path=RESTORE_DESTINATION_PATH][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Restore specific files from a backup to a Volume- EXAMPLES
- The following command restores file1.txt and file2.txt from the given backup toa Volume named NAME to the directory /path/to/destination/directory.
gcloudalphanetappvolumesrestore-backup-filesNAME--location=us-central1--backup=backup-1--file-list=file1.txt,file2.txt--restore-destination-path=/path/to/destination/directory - POSITIONAL ARGUMENTS
- Volume resource - The Volume to restore into. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
volumeon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
VOLUME- ID of the volume or fully qualified identifier for the volume.
To set the
volumeattribute:- provide the argument
volumeon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the volume.
To set the
locationattribute:- provide the argument
volumeon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
netapp/location.
- provide the argument
- provide the argument
- Volume resource - The Volume to restore into. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
- REQUIRED FLAGS
--file-list=FILE_LIST,[FILE_LIST,…]- List of files to be restored in the form of their absolute path as in sourcevolume.
- Backup resource - The Backup from which files are restored back to the Volume.The arguments in this group can be used to specify the attributes of thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.
To set the
projectattribute:- provide the argument
--backupon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
--backupon the command line with a fullyspecified name; - set the property
netapp/location.
This must be specified.
--backup=BACKUP- ID of the backup or fully qualified identifier for the backup.
To set the
backupattribute:- provide the argument
--backupon the command line.
This flag argument must be specified if any of the other arguments in this groupare specified.
- provide the argument
--backup_vault=BACKUP_VAULT- The Backup Vault of the backup.
To set the
backup_vaultattribute:- provide the argument
--backupon the command line with a fullyspecified name; - provide the argument
--backup_vaulton the command line; - provide the argument
--backup-vaulton the command line.
- provide the argument
- provide the argument
- OPTIONAL FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
--restore-destination-path=RESTORE_DESTINATION_PATH- Name of the absolute directory path in the destination volume..
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudnetappvolumesrestore-backup-filesgcloudbetanetappvolumesrestore-backup-files
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-24 UTC.