Open paulthatjazz opened 3 months ago
Created a script (currently residing in my directory pjc36/backups/backup_lmt.sh
run with sh backup_lmt.sh prod
this creates a tar archive of the postgresql database (dump file) and a copy of the storage directory of the app.
Currently needs to be ran manually but will consider creating a way to schedule backups. Also creates a script file (restore.sh) which should update restore the lost data. This is unfortunately difficult to test. (works on dev environment)
Create a script (python) or functionality to scan the application and download all available datasets as well as some information to restore a server from them.