-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email notification not sent if backup storage location is unavailable. #30
Comments
Sorry about the delay in the response. Which storage location, the NFS mount? You are saying I believe if the destination backup storage share is not available, the script fails and no notification is generated, correct? If so, we would have to look to see if this test is made. Please confirm. |
Thanks for taking the time to respond. Yes that's correct. I skimmed through the code and I don't think it's being done, but again, I only skimmed through it. |
Good suggestion! Many ways to check, but one option might be tun run a Linux "touch" command to see if the destination area is both accessible and writable. What do you think of that? |
I think that sounds like a very reasonable solution. Are there plans to integrate this idea into NAUbackup in the future at this point, or would I be best off making a modification on my own when I find some time? |
We can certainly take a look or if you want to write some code and pass it on to us, we'd be happy to take a look and see if we can integrate it directly. Right now, we're focused on implementing regex to use for selecting VMs to back up as opposed to the current, more limited wildcard mechanism. |
I haven't found time to try yet. I'm not very good with Python, but when I have some time I assume I can figure this much out. I'll let you know how it goes. |
I have worked out the code to do this and tested it. We hope to incorporate this check into the next release, which should be soon (days to a couple of weeks). |
Notification emails work great for me when everything works, or if there is a problem backing up an individual machine, but when the storage location is inaccessible, no emails are sent. This doesn't seem right. Is this by design?
The text was updated successfully, but these errors were encountered: