bggo / Zmbkpose

The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL(OPENSOURCE). It can run from any host in the net, which means that it can be set on a backup server already existent.
http://wiki.zimbra.com/wiki/HOT_Backup_and_HOT_Restore
GNU General Public License v3.0
79 stars 55 forks source link

Script does not detect wrong password #48

Open neotheonce opened 10 years ago

neotheonce commented 10 years ago

Zmbkpose should capture authentication failure errors. Currently it just goes on creating empty archives. which is dangerous and if one fails to notice it, the backup rotation job will wipe out all valid past backups.

Requirement.

  1. Detect password failure while connecting zimbra server
  2. Send notification to an email-id about failed backup
  3. Log to syslog about the error.
brunogui0812 commented 9 years ago

I have a problem with this. My backups was not executing because a wrong password, but it didn't notified me...

Please fix this.