[gull] Problème rsync depuis crontab
Cyril Jaquier
cyril.jaquier at jaqpot.net
Thu Feb 21 10:28:20 CET 2008
Bonjour Pierre,
> Je ne comprends pas ce que signifie ce buffer overflow et ne sais pas
> comment empoigner ce problème. Est-ce que quelqu'un aurait une piste à
> me donner...?
>
Pas d'idées concernant ce buffer overflow mais personnellement, j'ai un
script "rsync-backups" qui est appelé par cron chaque jour :
0 5 * * * /home/cyril/rsync-backup
Le script :
#!/bin/bash
HOST="my.server.com"
HOST_DIR="cyril at my.server.com:/var/backups"
# External host
ping -W1 -c3 -q "$HOST" > /dev/null 2>&1
if [ "$?" -eq 0 ]; then
rsync -av --delete --quiet "$HOST_DIR" /home/cyril/nobackup
fi
Salutations.
Cyril Jaquier
More information about the gull
mailing list