Backup Scenarios for successful SQL Server Restores and Recovery

  • vsrinivasan

    Mr or Mrs. 500

    Points: 513

    Comments posted to this topic are about the content posted at http://www.sqlserver

  • Dinesh Asanka

    SSChampion

    Points: 11058

    Good one!!!

    I have a concern,

    How can we check the backups.

    Is there any tools available Or do we have to text them manually




    My Blog: http://dineshasanka.spaces.live.com/

  • Dinesh Asanka

    SSChampion

    Points: 11058

    Good one!!!

    I have a concern,

    How can we check the backups.

    Is there any tools available Or do we have to text them manually




    My Blog: http://dineshasanka.spaces.live.com/

  • Yelena Varshal

    SSC-Dedicated

    Points: 34207

    Hello All,

    I have a simple script that queries MSDB database sysjobs and sysjobhistory from a simple ASP page. Remove the appropriate quotes if you run it from query analyzer

    strSQL = "select " & _

           " job_name = Substring(sj.name,1,20)," & _

       " step_name = Substring (' '+sjh.step_name,1,30)," & _

              " sjh.run_status," & _

              " sjh.run_date," & _

              " sjh.run_time," & _

              " sjh.run_duration" & _

      " from msdb.dbo.sysjobhistory sjh, msdb.dbo.sysjobs sj" & _

      " WHERE  (sj.job_id = sjh.job_id)" & _

     " and run_date >convert (int,(convert (char(8),getdate()-3,112)))" & _

     " ORDER BY run_date desc,run_time desc"

    My script connects in a loop to my several servers and gives me a table of job completions in my browser. You may write a simple VB script that does the same and schedule it. You can also use FileSystemObject to check what date and time the files in the backup directory are and alert you using email if the dates are incorrect.

    Regards,Yelena Varsha

  • Yelena Varshal

    SSC-Dedicated

    Points: 34207

    I have another comment on this article. It is very important where you put your backups to. You may backup transaction log every 15 min but your server is backed up to tape once a day. Here you go. The standard advice is to put a backup on the separate physical drive (not a different partition, but different physical drive or array). Good advice. Exceptions: I personally had a case when both (2 ) RAID 5 arrays failed at the same time. Another scenario when you really have 1 physical array. My strategy in this case is to create a second (or next) step to the job to copy backups to a network location rigth after they are completed. I use just regular Copy command OR you can use you server scheduler to do that.

    Regards,Yelena Varsha

  • saby

    SSCommitted

    Points: 1571

    Not much great artical as far as experience is con....

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply