Open afabiani opened 4 years ago
There is currently no backup script.
Should we create one?
It would be safer for Resilience Academy to have a script in case there is a need to backup Resilience Academy data. But does this take much time?
@msilikale05 we can give you an estimate for this if needed.
Backup and restore procedures are documented here http://docs.geonode.org/en/2.8.1/tutorials/admin/backup_restore/index.html
@afabiani @simboss can you please advise if there's any different step needed for the latest GeoNode version?
@cgiovando @msilikale05 that scripts are still valid on a "standard" installation. ResilienceAcademy is a highly Dockerized environment, with different containers and external scripts allowing a system administrator to patch GeoNode templates at runtime. I believe that we will need some specific scripts in order to correctly bump and restore contents and volumes from the Docker containers. We did something similar for the GeoNode demo instance, however, in that case, we just had to backup users/groups, remove all the uploaded data and restore users/groups later on. So, it was more a cleanup script than a backup-restore one. However, with some additional work, that could probably be adapted to become a full backup-restore one. Of course, this will work assuming to restore the same containers.
We only customize and changes the pages but we don’t know how to back up or recover the data itself in case there are any issues.
Could you share the steps, or scripts on the backup and Recover of the data?