yc backup
Manage Yandex Cloud Backup resources
Command Usage
Syntax:
yc backup <group>
Command Tree
-
yc backup agent — Manage backup agents
-
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 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 backup — Manage backups
-
yc backup backup batch-delete — Batch deletion of all backups from arhcive
-
yc backup backup delete — Delete backup
-
yc backup backup get — Get full information about backup
-
yc backup backup list — Lists available backups
-
yc backup backup list-archives — Lists available archives
-
yc backup backup recover — Start recovery of the backup
-
-
yc backup policy — Manage policies
-
yc backup policy apply — Apply policy to vm(-s)
-
yc backup policy create — Create policy
-
yc backup policy delete — Delete policy(-es)
-
yc backup policy execute — Execute policy for vm
-
yc backup policy get — Show policy by id
-
yc backup policy list — Lists available policies
-
yc backup policy list-applications — Lists policy applications
-
yc backup policy revoke — Revoke policy from vm(-s)
-
yc backup policy update — Update the policy
-
-
yc backup provider — Manage backup provider
- yc backup provider activate — Activate backup provider
-
yc backup vm — Manage resources
-
yc backup vm delete — Delete the resource
-
yc backup vm get — Show information about selected vm(-s)
-
yc backup vm list — Lists available resources
-
yc backup vm list-applicable-policies — Shows policies that could be applied to the instance
-
yc backup vm list-policies — Shows policies applied to the instance
-
yc backup vm list-tasks — Show information about tasks
-
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |