Create_remote API #981
-
Is there a a support for creating a backup in remote server through API, going through documentation I could find create_remote command but could not find any support through any API. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
look to https://github.com/Altinity/clickhouse-backup/#post-backupactions
|
Beta Was this translation helpful? Give feedback.
-
I have a follow up question on this, as per the documentation this API accepts command as a parameter in the request body, do we have an option of sending remote_storage option and all other related parameter like host address to this api so that we can define where do we want to create backup? |
Beta Was this translation helpful? Give feedback.
-
What about other parameters of s3 and we can provide sftp as REMOTE_STORAGE right |
Beta Was this translation helpful? Give feedback.
look to
POST /backup/actions
https://github.com/Altinity/clickhouse-backup/#post-backupactions
curl -X POST -d '{"command":"create_remote test_backup"}' -s https://clickhouse-bakcup:7171/backup/actions