Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.16k stars 128 forks source link

Restore successful but no data and drop table when restore #211

Open farisam opened 2 years ago

farisam commented 2 years ago

Hi guys, I just want to ask about replibyte restore dump, when I restore, always no data. and I tried also to restore to same database, it only drop cascade the db but the data is not there. can you help me?

root@ip-10-10-10-10:/replibyte/Replibyte/target/release# replibyte -c conf.yaml dump restore remote -v replibyte/postgres/restore/database_20220810082830 
Restore successful!
evoxmusic commented 2 years ago

Hi @farisam, I am not sure that the parameter -v replibyte/postgres/restore/database_20220810082830 is the correct one. Can you run replibyte -c conf.yaml dump list to list all your available dump?

farisam commented 2 years ago

hi @evoxmusic yes, the list are available

root@ip-10-10-10-10:/replibyte/Replibyte/target/release/target/release# ./replibyte -c conf.yaml dump list ⠁ name | size | when | compressed | encrypted ---------------------------------------------------------------------+-----------+----------------+------------+----------- replibyte/postgres/restore/database_20220810121658 | 5 MB | 45 minutes ago | true | false replibyte/postgres/restore/database_20220810082830 | 5 MB | 1 hour ago | true | false

farisam commented 2 years ago

and also when I check S3, the dump was created. and restore always successfully , but no data after restore.

farisam commented 2 years ago

any update @evoxmusic ?

evoxmusic commented 2 years ago

Hi @farisam , unfortunately, I didn't have the time yet to take a look. I will keep you posted.

farisam commented 2 years ago

Thank you @evoxmusic 🙏

michaelrode commented 1 year ago

Same issue for me using Mongo