Vitaly Baranov
|
fc16a15ecf
|
Rename column "uuid" -> "id" in system.backups and allow user to set it in a query.
|
2022-07-27 09:04:10 +02:00 |
|
Vitaly Baranov
|
d129be2a9e
|
Remove column "backup_name" from the result of a BACKUP/RESTORE query
|
2022-07-27 09:04:10 +02:00 |
|
Vitaly Baranov
|
afd0982187
|
Remove column "internal" from system.backups
|
2022-07-27 09:04:10 +02:00 |
|
Vitaly Baranov
|
f0cd564648
|
Changes after review and added comments.
|
2022-07-26 11:58:05 +02:00 |
|
Vitaly Baranov
|
7795b2cec3
|
Fix system.backups: now it can show duplicate UUIDs with different flag.
|
2022-07-21 20:30:26 +02:00 |
|
Vitaly Baranov
|
dc392cd4d3
|
Improve synchronization between hosts in distributed backup.
Use ephemeral zk nodes to check other hosts for termination.
|
2022-07-21 11:45:26 +02:00 |
|
Vitaly Baranov
|
5257ce31f8
|
Improved using ThreadPool for making backup or restoring, changed columns in system.backups.
|
2022-05-03 11:03:13 +02:00 |
|
Vitaly Baranov
|
409edfd3fa
|
Rework RestoreCoordination: make restore deterministic.
|
2022-05-03 11:01:44 +02:00 |
|
Vitaly Baranov
|
2c754f44fc
|
Make calculation of shard_num & replica_num not dependant on match of the cluster's definitions on nodes.
|
2022-05-03 11:01:44 +02:00 |
|
Vitaly Baranov
|
2a645bb187
|
Fix sending 'create_table' and 'create_database' restore settings to cluster.
|
2022-05-03 11:01:44 +02:00 |
|
Vitaly Baranov
|
bddec55d35
|
Added ASTBackupQuery::setDatabase().
|
2022-05-03 11:01:44 +02:00 |
|
Amos Bird
|
9d30be2c59
|
Fix build again
|
2022-04-29 14:45:27 +08:00 |
|
Vitaly Baranov
|
a8e924caf6
|
Make BACKUP & RESTORE synchronous by default.
|
2022-04-26 18:45:39 +02:00 |
|
Vitaly Baranov
|
78bcb96098
|
Rename backup & restore setting 'async' -> 'sync', and make backup & restore async by default.
|
2022-04-26 09:51:19 +02:00 |
|
Vitaly Baranov
|
000b184691
|
Fix style & compilation.
|
2022-04-25 23:05:35 +02:00 |
|
Vitaly Baranov
|
ed0af9d4a0
|
Improve shutdown with async backup/restore.
|
2022-04-25 16:34:34 +02:00 |
|
Vitaly Baranov
|
042dc4abb2
|
Rename settings shard -> shard_num, replica -> replica_num.
|
2022-04-25 16:34:34 +02:00 |
|
Vitaly Baranov
|
68a020ecea
|
Implement BACKUP/RESTORE ON CLUSTER.
|
2022-04-25 16:34:33 +02:00 |
|
Vitaly Baranov
|
144d3aefeb
|
Add system table system.backups; implement async mode for commands BACKUP & RESTORE
|
2022-04-25 16:34:33 +02:00 |
|
Vitaly Baranov
|
758f8235c2
|
Collect backup entries before opening an archive for writing.
|
2022-04-09 01:44:46 +02:00 |
|
Vitaly Baranov
|
c884cf901f
|
Use BackupEntryFromAppendOnlyFile for Log engine,
and use a BackupEntriesBatch for Memort engine to improve performance.
A lot of minor corrections.
|
2022-03-20 20:02:15 +01:00 |
|
Vitaly Baranov
|
5f195d6ead
|
Implement writing backups as zip archive.
|
2022-03-20 20:02:15 +01:00 |
|
Vitaly Baranov
|
7f89b98308
|
Rework BackupSettings and RestoreSettings a little, pass StorageRestoreSettings to storages.
|
2022-03-20 20:02:15 +01:00 |
|
Vitaly Baranov
|
258a472001
|
Shorter names: rename IRestoreFromBackupTask -> IRestoreTask.
|
2022-03-20 20:02:15 +01:00 |
|
Vitaly Baranov
|
7a63feb3f7
|
Make restore tasks explicit.
|
2022-03-20 20:01:31 +01:00 |
|
Vitaly Baranov
|
cf77c0b3fc
|
New syntax for BACKUP/RESTORE: set backup engine explicitly.
|
2021-11-09 23:16:40 +03:00 |
|
Vitaly Baranov
|
63e8bc1f20
|
Added new commands BACKUP and RESTORE.
|
2021-08-23 23:41:45 +03:00 |
|