Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen committed Feb 4, 2025
1 parent aad87cd commit 47a9792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containers/borgbackup/backupscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ if [ "$BORG_MODE" = backup ]; then
echo "⚠️⚠️⚠️ '.noaiobackup' file was found in Nextclouds data directory. Excluding it from backup!"
# Exclude preview folder if .noaiobackup file was found
# shellcheck disable=SC2144
elif [ -f /nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/appdata_*/preview/.noaiobackup ]; then
# elif [ -f /nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/appdata_*/preview/.noaiobackup ]; then
BORG_EXCLUDE+=(--exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/appdata_*/preview/")
BORG_INCLUDE+=(--pattern="+/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/appdata_*/preview/.noaiobackup")
echo "⚠️⚠️⚠️ '.noaiobackup' file was found in the preview directory. Excluding it from backup!"
Expand Down

0 comments on commit 47a9792

Please sign in to comment.