exclude versions, trash, uploads from backups

Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
nachoparker 2019-07-17 20:47:36 -06:00
parent 404907f922
commit 7663a90275
2 changed files with 10 additions and 2 deletions

View File

@ -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/ \
|| {

View File

@ -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