File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ if [ -d "$BACKUP" ]
450
450
then
451
451
mkdir -p " $BACKUP " -OLD/" $DATE "
452
452
install_if_not rsync
453
- rsync -Aaxz --progress " $BACKUP " / " $BACKUP " -OLD/" $DATE "
453
+ rsync -Aaxz " $BACKUP " / " $BACKUP " -OLD/" $DATE "
454
454
rm -R " $BACKUP "
455
455
mkdir -p " $BACKUP "
456
456
fi
@@ -510,13 +510,15 @@ if [ -d $BACKUP/apps/ ]
510
510
then
511
511
print_text_in_color " $ICyan " " $BACKUP /apps/ exists"
512
512
echo
513
- printf " ${ IGreen} All files are backed up.${Color_Off} \n "
513
+ print_text_in_color " $IGreen " " All files are backed up."
514
514
occ_command maintenance:mode --on
515
515
countdown " Removing old Nextcloud instance in 5 seconds..." " 5"
516
516
rm -rf $NCPATH
517
+ print_text_in_color " $ICyan " " Extracting new package...."
517
518
tar -xjf " $HTML /$STABLEVERSION .tar.bz2" -C " $HTML "
518
519
rm " $HTML /$STABLEVERSION .tar.bz2"
519
- cp -R $BACKUP /config " $NCPATH " /
520
+ print_text_in_color " $ICyan " " Restoring config to Nextcloud..."
521
+ rsync -Aaxz $BACKUP /config " $NCPATH " /
520
522
bash $SECURE & spinner_loading
521
523
occ_command maintenance:mode --off
522
524
occ_command upgrade
You can’t perform that action at this time.
0 commit comments