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,…] --restore-destination-path=RESTORE_DESTINATION_PATH (--backup=BACKUP : --backup_vault=BACKUP_VAULT) [--async] [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 to a Volume named NAME to the directory /path/to/destination/directory.
gcloud alpha netapp volumes restore-backup-files NAME --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 be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument volume on the command line with a fully specified name;
  • provide the argument --project on 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 volume attribute:

  • provide the argument volume on the command line.

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

--location=LOCATION
The location of the volume.

To set the location attribute:

  • provide the argument volume on the command line with a fully specified name;
  • provide the argument --location on the command line;
  • set the property netapp/location.
REQUIRED FLAGS
--file-list=FILE_LIST,[FILE_LIST,…]
List of files to be restored in the form of their absolute path as in source volume.
--restore-destination-path=RESTORE_DESTINATION_PATH
Name of the absolute directory path in the destination volume..
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 this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument --backup on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

To set the location attribute:

  • provide the argument --backup on the command line with a fully specified 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 backup attribute:

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

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

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

To set the backup_vault attribute:

  • provide the argument --backup on the command line with a fully specified 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.
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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
gcloud beta netapp volumes restore-backup-files