Couchbase backup failure


#1

Hi,

 Is there a way to trigger a mail when backup is failed ?

#2

No. This is not currently possible. I will add it to our feature list for when we create our automated backup tool.


#3

Thank you @mikew. Is there any callback for the backup failure for now ? So that we can write our own logic to trigger an email


#4

There is no callback at the moment. We currently have two different back clients, one for community edition and one for enterprise in our 4.5 release. The cbbackupmgr (EE only) command will return a non-zero error code if there is a failure so if you’re scripting your commands you can use this error code to determine whether or not something failed. In cbbackup or cbtransfer which are now our CE tools there isn’t a guarantee that this error code will be reported correctly. This is an issue that we are currently working to fix.


#5

Thank you for the information @mikew