Change the backup schedule, retention or destination of a database, database instance, cache or Persistent Service Volume.
Arguments
| Argument |
Type |
Description |
volume |
string |
Persistent Service Volume id. |
cache_instance |
string |
Cache instance id. |
database |
string |
Database id. |
database_instance |
string |
Database instance id. |
data |
object |
Backup schedule and where backups go. Required. |
data.backup_storage_id |
string |
Backup Storage id for Volume backups. |
data.enabled |
boolean |
Back up on schedule. |
data.storage_location |
string |
blossom or a cloud storage provider. |
data.cloud_storage_provider_id |
string |
Cloud storage provider id. |
data.bucket |
string |
Bucket. |
data.region |
string |
Region. |
data.folder |
string |
Folder. |
data.retention |
string |
How long backups are kept. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}