1
0
Files
btcpayserver-docker/btcpay-backup.sh
d11n e87ef5d0b0 Backup and restore process (#641)
* Make db dump more modular

* Add basic backup and restore scripts

* Exit on error

* Exit with error code in case of missing file

* Determine volumes location programatically

A bit hacky, maybe there's a better way - open for suggestions!

* gzip database dump

* Restore database

* Fail on pipe errors

* Encrypt backup using gpg; improve log messages

* Ensure database container is up during dump and import

* Restore volumes
2022-06-02 16:43:05 +09:00

3.2 KiB
Executable File