From 173303575ee18af7b6c443373908fde2f9cb3629 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 May 2019 21:59:51 -0300 Subject: Dump notmuch database during backup. --- scripts/backup.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/backup.sh b/scripts/backup.sh index b13108f..2baffea 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -25,6 +25,10 @@ fi BACKUP_TAG="${1-default}" +yellow "Creating backup of notmuch data" +notmuch dump --output=$HOME/mbsync/notmuch-dump.txt +green "Done" + yellow "Creating new borg archive entry" borg create \ --verbose \ -- cgit v1.2.3