Comments (5)
Use clickhouse-backup download 2019-04-08T18-12-05
from clickhouse-backup.
Всё получилось?
from clickhouse-backup.
Yes, all right, thanks for you
Why command upload don't upload all backups to s3? like command create. Will be cool if can setup to cron composer-backup create && composer-backup upload
.
While for upload, i wrote script for cron
#!/bin/bash
cb=/usr/local/bin/clickhouse-backup
${cb} create
last_dump=`${cb} upload | awk '{print $1}' | tail -n1`
${cb} upload ${last_dump}
Will be cool if will the command like as clickhouse-backup cron
, which make all himself
from clickhouse-backup.
You can specify custom backup name for 'create' command, for example:
#!/bin/bash
BACKUP_NAME=my_backup_$(date -u +%Y-%m-%dT%H-%M-%S)
clickhouse-backup create $BACKUP_NAME
clickhouse-backup upload $BACKUP_NAME
from clickhouse-backup.
Thanks for answer!
from clickhouse-backup.
Related Issues (20)
- Restoring backup try to copy object HOT 4
- Does clickhouse-backup copy data when the data is only stored in s3? HOT 4
- backup and restore cron job in example doesnt work HOT 35
- Add option skip_projections with table pattern to allow make backup without projection
- When deployed with clickhouse operator, is it possible to run clickhouse backup on only one replica? HOT 2
- Add cross-region copy support for S3 HOT 1
- incremental regular backup of s3/azure/gcs disks CREATE command shall copy object only for new data parts, and use requiredBackup parts during RESTORE and during DOWNLOAD properly
- Backups to azblob with AZBLOB_MANAGED_IDENTITY HOT 6
- Ability to restore schema by running ATTACH TABLE statement for --schema, if data already present HOT 1
- backup restore job didnt update materialized views data HOT 3
- Full backup was deleted when empty incremental backup was upload and keep_backups_remote > 0 HOT 6
- Restore from backup with tar.gz compression HOT 4
- list command should scann all system.disks path not only default
- are there any ways to speed "partition attach"? HOT 10
- use CLICKHOUSE_USE_EMBEDDED_BACKUP_RESTORE start error HOT 51
- Upload Aliyun OSS issue HOT 11
- `download` need to check free disk size and fail
- Upload Error for Backups HOT 11
- Why sometime backup duration delay to hours level but no errors. HOT 9
- allow to restore RBAC objects into different type of user_directories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse-backup.