Backup & Recovery

 View Only
  • 1.  vdr mail report

    Posted Sep 07, 2009 01:01 PM

    How to make automatically email reportings for VDR appliance?

    For ex. email about successful or error in backup job(s).



  • 2.  RE: vdr mail report

    Posted Sep 07, 2009 01:31 PM

    It's not possible. Simple as that.

    VDR is not capable of doing something as ``sophisticated'' as sending emails about (un)successful backups. I couldn't even find a logfile on the filesystem of the appliance that I could parse with a script or something.



  • 3.  RE: vdr mail report

    Posted Sep 07, 2009 02:30 PM

    I thought that some kind of logs from vdr a here:

    root@localhost:~# cd /var/vmware/datarecovery/

    chunkDedupe-0.log Config10.dat operations_log.utx VMDRExec.dir/

    chunkDedupe-9.log datarecovery-0.log vcbAPI-0.log

    chunkDedupe-index datarecovery-9.log vcbAPI-9.log

    Config10.bak datarecovery-index vcbAPI-index



  • 4.  RE: vdr mail report

    Posted Sep 09, 2009 01:40 AM

    From what I have found, what you see in the VDR plugin -> Configuration -> Log is found inside the following file

    /var/vmware/datarecovery/operations_log.utx

    This file is binary but using "strings -e l" of this file gives readable text and looks to be in a format that can be parsed and email out.



  • 5.  RE: vdr mail report

    Posted Sep 09, 2009 06:55 AM

    I'm not very familiar with linux.

    How can i parse and email successful backup job strings from this file: operations_log.utx[/i]?



  • 6.  RE: vdr mail report

    Posted Sep 11, 2009 10:19 AM

    If you're not familar with Linux...you need to get familar!

    I don't mean to sound condescending, I'm a LInux Novice/Intermediate, also. I'm comfortable enough to manage a Linux system, write scripts, and troubleshoot. There many resources on the web to help orient you to using Linux...google "linux tutorial".

    Even if someone here could give you a script to parse and e-mail the file, you shouldn't just accept it without understanding it. ...just my advice...

    As far as the concept goes...I'm with you...WHY DIDN'T THEY INCLUDE SOME TYPE OF ERROR NOTIFICATION?!? I'll you why...VDR is an immature backup product that, at best, is rudimentary. I'm confident that in a few years, it could be the premier backup solution for VMs. Until then you better find another solution and let VDR "bake-in-the-oven" a bit longer.



  • 7.  RE: vdr mail report

    Posted Dec 22, 2009 02:13 PM

    Did you ever come up with a solution to this problem? I'm in the process of writing a script for this but would be interested in how other people solved it. For my script all i want to get in email is Succes or Failure followed by the server name. Looking at the log file I think this is doable. What did you end up with?

    -Gunnar



  • 8.  RE: vdr mail report

    Posted Sep 24, 2009 02:52 PM

    As a system admin, I recommend using biterscripting for log file parsing. I started with the script posted at and modified it to suit our requirements.

    Patrick



  • 9.  RE: vdr mail report

    Posted Feb 10, 2010 03:24 PM