]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - notmuch-new.c
CLI: add optional config data to dump output.
[notmuch.git] / notmuch-new.c
index 2d975eb5b640f4561864372f64612f0e7d4fe94b..8d1545e1d97337b777f1b34d94ca923b7a3d5bec 100644 (file)
@@ -1042,7 +1042,7 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[])
            }
 
            if (notmuch_database_dump (notmuch, backup_name, "",
-                                      DUMP_FORMAT_BATCH_TAG, TRUE)) {
+                                      DUMP_FORMAT_BATCH_TAG, DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_TAGS, TRUE)) {
                fprintf (stderr, "Backup failed. Aborting upgrade.");
                return EXIT_FAILURE;
            }