Skip to content

Commit 7663a90

Browse files
committed
exclude versions, trash, uploads from backups
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent 404907f commit 7663a90

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bin/ncp/BACKUPS/nc-backup.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ tar $compress_arg -cf "$destfile" \
9292
--exclude "nextcloud/data/.opcache" \
9393
--exclude "nextcloud/data/{access,error,nextcloud}.log" \
9494
--exclude "nextcloud/data/access.log" \
95-
--exclude "nextcloud/data/appdata_*/previews/*" \
95+
--exclude "nextcloud/data/appdata_*/preview/*" \
96+
--exclude "nextcloud/data/*/uploads/*" \
97+
--exclude "nextcloud/data/*/cache/*" \
98+
--exclude "nextcloud/data/*/files_trashbin/*" \
99+
--exclude "nextcloud/data/*/files_versions/*" \
96100
--exclude "nextcloud/data/ncp-update-backups" \
97101
-C $basedir nextcloud/ \
98102
|| {

changelog.md

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

2-
[v1.15.0](https://github.com/nextcloud/nextcloudpi/commit/f6e76e7) (2019-07-08) move to buster/PHP7.3
2+
[v1.15.1](https://github.com/nextcloud/nextcloudpi/commit/dee51a3) (2019-07-17) exclude versions, trash, uploads from backups
3+
4+
[v1.15.0 ](https://github.com/nextcloud/nextcloudpi/commit/402a2c3) (2019-07-08) move to buster/PHP7.3
5+
6+
[v1.14.4 ](https://github.com/nextcloud/nextcloudpi/commit/68b3f8a) (2019-07-08) nc-previews: active by default
37

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

0 commit comments

Comments
 (0)