Tolère le code d'erreur 24 de rsync
Code d'erreur 24 : "Partial transfer due to vanished source files"
This commit is contained in:
parent
d5168ea69f
commit
d623bab8eb
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ function backup() {
|
|||
debug INFO "Export de la dernière sauvegarde du serveur $host (sauvegarde n° $( basename $latest )) ..."
|
||||
rsync -a --delete --numeric-ids --exclude='/dev/*' --exclude='/lib/udev/devices/*' --exclude='PaxHeader' --exclude='WinSxS/*' "$latest/" "$MNT_DIR/$host/"
|
||||
RES=$?
|
||||
if [ $RES -ne 0 ]
|
||||
if [ $RES -ne 0 -a $RES -ne 24 ]
|
||||
then
|
||||
debug ERREUR "Problème durant l'export de la sauvegarde du serveur $host (Code retour : $RES)" send
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue