I am curious to know what other people are doing for a successful backup and restore of their Wappler PostgreSQL databases.
I’ve been doing some internal testing myself and successfully backup using the pg_dump command using multiple methods such as .tar archive or plain text .sql file but struggle with the pg_restore or the psql option. Either failing completely or complaining about “new data duplicate key value violates unique constraint” when trying to enter new data after the data has been successfully restored. I can enter data twice and on the second try it works but obviously I am doing it wrong.
I am aware of the built-in option of “Save Database Data and Structure” but that has never worked for me and that is something at least that I am aware of you cannot do on an automatic schedule so not the best option regardless.
Thanks for any insights