Skip to content

Commit

Permalink
Temporarily place backup to BASEDIR
Browse files Browse the repository at this point in the history
Improves docker compatibility. Placing the backup file in /var/www/ will cause a failure in rolling back the update on containerized setups ("Can only restore from ext/btrfs/zfs filesystems"). The host filesystem is most likely compatible so using $BASEDIR as the backup location *should* solve this issue for most users.

Signed-off-by: MB-Finski <[email protected]>
  • Loading branch information
MB-Finski authored and theCalcaholic committed Dec 16, 2022
1 parent dbedac8 commit 4153398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp-update-nc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ wget -q "$URL" -O nextcloud.tar.bz2 || { echo "Error downloading"; exit 1; }

# backup
####################
BKPDIR=/var/www/
BKPDIR="$BASEDIR"
WITH_DATA=no
COMPRESSED=yes
LIMIT=0
Expand Down

0 comments on commit 4153398

Please sign in to comment.