Friday, August 2, 2013

[MS SQL Server] Need Help on moveing databases

[MS SQL Server] Need Help on moveing databases


Need Help on moveing databases

Posted: 01 Aug 2013 11:11 PM PDT

HII have moved the master database from startup parameters after that we stop the service of the server and move the data and log file to there respective new locationsafter that i am trying to start the server it is not starting.we checked in error log and found the error like:2013-08-02 05:07:35.85 Server Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)2013-08-02 05:07:35.85 Server (c) Microsoft Corporation.2013-08-02 05:07:35.86 Server All rights reserved.2013-08-02 05:07:35.86 Server Server process ID is 14276.2013-08-02 05:07:35.86 Server System Manufacturer: 'Cisco Systems Inc', System Model: 'UCSC-BASE-M2-C460'.2013-08-02 05:07:35.86 Server Authentication mode is MIXED.2013-08-02 05:07:35.86 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG'.2013-08-02 05:07:35.86 Server This instance of SQL Server last reported using a process ID of 12720 at 8/2/2013 5:05:05 AM (local) 8/2/2013 12:05:05 PM (UTC). This is an informational message only; no user action is required.2013-08-02 05:07:35.86 Server Registry startup parameters: -d j:\PowerUserMasterdata\master.mdf -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG -l i:\PowerUserReplicalog\Masterlog\mastlog.ldf2013-08-02 05:07:35.86 Server Error: 17113, Severity: 16, State: 1.2013-08-02 05:07:35.86 Server Error 2(The system cannot find the file specified.) occurred while opening file 'j:\PowerUserMasterdata\master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.

Maintenance Plan Clean up task not deleting all .bak files

Posted: 02 Aug 2013 12:22 AM PDT

Hi,I have a maintenance plan that backs up my databases and deletes any .bak files older than 2 days old. I am running this on 2008 R2 and it sometimes work fine. Other times it randomly leaves behind a few (between 2-5) of the 9 databases being backed up. It doesn't leave behind specific ones it just seems random. Does anyone know any known bugs or problems like this?Thanks for any help.

Regional settings on instance SQl Server 2008 R2

Posted: 01 Aug 2013 09:58 PM PDT

Hello:Is it possible to set regional settings of date and time to an instance of SQL Server 2008 R2?My need is that in a clustered environment (2 nodes) I would like create SQL server instances with different time zone in order that the use of the getdate() function return the right value depending on the instance in which we are.Do you know any alternative to this need?Thanks in advance.Jesús

SQL 2008 on Windows Server 2012

Posted: 01 Aug 2013 09:25 PM PDT

Hi All,Is it possible to install SQL Server 2008 (not r2) on Windows Server 2012?Any pitfalls I need know about, service pack requirements?ThanksD

SQL agent job hanging for a long time

Posted: 18 Apr 2010 11:24 PM PDT

Hi,I have created an agent job in SQL server 2008 but it is getting hanged when executing.It is backup job which is running the below commandBACKUP DATABASE master TO DISK = 'E:\MSSQL10.INSTANCE_02\BACKUP\SystemDB\master.bak' WITH NOFORMAT, NOINIT, NAME = N'System databases- Full Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10It shows executing and does not give any error. The job owner is sa. But whent excuting the same T-sql command in query window, it executes successfulle and creates the backups.Do you have any idea on this?

Replication or Mirroring

Posted: 01 Aug 2013 08:27 AM PDT

We have an application that is starting to gain more users and is becoming more "critical" that it stay up. We would like to set up some sort of failover for our database server. Some of things we need to accomplish is: 1.) have the ability to make changes to live (source) database's structure that is then is copied over to the other (target) with very little intervention, 2.) Have it so if the source, goes down then the target can be used as the source.I know that this is a little of both mirroring and replication, but which one, if any, could cover these two main points.Thank you in advance,Jim

No comments:

Post a Comment

Search This Blog