Miguel Almeida
2012-08-30 11:17:44 UTC
Hi,
Is there a way to send an email in case something goes wrong in your
backups?
I was looking at the log today and I saw:
[29/Aug/2012:15:28:39] /opt/bin/rsnapshot daily: ERROR: /opt/bin/rsync
returned 255 while processing ***@server.com:/mnt/hdc/snapshots/daily.0/
[29/Aug/2012:15:28:39] Rolling back "dataservicemachine/"
...
[29/Aug/2012:15:35:27] /opt/bin/rsnapshot daily:
ERROR: /opt/bin/rsnapshot daily: completed, but with some errors
Luckily this was caught today, but if I hadn't looked at the log in the
shell I wouldn't have caught it.
How do you guys usually do this? Do you create a script to analyze the
log?
Cheers,
Miguel Almeida
Is there a way to send an email in case something goes wrong in your
backups?
I was looking at the log today and I saw:
[29/Aug/2012:15:28:39] /opt/bin/rsnapshot daily: ERROR: /opt/bin/rsync
returned 255 while processing ***@server.com:/mnt/hdc/snapshots/daily.0/
[29/Aug/2012:15:28:39] Rolling back "dataservicemachine/"
...
[29/Aug/2012:15:35:27] /opt/bin/rsnapshot daily:
ERROR: /opt/bin/rsnapshot daily: completed, but with some errors
Luckily this was caught today, but if I hadn't looked at the log in the
shell I wouldn't have caught it.
How do you guys usually do this? Do you create a script to analyze the
log?
Cheers,
Miguel Almeida