How can we help you today? How can we help you today?

SQL Backup Restore-only version

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
nirupam
0

Comments

2 comments

  • petey
    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.
    petey
    0
  • nirupam
    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
    nirupam
    0

Add comment

Please sign in to leave a comment.