mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #455 from nextcloud/enh/47/auto-backup
add option to enable daily backups
This commit is contained in:
commit
888d16d790
19 changed files with 314 additions and 16 deletions
|
|
@ -178,6 +178,7 @@ if [ "$BORG_MODE" = restore ]; then
|
|||
if ! rsync --stats --archive --human-readable -vv --delete \
|
||||
--exclude "nextcloud_aio_mastercontainer/session/"** \
|
||||
--exclude "nextcloud_aio_mastercontainer/certs/"** \
|
||||
--exclude "nextcloud_aio_mastercontainer/data/daily_backup_running" \
|
||||
--exclude "nextcloud_aio_mastercontainer/data/configuration.json" \
|
||||
/tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes; then
|
||||
echo "Something failed while restoring from backup."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue