clickhouse-backup
clickhouse-backup copied to clipboard
Add `backup_tables` into config, to allow similar behavior with `--table` CLI parameter
Now config has only skip_tables option to exclude tables form back.
It'll be very useful to have bakup_tables option with of tables to backup in case we have many databases and tables and needs to backup only few.
If I understood correctly, we already implement
clickhouse-backup create --tables=*.table_name1,another_pattern
If I understood correctly, we already implement
clickhouse-backup create --tables=*.table_name1,another_pattern
Yes, but it's implemented via command line only, not via config. For example we have same typical backup script and different configs for the installations.
use case is not clear why you can't use --table parameter in your backup script?
what is the difference from your side, between:
clickhouse-backup -c config1.yml create <backup>
clickhouse-backup -c config2.yml create <backup>
clickhouse-backup -c config3.yml create <backup>
and
clickhouse-backup -c config.yml create <backup> --table=pattern1
clickhouse-backup -c config.yml create <backup> --table=pattern2
clickhouse-backup -c config.yml create <backup> --table=pattern3
Which version supports this feature now? backup_table.
And if I use the API version, can I send one http request to backup table A, another http request to backup table B?
i tried to plan to 2.0.0 (not released yer) @AngelLittleChaochao could you clear your use case?
Why you can't use table parameter for
POST /backup/actions or POST /backup/create API calls?
Did you read https://github.com/AlexAkulov/clickhouse-backup#api ?
i tried to plan to 2.0.0 (not released yer) @AngelLittleChaochao could you clear your use case?
Why you can't use
tableparameter for POST /backup/actions or POST /backup/create API calls? Did you read https://github.com/AlexAkulov/clickhouse-backup#api ?
Thanks Slach for your response and reference link. It solved my problem.
Let's close issue because @vanyasvl doesn't provide more context