diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-06-18 02:06:00 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-06-18 02:07:34 +0300 |
commit | c39252919f46ff5440d7539c2364d61898873438 (patch) | |
tree | d8d945b4d4aba27df0d741b7d77aa96c78d553a2 /bin/ncp | |
parent | c7c17f4e8a2106599efc44d125cd0396cc2532a0 (diff) |
nc-backup: fix exclusion of ncp backupsv1.13.2
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/BACKUPS/nc-backup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp/BACKUPS/nc-backup.sh b/bin/ncp/BACKUPS/nc-backup.sh index b4cb457b..79683b61 100644 --- a/bin/ncp/BACKUPS/nc-backup.sh +++ b/bin/ncp/BACKUPS/nc-backup.sh @@ -85,7 +85,7 @@ tar $compress_arg -cf "$destfile" \ --exclude "$data/.opcache" \ --exclude "$data/{access,error,nextcloud}.log" \ --exclude "$data/access.log" \ - --exclude "$data/ncp-update-backups/" \ + --exclude "$data/ncp-update-backups" \ -C "$(dirname "$datadir"/)" $data \ \ --exclude "nextcloud/data/*/files/*" \ @@ -93,7 +93,7 @@ tar $compress_arg -cf "$destfile" \ --exclude "nextcloud/data/{access,error,nextcloud}.log" \ --exclude "nextcloud/data/access.log" \ --exclude "nextcloud/data/appdata_*/previews/*" \ - --exclude "nextcloud/data/ncp-update-backups/" \ + --exclude "nextcloud/data/ncp-update-backups" \ -C $basedir nextcloud/ \ || { echo "error generating backup" |