Thank you, will check it.
How to Take a Backup?
-
Hi,
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.
-
@srinik read the docs https://docs.nodebb.org/en/latest/upgrading/index.html#back-up-your-data
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):
-
here's the basic gist of my script for anyone thats curious