Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure a backup destination for ClickHouse #6612

Open
bnaecker opened this issue Sep 19, 2024 · 2 comments
Open

Configure a backup destination for ClickHouse #6612

bnaecker opened this issue Sep 19, 2024 · 2 comments
Labels
clickhouse Related to the ClickHouse metrics DBMS

Comments

@bnaecker
Copy link
Collaborator

I've often wanted to collect the latest ClickHouse data from Dogfood. I've been doing that by manually taking a ZFS snapshot; creating a tarball; and copying it out to my own files. However, ClickHouse actually supports in-band backups, that take a consistent view of the database or any subset of it. It would be very nice to let ClickHouse do this work for us. That requires that we configure a backup destination, a set of paths that the system is configured to use. That can only be specified in the XML configuration file. I don't see a CLI flag for it. We don't ship that at all for single-node ClickHouse, but we do in the replica configuration XML files. We should set that parameter, to allow backups.

This may also be a good mechanism to collect ClickHouse data for support bundles.

@bnaecker bnaecker added the clickhouse Related to the ClickHouse metrics DBMS label Sep 19, 2024
@jclulow
Copy link
Collaborator

jclulow commented Sep 21, 2024

What format does it use for writing all the backup data out?

@bnaecker
Copy link
Collaborator Author

bnaecker commented Sep 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clickhouse Related to the ClickHouse metrics DBMS
Projects
None yet
Development

No branches or pull requests

2 participants