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 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥15 树莓派5怎么用camera module 3啊
  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥15 Attention is all you need 的代码运行
  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事: