]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-new.c
lib: replace deprecated xapian call 'flush()' with 'commit()'
[notmuch] / notmuch-new.c
index 799fec2088489ee62882769a97a4097d22f08ae5..c55dea7bc1b7188522b2f2805fdf6a93ca12bf68 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, DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_TAGS, TRUE)) {
+                                      DUMP_FORMAT_BATCH_TAG, DUMP_INCLUDE_DEFAULT, TRUE)) {
                fprintf (stderr, "Backup failed. Aborting upgrade.");
                return EXIT_FAILURE;
            }