mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-23 04:40:36 +01:00
Merge pull request #1610 from JonathanMH/patch-1
backup instructions for mongodb
This commit is contained in:
@@ -78,7 +78,13 @@ All of the textual data stored in NodeBB is found in a ``.rdb`` file. On typical
|
||||
Backing up MongoDB
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
TBA
|
||||
To run a backup of your complete MongoDB you can simply run
|
||||
|
||||
mongodump
|
||||
|
||||
which will create a directory structure that can be restored with the `mongorestore` command.
|
||||
|
||||
It is recommended that you first shut down your database. On Debian / Ubuntu it's likely to be: `sudo service mongodb stop`
|
||||
|
||||
Backing up LevelDB
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user