|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
Please remove the commented lines written before the < HTML > tag.
Pradeep Singh
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, December 07, 2009 9:05 PM
Points: 2,
Visits: 13
|
|
Hi Pradeep
Can we get this as vbs file so that it can be scheduled?
Thanks
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
Hi Praveen,
Good point. I'll try to write this into a vbs file (i'm actually not too competent in vb scripting, learnt recently). Even then it'd prompt you twice with a message that "the script is running slow, do you want to abort it" where we've to select the option NO.
Pradeep Singh
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, December 07, 2009 9:05 PM
Points: 2,
Visits: 13
|
|
ok, thanks Pradeep.
How about connectiong to named instances? The script doesnt seem to connect if I give servername\instancename?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
It does connect to named instances. You need to provide the instance name in the following format ServerName\InstanceName in the servers.txt file.
Pradeep Singh
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 1:44 PM
Points: 136,
Visits: 759
|
|
| Just wanted to throw this out there, it might be easier, especially for scheduling purposes, to use Powershell.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 6:50 AM
Points: 41,
Visits: 384
|
|
To calculate the duration you may find this a little better than the method you are currently using:
CONVERT(CHAR(8), backup_finish_date - backup_start_date, 8) AS [Duration]
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
lrutkowski (8/6/2010) Just wanted to throw this out there, it might be easier, especially for scheduling purposes, to use Powershell.
Yes. but i knew little powershell at that time. I also use cscript now and run this as bat file instead of running from IE.
Pradeep Singh
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
BlackHawk-17 (8/6/2010) To calculate the duration you may find this a little better than the method you are currently using:
CONVERT(CHAR(8), backup_finish_date - backup_start_date, 8) AS [Duration]
Thanks for the feedback. Will implement it.
Pradeep Singh
|
|
|
|