bradamelton / saberfin.io

Issues for the https://saberfin.io website
0 stars 0 forks source link

Backups #3

Closed bradamelton closed 2 years ago

bradamelton commented 2 years ago

Procedures and files for saving and restoring the mongo db.

Verify procedures for restoring server itself.

bradamelton commented 2 years ago

Check out SCP?

First lets get these local. Then we can look to pushing to S3 or somethin'.

bradamelton commented 2 years ago

ok, need to run mongodump inside a docker inside the saber network.

bradamelton commented 2 years ago

Scripts are working. Need to Cron them on both saberfin and farstar.

bradamelton commented 2 years ago

Also perform a local restore to verify.

I can use this to debug why the Current isn't working for that one too.

bradamelton commented 2 years ago

Cron scheduled (scripts also created.) Check tomorrow if it updates.

bradamelton commented 2 years ago

Create restore scripts. Restore remote locally for testing.

Can test this repeatedly by dropping mongo and deleteing volume. Then composing and restoring.

bradamelton commented 2 years ago

Backups are coming in on schedule.

Just need to verify restore.

bradamelton commented 2 years ago

Looking good. scripts/backup-host/local-restore.sh