dongzhi9032 2013-09-17 12:01
浏览 43

有关Backup Exec 2010自定义报告的任何想法吗?

My company is responsible for backups on a number of servers for one of our clients. The backup servers are all running Backup Exec 2010. At the end of each month we need to provide a report on how many jobs failed during the month, the reason etc. Currently our techs check a number of success/fail emails each day and record the results in a database. The monthly report then pulls the data from here.

What I am looking at doing now is automating the procedure of a human having to read the success/fail emails every day. Backup Exec allows you access to the SQL database it runs on so that is one way to go. The other would be to direct the success/fail emails to a mailbox and run a script to programatically parse the emails and get the stats that way.

Has anyone had any experience with something similar and can you offer any tips? My background is php/mysql and I will likely be using php to gather the data one way or the other. Thanks.

  • 写回答

1条回答 默认 最新

  • duannao3402 2013-09-17 12:29
    关注

    I would keep the emails only for information.

    I will use database for managing stats and result of automated tasks.

    Simple example of automated tasks with ability to log the result to email or db:

    public function processReceivedBankTransfers($records)
        {
            //call cron watch function
            $cronWatch = $this->_getCronWatch(); 
    
            // Start you cron watch
            $process = $cronWatch->startProcess("Process bank transfers");
    
            $today = date("Y-m-d");
            ........
    
    
            for ($i = 0; $i < count($records); $i++)
            {
    
                ...........
    
                // add the result of you action to db or email or .... 
                $process->addStep($refNo);
            }
            //after the function finish close your cronwatch 
            $process->finish();
    
            return $records;
    } 
    
    评论

报告相同问题?

悬赏问题

  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?