btcpayserver-docker icon indicating copy to clipboard operation
btcpayserver-docker copied to clipboard

Backup: Add optional MariaDB

Open dennisreimann opened this issue 2 years ago • 1 comments

Tested backup and restore on an instance of mine and it works for me, but I wouldn't mind someone else also taking a look.

This is mostly related to the WooCommerce fragment, so maybe @ndeet can help review this.

In case the MariaDB container is present it gets dumped like the Postgres database container, restore checks if the MariaDB backup is present and restores it too.

I also verified this works on instances without the MariaDB container.

dennisreimann avatar Oct 01 '22 11:10 dennisreimann

Cheers, I actually need to move a testnet VM which runs a WP demo from Hetzner to a new provider. So I will test that with my instance the next couple of days. 👍

ndeet avatar Oct 03 '22 12:10 ndeet

I moved a testnet installation successfully from one VM to another VM including wordpress. Great work 👏

Will do a PR to make backup script not backup testnet blocks and other not needed stuff.

ndeet avatar Oct 18 '22 16:10 ndeet