How can we help you today? How can we help you today?
SQL_ME_RICH
petey wrote: The SQL Backup Agent service logs in to SQL Server using either Windows authentication or SQL Server authentication. The default mode is Windows authentication, where the SQL Backup Agent service will log in using the credentials of the service startup user. To log in using SQL Server authentication, you need to use the sqbsetlogin extended stored procedure e.g. EXEC master..sp_addextendedproc sqbsetlogin, 'xp_sqlbackup.dll' EXEC master..sqbsetlogin 'sa', 'sapassword' EXEC master..sp_dropextendedproc sqbsetlogin This will set up the SQL Backup service to log in using the sa user. To revert back to Windows authentication, run sqbsetlogin with blank values e.g. EXEC master..sqbsetlogin '', '' Try running sqbsetlogin without any values, in case the SQL Backup Agent service has been set up to use SQL Server authentication. Then try running a backup, after setting up the service startup user to be an account you know has sysadmin rights to SQL Server. This appears to be the solution to a problem I am having in getting my SQL Backups to run (they keep erroring out saying that they cannot log in with the sa account, and that the password is wrong). This makes sense as I just recently changed the sa password on 2 diiferent servers and instances, and now this won't work - but I really do not want SQL Authentication being used to run the RedGate service/backup with anyway. So - I tried to run the code above to reset it back to Windows Authentication, but all I get is a 'Could not find stored procedure 'master...sqbsetlogin'. If this is a PROC - it's definitely not in the master db of the instance I am trying to fix...Does this work for SQL Backup 7? I am using SQL Backup 7 (7.0.5.1). Thanks / comments
petey wrote: The SQL Backup Agent service logs in to SQL Server using either Windows authentication or SQL Server authentication. The default mode is Windows authentication, where the SQL Backup...
0 votes
ChrisAVWood wrote: If you haven't tried the DBCC CHECKDB then it could be the CHECKSUM. It could also be the verify. If your DB is corrupt good luck. You will need Paul Randal's help http://sqlskills.com/blogs/paul/. hopefully you have the last full backup at hand and if you could run a differential without checksum and verify and you had somewhere else to restore them to you could run the DBCC CHECKDB. Chris I'm hoping and praying that I DO NOT have corruption! I have had to go against the grain with every fiber of my being to compromise certain things for this particular database server (because if customer's are complaining about slowness in the environment, then what's the point...). If it is corrupt, the only silver lining will be the massive push that I have been on for the past month to migrate it over to another server with twice as much RAM (32gb) and the Enterprise Edition of 2005 SQL Server (but the problem has been that they do not want to take the outage to get it done in the simpliest of fashions - just a straight copy of the .mdf and .ldf to get it over to the new box). I guess when they wind up taking an unplanned outage, they might finally move. Thanks again Chris - I am going to try one more LUN tonight, then see if I cannot run you idea tomorrow as needed. / comments
ChrisAVWood wrote: If you haven't tried the DBCC CHECKDB then it could be the CHECKSUM. It could also be the verify. If your DB is corrupt good luck. You will need Paul Randal's help http://sqls...
0 votes