Activating the service
The minimum folder role required to activate the service is backup.editor
(see its description for details).
-
In the management console
, select the folder you want to create a VM with a Cloud Backup connection in. -
In the list of services, select Cloud Backup.
-
Click Activate.
If there is no Activate button, and you have access to creating a VM with a Cloud Backup connection, it means the service has already been activated.
After activation, the system automatically creates the following backup policies:
Default daily
: Daily incremental VM backup with the last 15 backups retained.Default weekly
: Weekly incremental VM backup with the last 15 backups retained.Default monthly
: Monthly incremental VM backup with the last 15 backups retained.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
View the description of the CLI command to activate the service:
yc backup provider activate --help
-
Activate the service in the default folder:
yc backup provider activate --async
Where
--async
displays the operation progress info. This is an optional parameter.Result:
id: cdgmnefxiatx******** description: activate provider created_at: "2024-10-14T09:03:47.960564Z" created_by: ajec1gaqcmtr******** modified_at: "2024-10-14T09:03:47.960564Z" done: true metadata: '@type': type.googleapis.com/yandex.cloud.backup.v1.ActivateProviderMetadata folder_id: b1go3el0d8fs******** response: '@type': type.googleapis.com/google.protobuf.Empty value: {}
After activation, the system automatically creates the following backup policies:
Default daily
: Daily incremental VM backup with the last 15 backups retained.Default weekly
: Weekly incremental VM backup with the last 15 backups retained.Default monthly
: Monthly incremental VM backup with the last 15 backups retained.
If you prefer not to create them, use the --skip-default-policy
parameter.