Skip to content

Commit 23f3574

Browse files
author
twojstaryzdomu
committed
ncp-backup: Compress by default if COMPRESS in nc-backup.cfg is set to 'yes'
1 parent 0411d40 commit 23f3574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ncp-backup

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111

1212
destdir="${1:-$(find_app_param nc-backup DESTDIR)}"
1313
includedata="${2:-no}"
14-
compress="${3:-no}"
14+
compress="${3:-$(find_app_param nc-backup COMPRESS)}"
1515
backuplimit="${4:-0}"
1616

1717
destfile="$destdir"/nextcloud-bkp_$( date +"%Y%m%d_%s" ).tar

0 commit comments

Comments
 (0)