brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

clickhouse Backup and Restore issue - tables are empty after the restore. #14870

Open core-ai-bot opened 2 years ago

core-ai-bot commented 2 years ago

Issue by kishorer00 Friday Jun 18, 2021 at 16:39 GMT Originally opened as https://github.com/adobe/brackets/issues/15360


Prerequisites

For more information on how to write a good bug report read here For more information on how to contribute read here

Description

click house Backup and Restore issue - tables are empty after the restore.

Click-house deployed using : https://dzone.com/articles/clickhouse-made-easy-getting-started-with-a-few-cl Trying Backup and Restore by checking Article: https://github.com/AlexAkulov/clickhouse-backup/releases/tag/v1.0.0

[Description of the bug or feature]

2.Restored to Newly deployed Clichouse server

./clickhouse-backup restore -c config.yml 'BACKUPDATA'

  1. Created the Backup again

    ./clickhouse-backup create -c config.yml

Backup fie Size 5.9M - File size comes down & a lot of tables are empty. Attachment for your reference.

Tried Below scenario as well ..

Steps to Reproduce

==================

  1. Deploy click-house docker container on CentOS 7 using the link: https://dzone.com/articles/clickhouse-made-easy-getting-started-with-a-few-cl
  2. Create some Databases and tables
  3. Try Backup and re-store ..After the Re-store verify the tables and content (rows/columns)

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Versions

Please include the OS and what version of the OS you're running. Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

Please help me with this ...

kishorer00 commented 2 years ago
pavan-datazip commented 1 year ago

@kishorer00 did you find solutions to this problem ? I am facing the same issue now and have no leads.

kishorer00 commented 1 year ago

Backups are creating the Hard links ,while generating the backups, once you copy the backup its showing the full size .. its already resolved in CH Foram