From ea24a4bda841d6c3043a4ac7915088f6cbecbdaa Mon Sep 17 00:00:00 2001 From: Theo Vallet Date: Mon, 18 Jan 2021 09:36:22 +0100 Subject: [PATCH] modif backup.sh --- roles/s-backup/files/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/s-backup/files/backup.sh b/roles/s-backup/files/backup.sh index 13f4b5a..24a32e4 100755 --- a/roles/s-backup/files/backup.sh +++ b/roles/s-backup/files/backup.sh @@ -6,7 +6,7 @@ SWIN=/tmp/s-win [ -d "${BDIR}" ] || mkdir "${BDIR}/s-win" [ -d "${SWIN}" ] || mkdir "${SWIN}" -mount -t cifs -o ro,vers3.0,username=u-backup,password=Azerty1+ //s-win/commun "${SWIN}" +mount -t cifs -o ro,vers=3.0,username=u-backup,password=Azerty1+ //s-win/commun "${SWIN}" if [ $? != 0 ] ; then echo "$0 : erreur montage ${SWIN}" exit 1 @@ -15,7 +15,7 @@ rsync -av "${SWIN}/" "${BDIR}/s-win/commun" umount "${SWIN}" -mount -t cifs -o ro,vers3.0,username=u-backup,password=Azerty1+ //s-win/public "${SWIN}" +mount -t cifs -o ro,vers=3.0,username=u-backup,password=Azerty1+ //s-win/public "${SWIN}" if [ $? != 0 ] ; then echo "$0 : erreur montage" exit 2