opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
136 stars 35 forks source link

Suggested way of backing up ONA? #114

Closed ChinookTx closed 6 years ago

ChinookTx commented 6 years ago

This is not a problem per say, but I'm wondering if there is a suggested way of backing up ONA for easy recovery/restore.

I'm contemplating upgrading hardware and don't quite remember everything I had to do to make it work on my current platform.

Would a mysql dump of the DB and tar of /opt/ona be enough? Am I forgetting anything?

mattpascoe commented 6 years ago

You pretty much have the idea.

I went ahead and put a wiki page on backups to give some other ideas.

I also typically just do a git clone of the ona repo into /opt/ona.. then this way if I make any changes to anything I can do a git diff and see exactly what I changed. This is just an alternative thought.