-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Disaster Recovery #427
Comments
Hi @scott-grimes and welcome!
Yes or if you use another DB (eg: PostgreSQL) use the dump tool of the DB to get the SQL dump.
Depends on you, consult influxdb docs for that. Some questions:
Anything in
Yes, user uploaded files (firmware images, floorplans, etc, in the directories mentioned above).
Restore files, restore DB, restore influxdb metrics with the influxdb restore tool if needed and wanted, start the application (eg: |
Thanks @nemesisdesign ! Done a bunch of tests for this over the last week. I'm using an external database, no influxdb for now. I currently don't have anything in the folders I've done a tear-down and rebuild a few times now successfully. Starting with a fresh vm I
Openwisp seems to start up just fine from this. The nginx config, etc all get rebuilt according to the playbook.yml and vars that are set there. I noticed in https://github.com/openwisp/docker-openwisp that only the following two paths are persisted for the openwisp container volumeMounts:
- name: openwisp-static-data
mountPath: /opt/openwisp/static
- name: openwisp-media-data
mountPath: /opt/openwisp/media Would backing up just those two directories (plus the database) suffice to rebuild an instance from scratch? Is there a reason that the |
It's simply docker-openwisp not keeping up. |
My org is evaluating openwisp as a potential solution for our mesh. I've not been able to find any documentation about backup and restore / disaster recovery.
I'm happy to write a PR to add a pointer to this document if it exists, and/or edit the readme in the docs repo to include a section on this if someone can point out what it would exactly entail
I'm assuming backups would entail:
Some questions:
The text was updated successfully, but these errors were encountered: