Skip to content
Discussion options

You must be logged in to vote

found root cause
look like it was minor error, and error was fixed during massive refactoring for 2.1.0 version
https://github.com/AlexAkulov/clickhouse-backup/blame/master/pkg/server/utils.go#L35

you just can change your playbook and add
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/uri_module.html#parameter-status_code

status_code: [200, 201]

or use common POST /backup/actions
with

body: '{"command":"create {{file_name}}-{{ item }} --tables {{ table_query }}"}'

i will add changelog comment to 2.1.0 release

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Slach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants