From fceb4ca13415f09e8122bdd816b21980a68b21f6 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 30 May 2014 19:53:34 +0200 Subject: [PATCH] backup instructions for mongodb --- docs/upgrading/index.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/upgrading/index.rst b/docs/upgrading/index.rst index 12c1b3d1e0..6563835e86 100644 --- a/docs/upgrading/index.rst +++ b/docs/upgrading/index.rst @@ -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 ~~~~~~~~~~~~~~