Skip to content

Commit c392529

Browse files
committed
nc-backup: fix exclusion of ncp backups
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent c7c17f4 commit c392529

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/ncp/BACKUPS/nc-backup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ tar $compress_arg -cf "$destfile" \
8585
--exclude "$data/.opcache" \
8686
--exclude "$data/{access,error,nextcloud}.log" \
8787
--exclude "$data/access.log" \
88-
--exclude "$data/ncp-update-backups/" \
88+
--exclude "$data/ncp-update-backups" \
8989
-C "$(dirname "$datadir"/)" $data \
9090
\
9191
--exclude "nextcloud/data/*/files/*" \
9292
--exclude "nextcloud/data/.opcache" \
9393
--exclude "nextcloud/data/{access,error,nextcloud}.log" \
9494
--exclude "nextcloud/data/access.log" \
9595
--exclude "nextcloud/data/appdata_*/previews/*" \
96-
--exclude "nextcloud/data/ncp-update-backups/" \
96+
--exclude "nextcloud/data/ncp-update-backups" \
9797
-C $basedir nextcloud/ \
9898
|| {
9999
echo "error generating backup"

changelog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
[v1.13.2](https://github.com/nextcloud/nextcloudpi/commit/270ae92) (2019-06-03) fix upgrade
2+
[v1.13.2](https://github.com/nextcloud/nextcloudpi/commit/c24b3a3) (2019-06-17) nc-backup: fix exclusion of ncp backups
33

4-
[v1.13.1](https://github.com/nextcloud/nextcloudpi/commit/5de855f) (2019-06-01) ncp-web: avoid quotes in fields
4+
[v1.13.1 ](https://github.com/nextcloud/nextcloudpi/commit/5de855f) (2019-06-01) ncp-web: avoid quotes in fields
55

6-
[v1.13.0](https://github.com/nextcloud/nextcloudpi/commit/86f14ae) (2019-06-01) upgrade to NC15.0.8
6+
[v1.13.0 ](https://github.com/nextcloud/nextcloudpi/commit/86f14ae) (2019-06-01) upgrade to NC15.0.8
77

88
[v1.12.10](https://github.com/nextcloud/nextcloudpi/commit/5924131) (2019-06-01) fail2ban: fix missing ufw filter
99

0 commit comments

Comments
 (0)