From: Philip Hands Date: Thu, 15 Nov 2012 22:30:19 +0000 (+0000) Subject: update dump/restore usage to use --output/--input X-Git-Url: https://git.cworth.org/git?p=obsolete%2Fnotmuch-wiki;a=commitdiff_plain;h=02404d2354e769c1666cc83dae7909f9efea9e85 update dump/restore usage to use --output/--input --- diff --git a/howto.mdwn b/howto.mdwn index ed36b93..416d8f1 100644 --- a/howto.mdwn +++ b/howto.mdwn @@ -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 diff --git a/performance.mdwn b/performance.mdwn index 8515e6a..4adb946 100644 --- a/performance.mdwn +++ b/performance.mdwn @@ -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: