diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-07-18 05:47:36 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-07-20 19:46:33 +0300 |
commit | 7663a90275f8cfe88e8a4bf8269032b3dc3cf7b8 (patch) | |
tree | d894fa31cb8af0cf6b5b827ce5d7a032c3e256bf /bin/ncp | |
parent | 404907f922ffd487c848a9aeac5b70292acd535b (diff) |
exclude versions, trash, uploads from backupsv1.15.1
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/BACKUPS/nc-backup.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ncp/BACKUPS/nc-backup.sh b/bin/ncp/BACKUPS/nc-backup.sh index 79683b61..b3c7ae3f 100644 --- a/bin/ncp/BACKUPS/nc-backup.sh +++ b/bin/ncp/BACKUPS/nc-backup.sh @@ -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/ \ || { |