Commit Graph

10 Commits

Author SHA1 Message Date
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
d11n
92442b05ce
Backup script fixes (#634)
Previous version didn't include the postgresql.sql file, because of the exclude rule. Also, as the dump is now included, we exclude the contents of the postgres container.
2022-05-25 20:56:59 +09:00
Patrick
776fdbeeb1
S3 backup provider (#438)
* Add S3 backup provider

Allows upload to S3

* Update backup.sh

* Update backup.sh

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

* Update backup.sh

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-14 12:09:13 +02:00
d11n
8bd3b65b5a
Improve and document backup script, add scp option (#429)
* Improve and document backup script, add scp option

* dump_db as helper function

* Add option to only dump the database
2021-01-22 13:53:53 +09:00
Juraj Bednar
b6840b9509 Refine backup script (#175)
* Add litecoin datadir to exclude

If you are running a litecoin node, litecoin datadir does not need to be included. It is only exclude, so no error in case of pure bitcoin install.

* Add huge fat warning to the backup script

If someone is looking around and trying to find a good backup solution, make sure they know the limitations
2019-07-23 16:35:52 +09:00
Juraj Bednar
1e0429ae82 Add litecoin datadir to exclude (#174)
If you are running a litecoin node, litecoin datadir does not need to be included. It is only exclude, so no error in case of pure bitcoin install.
2019-07-23 16:35:07 +09:00
Jeff Vandrew Jr
2931cb93d4 volumes only 2019-03-27 01:24:47 -04:00
Jeff Vandrew Jr
e209199a2a new script for custom filenames 2019-03-26 11:34:20 -04:00
Jeff Vandrew Jr
045aa8d92b dockerize script 2019-03-26 02:19:20 -04:00
Jeff Vandrew Jr
77bdee9443 add backup 2019-03-25 11:08:52 -04:00