Skip to content

Commit

Permalink
exclude versions, trash, uploads from backups
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Jul 20, 2019
1 parent 404907f commit 7663a90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/ncp/BACKUPS/nc-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ tar $compress_arg -cf "$destfile" \
--exclude "nextcloud/data/.opcache" \
--exclude "nextcloud/data/{access,error,nextcloud}.log" \
--exclude "nextcloud/data/access.log" \
--exclude "nextcloud/data/appdata_*/previews/*" \
--exclude "nextcloud/data/appdata_*/preview/*" \
--exclude "nextcloud/data/*/uploads/*" \
--exclude "nextcloud/data/*/cache/*" \
--exclude "nextcloud/data/*/files_trashbin/*" \
--exclude "nextcloud/data/*/files_versions/*" \
--exclude "nextcloud/data/ncp-update-backups" \
-C $basedir nextcloud/ \
|| {
Expand Down
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

[v1.15.0](https://github.com/nextcloud/nextcloudpi/commit/f6e76e7) (2019-07-08) move to buster/PHP7.3
[v1.15.1](https://github.com/nextcloud/nextcloudpi/commit/dee51a3) (2019-07-17) exclude versions, trash, uploads from backups

[v1.15.0 ](https://github.com/nextcloud/nextcloudpi/commit/402a2c3) (2019-07-08) move to buster/PHP7.3

[v1.14.4 ](https://github.com/nextcloud/nextcloudpi/commit/68b3f8a) (2019-07-08) nc-previews: active by default

[v1.14.3 ](https://github.com/nextcloud/nextcloudpi/commit/85ebb39) (2019-07-06) nc-snapshot-sync: update btrfs-sync

Expand Down

0 comments on commit 7663a90

Please sign in to comment.