Skip to content

Commit 4153398

Browse files
MB-FinskitheCalcaholic
authored andcommitted
Temporarily place backup to BASEDIR
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 <64466176+MB-Finski@users.noreply.github.com>
1 parent dbedac8 commit 4153398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ncp-update-nc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ wget -q "$URL" -O nextcloud.tar.bz2 || { echo "Error downloading"; exit 1; }
9494

9595
# backup
9696
####################
97-
BKPDIR=/var/www/
97+
BKPDIR="$BASEDIR"
9898
WITH_DATA=no
9999
COMPRESSED=yes
100100
LIMIT=0

0 commit comments

Comments
 (0)