summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/backup.sh b/backup.sh
index 9141131..e64c9bd 100755
--- a/backup.sh
+++ b/backup.sh
@@ -95,12 +95,11 @@ backup_borg() {
--verbose
--numeric-owner
--compression lz4
- --stats
--exclude-from "$TMPDIR/exclude-list-borg"
)
if tty -s; then
- options+=(--progress)
+ options+=(--progress --stats)
fi
borg create "${options[@]}" "$dst::backup-$(date "+%Y%m%d-%H%M%S")" "$src"