diff --git a/backup.sh b/backup.sh index 5cb76b73..3c9d0ce1 100755 --- a/backup.sh +++ b/backup.sh @@ -45,7 +45,7 @@ rsync -azSHe ssh --delete $news backupcrans@tanek:/mnt/backup$week_mod2/var/spoo # Tanek peut alors écrire tous les fichiers, mais restauration non exacte # autre pb : rsync se plaint temp=$(mktemp) -rsync -azSHe ssh --delete $homes backupcrans@tanek:/mnt/backup$week_mod2 & > $temp || exit 0 +rsync -azSHe ssh --delete $homes backupcrans@tanek:/mnt/backup$week_mod2 &>$temp mail sayan@crans.org -s "[Roots] Bouh, rsync se plaint et le rtc est pas content" < $temp || exit 7 # clean