- NAME
-
- gcloud beta netapp volumes restore-backup-files - restore specific files from a backup to a Volume
- SYNOPSIS
-
-
gcloud beta 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
-
(BETA)
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 beta 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.
-
provide the argument
--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
.
-
provide the argument
-
provide the argument
-
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.
- 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.
-
provide the argument
--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.
-
provide the argument
-
provide the argument
- 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 beta and might change without notice. This variant
is also available:
gcloud alpha netapp volumes restore-backup-files
gcloud beta netapp volumes restore-backup-files
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-15 UTC.