Move all sharepoint 2007 databases to a new Sql Server - sql-server

In our organization we have a Microsoft Sharepoint 2007 installed and configured on a Windows Server 2003 Standard Edition (32 bit).
The database had been installed and configured on a Sql Server 2000 (Windows 2000 Server 32 bit).
Now we are in the process to move all the databases from the Sql Server 2000 to a new Windows 2008 Server R2 Enterprise (64bit).
The new server has been already installed and doesn't have the same name of the Sql Server 2000.
We would like to upgrade all the Sharepoint 2007 database to the RDBMS so that we can dismiss the old, slow Sql server 2000.
Has anyone tried to do something similar?

You should do the following steps:
Backup all content and configuration databases. Backup your SSP databases.
Prepare content databases for moving.
Delete all the content databases.
Stop the SharePoint Farm by stopping a Timer, Tracing, Administration service
Copy mdf files of an old config database to a new SQL server
Attach SharePoint_Config database on a new server from copied mdf files.
Run stsadm -o renameserver -oldservername OLDSERVER -newservername NEWSERVER
Start all the SharePoint services stopped in 4.
Copy mdf files of content databases to a new server and attach these databases.
Attach content databases.
Add a content databases from a new SQL to SharePoint with stsadm or Central Administration
Restore an SSP databases
Create a new SSP using Restore command from an SSP database on a new SQL server.
Delete an old SSP.

Related

SQL Server 2012 Data Recovery

I just recently had a Sharepoint server die out on me a really old Sharepoint 3.0 server.
I was able to recover all the .mdf and .ldf sql database files since the previous admin didn't make backups of it. How can I extract the word documents, excel documents and pdfs etc off of these databases?
I have installed windows server 2008 on an old pc with sql server management studio and SQL 2012.

SSMS 17.9 opens database on SQL Server 2014 instead of 2016

I have SQL Server 2014 and I did use it and have some db on it.
Yesterday I installed SQL Server Management Studio 17.9 and when I open it I just see the same db created on SQL Server 2014 (sql 12.0.2000.8).
But I want to create or restore some db that I created on SQL Server 2016 and I cant.
How should I tell SSMS 17.9 to use this path:
C:\Program Files\Microsoft SQL Server2016\MSSQL13.SQL2016SQL2016\MSSQL
Here I installed 2016.
You've created an instance named SQL2016SQL2016.
So you have to add the instance to the servername in the connection window like:
localhost\SQL2016SQL2016
An instance of the Database Engine is a copy of the sqlservr.exe
executable that runs as an operating system service. Each instance
manages several system databases and one or more user databases. Each
computer can run multiple instances of the Database Engine.
Applications connect to the instance in order to perform work in a
database managed by the instance.
Source: Database Engine Instances

restore backup database from plesk control panel sql 2014 to my pc sql 2012

I want to restore my backup file that I've gotten from host's sql server (with plesk control panel) to my PC's sql server (version 2012). but I can't restore a higher version backup file to lower version sql server. I can't install sql server V.2014. (my computer is old. I tried to install it but I couldn't.)
so who can help me?
I need to change my database and again upload it on the host. I need it badly.
If it is required to modify the database somehow, you can do it on your local Plesk server (even in GUI) by means of database management tools. myLittleAdmin is used for managing MSSQL databases in Plesk for Windows.
So you may want to try to open the database in myLittleAdmin and change it: Domains > example.com > Databases > your database name > click myLittleAdmin.
As for the restoration question: yes, it is not possible as it is limited on MSSQl side that does not allow such a restore.

Attaching SQL Server database that is split into partitions

I have a trial version of SQL Server 2012 Enterprise on our test server that has expired. I would like to install a fresh copy of another Enterprise edition and attach the current db to the new one. I have done this locally by moving the mdf and ldf files to the new destination, then attaching the db through SSMS.
However the database on the test server is 700GB big and besides the mdf/ldf files there are 16 partitions (sql server database secondary data files). Will the same procedure apply in this case?

Database transfer between SQL Server 2000 and SQL Server 2008

I'm trying to help a client who's hosting company has decided to shutdown their hosting services and in that process I need to migrate an old ASP.Net site (DNN i think) to a new hosting company.
The old hosting company is running SQL Server 2000 and the new hosting company I'm attempting to copy it to has a 2008 version.
SQL Server Management Studio can connect to the old database ok but the Import/Export Data tool doesn't want to connect to this old system.
Is there anyway to easily transfer the database across?
Any tool you can recommend to backup a SQL 2000 db and restore it to a 2008 version or a migration tool that can converse between those two?
You should be able to just take a SQL Server database backup (using the built in backup features) from the SQL Server 2000 database, and restore it into SQL server 2008
http://msdn.microsoft.com/en-us/library/ms186858(v=sql.100).aspx
My suggestion to you is
Get the host to shut down the SQL Server
Get the host to provide you with the files or the backups
Install your own SQL Server 2000 and then run the migration. Or just plain estore the backup in SQL2008
You can also try to script database (schema + data): http://j.mp/NRb2EE and execute this script on new server. If database is large it can be huge script.
And remember to pay attention to the option Types of data to script – select option ‘Schema and data’.

Resources