GraseHotspot / grase-www-portal

Grase WWW Portal (Main Package)
52 stars 20 forks source link

Feature Request: Backup / Restore DB #185

Open rstrich opened 4 years ago

rstrich commented 4 years ago

Hi been using your software for a while in my home now, absolutely love it, however as the software is in my home it's running on 'second rate' kit, things like Hard drive failures are pretty regular, I think it would be handy to have a database backup / restore button within the admin console, I appreciate this can all be done through Ubuntu's CLI, but would save time if the db could be exported, and re-imported to another DB instance (eg if a machine has been rebuilt.

Personally I've gotten round this by using VM and just backing up the entire VM, but suspect it could be of use to someone else.

Best Regards

timwhite commented 4 years ago

Hi @rstrich Currently we automatically backup to /var/backups/grase nightly with a database dump of the relevant files. You can setup a script that automatically copies the newest files from the directory to a different device. V4 has a script for importing backups, so we're almost at the point of having this feature.