How to Take a Backup?
srinik last edited by
Do we have an inbuilt feature in NodeBB to take an automatic backup of the forum?
If no, then how one should take a backup?
Are there any plugins for it ...like wordpress plugins?
Please let me know.
Thanks in advance.
NodeBB itself cannot make an automatic backup.
@srinik: you can write bash or python script (whichever you prefer) which stops mongodb service, runs mongodump and starts mongodb again. You should make a cron job which runs your script once per week (example).
Look at the following code (bash):
phit last edited by
here's the basic gist of my script for anyone thats curious