yc backup
Written by
Updated at November 2, 2024
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 backup get — Get full information about 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)
- yc backup policy execute — Execute policy for vm
- yc backup agent — Manage backup agents
- yc backup agent install — Installs backup agent on instance. Attention! This command could be executed only on instances with oslogin support. Supported os families are: ubuntu, centos, debian, redos. This command will execute ssh connection on given instance, install needed packages, download agent installer script and launch downloaded agent installer script.
- yc backup agent reinstall — Reinstalls backup agent on instance. Attention! This command could be executed only on instances with oslogin support. Supported os families are: ubuntu, centos, debian, redos. This command will execute ssh connection on given instance, install needed packages, download agent reinstaller script and launch downloaded agent reinstaller script.
- yc backup agent debug-info — Displays backup agent installation logs. Attention! This command could be executed only on instances with oslogin support. This command will execute ssh connection on given instance, and fetch agent logs.
- yc backup provider — Manage backup provider
- yc backup provider activate — Activate backup provider
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. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |