fix: error "rsync lacks old-style –compress.."
This commit is contained in:
1 parent
f3705dc69b
commit
34cb94adf0
1 file changed
+2
-2
@@ -44,9 +44,9 @@ ssh -p $PORT -i $KEY $USER_AT_HOST "sudo sudo chmod -R +rx ${SBZ_MOUNT_PATH}/var
|
||||
ssh -p $PORT -i $KEY $USER_AT_HOST "sudo sed -i \"s|'maintenance' => false|'maintenance' => true|g\" $SBZ_MOUNT_PATH$NEXTCLOUD_PATH/config/config.php"
|
||||
|
||||
# rsync download from sbz
|
||||
rsync -az --progress $EXCLUDE -e "ssh -p $PORT -i $KEY" $USER_AT_HOST:${SBZ_MOUNT_PATH}${SOURCE_PATH} ${DEST_PATH_FILES}
|
||||
rsync -a -zz --progress $EXCLUDE -e "ssh -p $PORT -i $KEY" $USER_AT_HOST:${SBZ_MOUNT_PATH}${SOURCE_PATH} ${DEST_PATH_FILES}
|
||||
|
||||
# turn off nextcloud maintenance, outside the home-rob container
|
||||
# turn off nextcloud maintenancThis rsync lacks old-style --compress due to its external zlibe, outside the home-rob container
|
||||
ssh -p $PORT -i $KEY $USER_AT_HOST "sudo sed -i \"s|'maintenance' => true|'maintenance' => false|g\" $SBZ_MOUNT_PATH$NEXTCLOUD_PATH/config/config.php"
|
||||
|
||||
# umount my container
|
||||
|
||||
Reference in new issue
Block a user