gcloud alpha netapp volumes restore-backup-files

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 theproject attribute:

  • provide the argumentvolume on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

VOLUME
ID of the volume or fully qualified identifier for the volume.

To set thevolume attribute:

  • provide the argumentvolume on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location of the volume.

To set thelocation attribute:

  • provide the argumentvolume on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
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 theproject attribute:

  • provide the argument--backup on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--backup on the command line with a fullyspecified name;
  • set the propertynetapp/location.

This must be specified.

--backup=BACKUP
ID of the backup or fully qualified identifier for the backup.

To set thebackup attribute:

  • provide the argument--backup on the command line.

This flag argument must be specified if any of the other arguments in this groupare specified.

--backup_vault=BACKUP_VAULT
The Backup Vault of the backup.

To set thebackup_vault attribute:

  • provide the argument--backup on the command line with a fullyspecified name;
  • provide the argument--backup_vault on the command line;
  • provide the argument--backup-vault on the command line.
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 help for 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-files
gcloudbetanetappvolumesrestore-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.