diff options
author | EuAndreh <eu@euandre.org> | 2019-05-22 21:59:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-22 21:59:51 -0300 |
commit | 173303575ee18af7b6c443373908fde2f9cb3629 (patch) | |
tree | 11b463de2cf5ae4394c4021745a385ddfe30db36 /scripts/backup.sh | |
parent | Rename mail/not-much.el -> mail/notmuch.el (diff) | |
download | dotfiles-173303575ee18af7b6c443373908fde2f9cb3629.tar.gz dotfiles-173303575ee18af7b6c443373908fde2f9cb3629.tar.xz |
Dump notmuch database during backup.
Diffstat (limited to 'scripts/backup.sh')
-rwxr-xr-x | scripts/backup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |