SQL Backup Restore-only version

nirupamnirupam Posts: 3
edited July 5, 2012 7:31AM in SQL Backup Previous Versions
Hi,

We have recently built a setup where the backups of Server1 are restored overnight to Server2. Server1 has SQL Backup full version installed whereas Server2 has the Read-only version. However, it appears not all restore functions are available in the Restore-only version (e.g. disconnect connections before restore).

Is there a way an alert mail can be configured so we get to know when the restore failed?

Thanks in advance.
Nirupam

Comments

  • peteypetey Posts: 2,358 New member
    The read-only version cannot send e-mails out either. To send e-mails when SQL Backup encounter errors, you'll need to use the e-mail notification features in SQL Server Agent.
    Peter Yeoh
    SQL Backup Consultant Developer
    Associate, Yohz Software
    Beyond compression - SQL Backup goodies under the hood, updated for version 8
  • petey wrote:
    The read-only version cannot send e-mails out either. To send e-mails when SQL Backup encounter errors, you'll need to use the e-mail notification features in SQL Server Agent.

    Hi Petey,

    Thanks for your response.

    The problem also was that SQLBackup does not raise an error back to SQL for any failure therefore the failure went unreported in SQL. I have worked around it by using the exitcode and sqlerrorcode output parameters of SQLBackup to fetch the SQLBackup error back to SQL.

    Cheers!
    Nirupam
Sign In or Register to comment.