yc backup
Written by
Updated at December 5, 2023
Manage Yandex Cloud Backup resources
Command Usage
Syntax:
yc backup <group>
Command Tree
- yc backup vm — Manage resources
- yc backup vm list — Lists available resources
- yc backup vm list-tasks — Show information about tasks
- yc backup vm list-policies — Shows policies applied to the instance
- yc backup vm list-applicable-policies — Shows policies that could be applied to the instance
- yc backup vm get — Show information about selected vm(-s)
- yc backup vm delete — Delete the resource
- yc backup backup — Manage backups
- yc backup backup list — Lists available backups
- yc backup backup list-archives — Lists available archives
- yc backup backup delete — Delete backup
- yc backup backup recover — Start recovery of the backup
- yc backup policy — Manage policies
- yc backup policy list — Lists available policies
- yc backup policy list-applications — Lists policy applications
- yc backup policy get — Show policy by id
- yc backup policy create — Create policy
- yc backup policy update — Update the policy
- yc backup policy delete — Delete policy(-es)
- yc backup policy apply — Apply policy to vm(-s)
- yc backup policy revoke — Revoke policy from vm(-s)
Global Flags
Flag | Description |
---|---|
--profile |
string Set the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
int Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
string Set the ID of the cloud to use. |
--folder-id |
string Set the ID of the folder to use. |
--folder-name |
string Set the name of the folder to use (will be resolved to id). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
-h ,--help |
Display help for the command. |