Back

Is there way to ensure the backup and restoration data 100% accurate?

  • 0
  • Self Hosted
  • Databases
Suiii
9 Sep, 2024, 06:42

So, there is a case I faced right now.

I have successfully backup (no error thrown) and restoration (no error thrown)

I can access console normally. However, I see I missed the newly created attribute (enabled) which was created after the backup. then I manually add via console then I see as attached picture. I suspect not fully delete during the restoration.

TL;DR
To ensure 100% accurate backup and restoration data, developers should use commands to wipe volumes and delete the database before restoration. The missing 'enabled' field in mariadb might suggest incomplete deletion during restoration. Be sure to wipe volumes before restoring to avoid such issues.
darShan
9 Sep, 2024, 06:47

make sure to wipe the volumes too before a restore.

Suiii
9 Sep, 2024, 06:49

Addition, there is no enabled field inside the mariadb.

Suiii
9 Sep, 2024, 06:49

wipe ? do you mean delete DB in console before restoration?

Suiii
9 Sep, 2024, 06:49

could you show me the command

Suiii
9 Sep, 2024, 06:59

inside the script, i already see the rm volumes

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more