mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
borg - add progress to initial Backup
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
56e3f27d6c
commit
9a207eab29
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,9 @@ if [ "$BORG_MODE" = backup ]; then
|
||||||
# auto,zstd compression seems to has the best ratio based on:
|
# auto,zstd compression seems to has the best ratio based on:
|
||||||
# https://forum.level1techs.com/t/optimal-compression-for-borg-backups/145870/6
|
# https://forum.level1techs.com/t/optimal-compression-for-borg-backups/145870/6
|
||||||
BORG_OPTS=(-v --stats --compression "auto,zstd" --exclude-caches)
|
BORG_OPTS=(-v --stats --compression "auto,zstd" --exclude-caches)
|
||||||
|
if [ "$NEW_REPOSITORY" = 1 ]; then
|
||||||
|
BORG_OPTS+=(--progress)
|
||||||
|
fi
|
||||||
|
|
||||||
# Exclude the nextcloud log and audit log for GDPR reasons
|
# Exclude the nextcloud log and audit log for GDPR reasons
|
||||||
BORG_EXCLUDE=(--exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/nextcloud.log*" --exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/audit.log")
|
BORG_EXCLUDE=(--exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/nextcloud.log*" --exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/audit.log")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue