Skip to content

Commit

Permalink
nc-backup: fix exclusion of ncp backups
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Jun 17, 2019
1 parent c7c17f4 commit c392529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/ncp/BACKUPS/nc-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ 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/*" \
--exclude "nextcloud/data/.opcache" \
--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"
Expand Down
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

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

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

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

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

Expand Down

0 comments on commit c392529

Please sign in to comment.