I am looking for a complete backup solution for my NodeBB forum. I am running the forum on a Linux server, I don’t think backing up the whole virtual machine is in the cards, so I am looking for a script solution. Here is the summary of what I am looking for in a backup solution:
- Take daily full backups of nodebb
- Upload the backup to another server
- Ability to quickly restore the full backup (in minutes) on any server
I have looked at some existing discussions like any backup plugin?, redis backup and Upgrade docs. But I have not found a complete answer yet.
This is what I think a full daily backup should contain:
- all discussions (full database)
- all images and uploaded files
- all installed plugins
Is there anything else that should be in the full backup to include any other customization/modifications to NodeBB?
Now I understand why a backup solution is not implemented as part of ACP or a plugin. To be honest I dont think NodeBB itself would have to solve this issue, as backing up installation can be different depending on the environment you are running it. However, I think in cases like mine something can be done as a script or event better wrapped in an npm module. Does anyone has a solution along this line that they are willing to share?
ps: this is the only thing I need to solve before moving my community mailing list to our brand new NodeBB powered site