Skip to content

error can't copy data to detached #801

Answered by Slach
bmailhe asked this question in Q&A
Discussion options

You must be logged in to vote

looks like you move your backup with rsync and didn't use remote storage? am i right?

Duplicated with #561
plan to fix in 2.5.0 (this is not easy as expected)

try to apply recommendations from #561 (comment)

you have two options here:

  1. add default disk to your default JBOD volume on destination with move_factor 0.1 for example and successfully restore backup if you have enough space in /var/lib/clickhouse/backup, after it apply ALTER TABLE db.table MOVE PART TO DISK 'ssd_XXX' to force move data between disks

  2. manually move parts from /var/lib/clickhouse/backup/backup_name/shadow/db/table/default/<part_name> to /var/lib/private/clickhouse/sdX/backup/backup_name/shadow/db/table/sdX/<part_…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bmailhe
Comment options

Answer selected by Slach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants