| Author |
Message |
nirupam
Joined: 03 Jul 2012 Posts: 2
|
Posted: Tue Jul 03, 2012 3:29 pm Post subject: 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 |
|
| Back to top |
|
 |
petey
Joined: 24 Apr 2005 Posts: 2215
|
Posted: Wed Jul 04, 2012 4:03 am Post subject: |
|
|
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 7 |
|
| Back to top |
|
 |
nirupam
Joined: 03 Jul 2012 Posts: 2
|
Posted: Thu Jul 05, 2012 12:31 pm Post subject: Re: |
|
|
| 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 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group