https://github.com/droptheplot/clickhouse-tools
Different tools for ClickHouse
https://github.com/droptheplot/clickhouse-tools
clickhouse
Last synced: 8 months ago
JSON representation
Different tools for ClickHouse
- Host: GitHub
- URL: https://github.com/droptheplot/clickhouse-tools
- Owner: droptheplot
- License: wtfpl
- Created: 2021-05-13T11:15:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-16T21:08:14.000Z (almost 5 years ago)
- Last Synced: 2025-03-18T06:33:12.089Z (about 1 year ago)
- Topics: clickhouse
- Language: Go
- Homepage:
- Size: 3.12 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clickhouse-tools
[](https://goreportcard.com/report/github.com/droptheplot/clickhouse-tools)
[](https://github.com/droptheplot/clickhouse-tools/actions/workflows/test.yml)
[](https://github.com/droptheplot/clickhouse-tools/actions/workflows/release.yml)
Different tools for ClickHouse.
## Usage
### Dump
```shell
clickhouse-tools dump \
--orig=database1 \
--dest=database2 \
--url=https://path.to.clickhouse:8443 \
--user=user1 \
--password=password1 \
--cert=path.to.certificate.crt \
--on-cluster \
--drop-table \
> schema.sql
```
## Download
Executable is available in the [latest release](https://github.com/droptheplot/clickhouse-tools/releases/latest) assets.