Skip to content

Add new commands BACKUP and RESTORE (part 1)#21945

Merged
vitlibar merged 6 commits intoClickHouse:masterfrom
vitlibar:backup
Aug 24, 2021
Merged

Add new commands BACKUP and RESTORE (part 1)#21945
vitlibar merged 6 commits intoClickHouse:masterfrom
vitlibar:backup

Conversation

@vitlibar
Copy link
Copy Markdown
Member

@vitlibar vitlibar commented Mar 20, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category:

  • New Feature

Changelog entry:
Added new commands BACKUP and RESTORE.


EARLY STAGE (NOT READY FOR PRODUCTION)

@vitlibar vitlibar added the do not test disable testing on pull request label Mar 20, 2021
@robot-clickhouse robot-clickhouse added doc-alert pr-feature Pull request with new product feature labels Mar 20, 2021
@vitlibar vitlibar force-pushed the backup branch 3 times, most recently from f72f516 to 483641f Compare August 3, 2021 15:44
@vitlibar vitlibar force-pushed the backup branch 2 times, most recently from ac69842 to 173801d Compare August 16, 2021 01:02
@vitlibar vitlibar force-pushed the backup branch 4 times, most recently from 40fde35 to fbc2a13 Compare August 21, 2021 20:06
@vitlibar vitlibar removed do not test disable testing on pull request doc-alert labels Aug 21, 2021
@vitlibar vitlibar changed the title [WIP] Added new commands BACKUP and RESTORE. Added new commands BACKUP and RESTORE. Aug 21, 2021
@vitlibar vitlibar marked this pull request as ready for review August 21, 2021 20:07
@vitlibar vitlibar changed the title Added new commands BACKUP and RESTORE. Added new commands BACKUP and RESTORE (part 1) Aug 21, 2021
@vitlibar vitlibar changed the title Added new commands BACKUP and RESTORE (part 1) Add new commands BACKUP and RESTORE (part 1) Aug 21, 2021
@vitlibar vitlibar force-pushed the backup branch 9 times, most recently from 9112426 to 55e174e Compare August 23, 2021 11:13
@vitlibar
Copy link
Copy Markdown
Member Author

vitlibar commented Aug 24, 2021

Failures are not related to this PR:

Functional stateless tests (thread):

00489_pk_subexpression:
Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 5.00, current rows: 6.00. (TOO_MANY_ROWS)

Integration tests:

test_dictionaries_all_layouts_separate_sources/test_cassandra.py:
AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'localize'

Testflows check:

/clickhouse/datetime64 extended range:
ModuleNotFoundError: No module named 'pytz'

@vitlibar vitlibar merged commit 355cc09 into ClickHouse:master Aug 24, 2021
@vitlibar vitlibar deleted the backup branch August 24, 2021 05:28
@DipalPrajapati
Copy link
Copy Markdown

Where can I find this backup and restore commands?

@Slach
Copy link
Copy Markdown
Contributor

Slach commented Sep 17, 2021

@DipalPrajapati
it will be available when 21.10 released as stable
you can try to use a testing package repostitory
look to https://clickhouse.tech/docs/en/getting-started/install/
and replace "stable" to "testing"
or try to download packages from https://github.com/ClickHouse/ClickHouse/releases/

@vitlibar
Copy link
Copy Markdown
Member Author

vitlibar commented Oct 4, 2021

Where can I find this backup and restore commands?

This feature is in early stage, it's not recommended for production use yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature Pull request with new product feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants