Backup
(1)
Pardhi
(1)
Polyserver
(1)

stop services using bat file

Asked By pardhiveswar via SQLMonster.com
18-Nov-09 08:05 PM
HI,

I have 2 bat files one for to stop the service and the other to start the
service.

start service will be done using sp_procoption

basically i need to stop the service on the existing node whenever the
instance is failover to another node..or instance is stopped

Can some one tell me how to run a *.bat file when the instance is stopped



THanks in advance..

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-security/200911/1

Can you clarify exactly you would like to accomplish?

Linchi Shea replied to pardhiveswar via SQLMonster.com
20-Nov-09 11:30 AM
Can you clarify exactly you would like to accomplish?


The SQL service would be stopped on this node if the instance is failed over
to the other node. You do not need to stop it unless you are talking about
some other non-SQL service?

Linchi

Sorry for the delay,Actually we are using performance analysis for

pardhiveswar via SQLMonster.com replied to Linchi Shea
24-Nov-09 12:00 PM
Sorry for the delay,

Actually we are using performance analysis for sqlserver(PASS)  in polyserver
cluster environment
for that it will create (PASS)services on primary and backup nodes..

polyserver does not have the ability to stop the service on the existing node
and start the service on the backup node when a failover occurs

Thats why we are looking for all other options...

Thanks Pardhi





--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-security/200911/1
Post Question To EggHeadCafe
Actually we are using performance analysis for sqlserver(PASS) in polyserver cluster environment for that it will create (PASS)services on primary and backup nodes. . polyserver does not have the ability to stop the service on the existing node and start the service on the backup node when a failover occurs Thats why we are looking for all other options. . . Thanks Pardhi - - Message posted via SQLMonster.com http: / / www.sqlmonster.com / Uwe
SQL Server Is there a way to backup backup jobs? Simple question, Is there a way to backup backup jobs? I only want to do this becuase I have rather lengthy. I'm retarded, I'm mean to just backup scheduled jobs that i have and not backup jobs. I have a backup of my database, but when i restore it, it does source control system. Jeff keywords: Is, there, a, way, to, backup, backup, jobs? description: Simple question, Is there a way to backup backup jobs I only want to do this becuase I
SQL Server Differential backup with no full backup? When you perform a differential backup and a full backup doesn't exist you get this error message. current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option." This is good. However error message under all conditions. I have seen a differential backup run successfully, with no current full backup. Right now when I'm testing I can reproduce this be that you under some conditions can perform a differential backup with no current full backup? Ola Hallengren http: / / ola.hallengren
SQL Server Differential backup problem SQL Server 2005 express. To automate the backup process, I am using SQLCMD along with windows schedulers to do log / differential / full backup. At 12:00 AM, I do full backup, differential backup at every 4 hours (excluding 12:00 am when I do full backup), and log backup every 30 minutes. Everything works fine (both full and log backup) but the problem is that when differential backup happens (say 12:00 pm), I am getting the error Level 16, State 1, Line 1 Cannot perform a differential backup for database "testdatabase", because a current database backup does not
SQL Server Backup chain status if a backup is stop halfway Hi, Considering this backup plan: - Sunday: Full backup - Mon - Sat: Differential backup Says, on Wednesday, the backup is running half way, it was then cancelled manually (SSMS SQL Server Agent > Jobs > Right click on the backup job > Click "Stop job"). crashed on Friday and required restore Tuesday or Thursday? Thanks in advance. Peter C. Stopping a backup does not break the backup chain. Differential backups contain all the changes since the last successful full backup. So restoring the full backup from Sunday and then the
SQL Server Backup Error Message Hi, Im trying to capture the error message that is thrown while backup. BACKUP DATABASE TestPradDB TO DISK = 'D: \ SQL \ Backup \ TestPradDB_20080213_Full.bak' I get the below msg when I try Level 16, State 2, Line 1 Write on "D: \ SQL \ Backup \ TestPradDB_20080213_Full.bak" failed: 112(There is not enough space on the disk.) Msg 3013, Level 16, State 1, Line 1 BACKUP DATABASE is terminating abnormally. I need to capture this msg Prad dbaprad (dbaprad@) writes: Have you tried to run the BACKUP statement in TRY CATCH: BEGIN TRY BACKUP . . . END TRY BEGIN CATCH SELECT @failurereason = error_message() END CATCH You http: / / www.microsoft.com / sql / prodinfo / previousversions / books.mspx keywords: Backup, Error, Message description: Hi, Im trying to capture the error message that is thrown while backup. BACKUP DATABASE TestPradDB TO DISK = 'D: \ SQL \ Backup \ TestPradDB_20080213_Full.ba
SQL Server failed to pause full-text catalog for backup Hi, I'm using SQL Server 2005 and get the following error while trying to backup a database. backup. Backup was aborted. Check to make sure Microsoft Full-text Service problem. Thanks, Vlad failed to pause full-text catalog for backup 19-Dec-08 Hi, I am using SQL Server 2005 and get the following error while trying to backup a database backup. Backup was aborted. Check to make sure Microsoft Full-text Service ajax.aspx keywords: failed, to, pause, full-text, catalog, for, backup description: Hi, I'm using SQL Server 2005 and get the following error while trying to backup a database. System.Data.SqlClient.SqlError: Failed to pause full
SQL Server How full backup works Hello. Take this simple backup statement: Backup Database MyDB To Disk = N'p: \ Backup-MSSQL$MySqlInstance \ MyDB.BAK' With Name = 'MyDB full backup' Would you think that if MyDB.bak already existed it would be overwritten with the new backup? Or would it double in size, effectively containing 2 backups ways I think. I ask because I'm trying to backup this monolithic DB each night and we're running out this command. I've seen some talk around here of backup compression utilities. In lieu of that would it make sense batch job that deletes MyDB.bak before proceeding with the backup? I realize we could be left vulnerable if the subsequent backup should fail. TIA, Ken Ken, Look at BACKUP DATABASE . . . WITH