Back up a database, database instance, cache or Persistent Service Volume now. Returns the Activity; follow it with activity_wait.
Arguments
| Argument |
Type |
Description |
data |
object |
What to back up: exactly one database, instance, cache or Volume. Required. |
data.volume_id |
string |
Persistent Service Volume id. |
data.database_instance_id |
string |
Instance id. |
data.cache_instance_id |
string |
Cache id. |
data.database_id |
string |
One database. |
data.type |
string |
Backup type. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}