Hi Alexey,
Thank you for your reply but I give it a try and well it's not really working.
What I've did:
- backup a table to S3 having his data stored on local disk from a shard1
- try to restore from S3 the backup to a table having his storage in S3 on the shard2
But I get this error: "DB::Exception: The table has a different definition" and indeed, if you look at the data stored in S3, we can see a folder called metadata that contains the SQL schema of the table that we just backup.
Maybe I've missed something?