mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-31 10:00:47 +08:00
just exclude the whole dir on restore
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b02d5cde1a
commit
6b6500c29d
1 changed files with 2 additions and 1 deletions
|
@ -262,7 +262,8 @@ if [ "$BORG_MODE" = restore ]; then
|
|||
--exclude "nextcloud_aio_mastercontainer/data/daily_backup_running" \
|
||||
--exclude "nextcloud_aio_mastercontainer/data/session_date_file" \
|
||||
--exclude "nextcloud_aio_mastercontainer/data/configuration.json" \
|
||||
--exclude "nextcloud_aio_apache/caddy/ocsp/"** \
|
||||
--exclude "nextcloud_aio_apache/caddy/"** \
|
||||
--exclude "nextcloud_aio_mastercontainer/caddy/"** \
|
||||
/tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes; then
|
||||
echo "Something failed while restoring from backup."
|
||||
umount /tmp/borg
|
||||
|
|
Loading…
Reference in a new issue