]> git.cworth.org Git - notmuch-wiki/commitdiff
update dump/restore usage to use --output/--input
authorPhilip Hands <phil@hands.com>
Thu, 15 Nov 2012 22:30:19 +0000 (22:30 +0000)
committerPhilip Hands <phil@hands.com>
Thu, 15 Nov 2012 22:30:19 +0000 (22:30 +0000)
howto.mdwn
performance.mdwn

index ed36b933d0109e2645e605f4886dcc4b9b7825f0..416d8f1eae2ed6db12b131677277aee60e0dc073 100644 (file)
@@ -136,11 +136,11 @@ However, for users running with databases created in older versions of
 notmuch, these tags are missing in pre-existing messages and need to be
 added.  One way to do this is as follows:
 
-        $ notmuch dump ~/out.nm
+        $ notmuch dump --output=~/out.nm
         $ mv ~/Mail/.notmuch ~/.notmuch.bak
         $ notmuch new
         $ notmuch tag -inbox -unread '*'
-        $ notmuch restore --accumulate ~/out.nm
+        $ notmuch restore --accumulate --input=~/out.nm
 
 At this point, one should run a sanity check on the tags, and if everything
 has merged correctly, the ~/.notmuch.bak directory is expendable, as is
index 8515e6a637bb196e6231c9bd115c117dbff1dd9d..4adb946bf77086aa263b560b3b023829af76823c 100644 (file)
@@ -27,7 +27,7 @@ XXX: add examples for different distributions
 Backup your notmuch tags:
 
     $ cd
-    $ notmuch dump notmuch-dump-b4chert
+    $ notmuch dump --output=notmuch-dump-b4chert
 
 Move away your old database:
 
@@ -48,7 +48,7 @@ After the initial import it is definitely not necessary to define
 
 Restore your tags:
 
-    $ notmuch restore notmuch-dump-b4chert
+    $ notmuch restore --input=notmuch-dump-b4chert
 
 Check whether you are on chert now:
 
@@ -80,7 +80,7 @@ This needs xapian 1.2
 Backup your database:
 
     $ cd
-    $ notmuch dump notmuch-dump-b4compact
+    $ notmuch dump --output=notmuch-dump-b4compact
 
 Compact it: