aboutsummaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-02-14 08:55:41 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-02-14 08:55:41 +0100
commit6f835fc7f1d5c1a31dae0a7818ce17c204481c1c (patch)
treeda447593d23c504eed806325edbca2fcfb8d2331 /docs/index.rst
parentMongoDB index on 'article_date' for each new collection. (diff)
downloadnewspipe-6f835fc7f1d5c1a31dae0a7818ce17c204481c1c.tar.gz
newspipe-6f835fc7f1d5c1a31dae0a7818ce17c204481c1c.tar.bz2
newspipe-6f835fc7f1d5c1a31dae0a7818ce17c204481c1c.zip
Updated documentation with information about how to use mongodump.
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 04ec5e38..0989689b 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -173,6 +173,15 @@ If you want to backup your database:
$ /etc/init.d/mongodb stop
$ cp /var/lib/mongodb/pyaggr3g470r.* ~
+Alternatively you can use **mongodump**:
+
+ $ mongodump --db pyaggr3g470r
+
+And **mongorestore** to restore the database:
+
+ $ mongorestore --db pyaggr3g470r dump/pyaggr3g470r/
+
+**mongorestore** only performs inserts into the existing database.
Demo
----
bgstack15