Sharepoint Server: Step by step guide to moving data to sql server - sql-server

I have a sharepoint server used for multiple clients which I installed on my internal server with default settings. Now I want to move this to a website host instead.
I need to transfer all this data from the integrated SP server to a SQL server, but I can't find a step by step guide to achieve this. I don't even know where the data is currently stored (I assume in the local filesystem where sharepoint is current running) how to export and then reimport and then tie this to the new Sharpoint site once it's on the new hosting environment.
Does anyone have a step by step guide on how to achieve this? I can't seem to find a solution that works by using google.
Thanks in advance
Stu

Ok, here's a starting point:
Ask your hosting provider what format(s) they support.
And then work from there...
More helpfully, take a look at using the Backup-SPSite cmdlet rather than thinking at the SQL level. You can back up a single site/web and then use Restore-SPSite to put it somewhere else.

Related

Directly connecting to working default AspNetSqlProvider Database in App_Data? It's not visible

Working on a project for myself doing OpenID integration with a simple MVC3 RC2 webapp.
I'm using AspNetSqlProvider as the provider, and asp.net configuration can see / modify the database (add users / roles, etc.)
My next step was to add a table to the DB to store userIDs to OpenIDs.
However, I cannot see the database under the App_Data folder in my solution. Previously with ASP.NET / VS 2010 I thought I remembered being able to click on the DB file under that directory in my solution to connect to it.
Does anyone have an idea why it is there and works and yet I'm unable to see it in my VS solution?
Thanks in advance for any help you can give!

Create MySQL database on server

I'm following a tutorial for constructing a PHP and MySQL ecommerce driven website, and I'm uploading them to my server at the moment, but in need of some assistance determining how to proceed.
In the README of the tutorial, are the following instructions:
INSTALLATION INSTRUCTIONS
1.) Unzip plaincart.zip to the root folder under your
HTTP directory ( or under your preferred directory)
2.) Create a database and database user on your web
server for Plaincart
3.) Use the sql dump in plaincart.sql to generate the
tables and example data
4.) Modify the database connection settings in
library/config.php.
5.) If you want to accept paypal modify the settings
in include/paypal/paypal.inc.php . More information
about this paypal stuff can be found in
http://www.phpwebcommerce.com/shop-checkout-process/
OK, so I obviously am capable enough to complete #1! :)
So, on to number 2, how to I create a database on my server?
I understad number 3, referring to the fact that I use the SQL dump file to construct some sample data once the database has been created.
I can't tell about #4 and #5 yet, but we'll see when we get there.
So, I guess I just need to know how to construct a MySQL database on my web server.
Easiest way: install phpmyadmin on the remote server, and do it from that web interface.

How to override or workaround compiled DB connection info

I've faced a bit strange problem. There is a site client would like to duplicate on another domain name. Site is built on ASP(yes, old v1 ASP :( ) with SQLServer. Problem is that all the database operations, including connection information is compiled into a DLL library.
Is there a way to some how intercept, override or workaround this?
Platform:
Windows 2000 Server
SQLServer 7
ASP v1 (VisualBasic)
What a nightmare...
If you have control over the new database server, and the connection string references the database server by name, you could add a line in the hosts file which points the name of the old server to a new ip address. Then you still have to create a user with the same password on the new database server.
Yes! However, your new database name MUST be smaller or equal to the length of your old one. Simply open up the vb6 .dll in any Hex Editor and search and replace. Make SURE you do not change the length of the DLL or shift any bytes around.
Failing that, add a hosts entry to windows to redirect the connection.
Could it be that the application uses a DSN definition for the connection?
In Control Panel -> Administrative Tools open ODBC Data Source Administrator. Have a look at the System DSN tab. Does there seem to be anything listed there that is related to the application?
Before you hack your DNS or rename the server, be aware that the SQL Server client supports aliases specifically for this scenario: How to: Create a Server Alias for Use by a Client.
The SQL 2000 tool for configuring an alias is the Client Network Utility.
Do you have any configuration options at all from asp? Even dbname or the such? If so you might be able to use two separate servers for IIS and use a single db server. I'm afraid you might need to find the source or the guy who wrote it.
If you could figure out the connection string or DNS you might be able to do something.
You could write your own passthrough ODBC provider.

Start and Stop SQL Server on my development laptop

I have SQL Server Express on my laptop. I only need to hit it every few weeks. Running SQL Server sucks up a fair bit of memory on my laptop so I was wondering what is the easiest way to turn off SQL Server when not using it?
What I have done thus far is to create two batch files on my desktop. One brings SQL Server up with this command:
net start "sql server (sqlexpress)"
and the other takes it down with this:
net stop "sql server (sqlexpress)"
Is there a more elegant way to do this? Maybe a tool try app or something other than batch files?
The old SQL 2000 system tray service manager actually works with any service (just configure the service name). There is also a codeplex project for a 2005 replacement: http://www.codeplex.com/SQL2005SrvcMngr/
I would move your shortcuts into your Quicklaunch bar :)
Or you could even use a tool like launchy to easily run the shortcuts.
Have you thought about installing SQL Server onto a virtual machine? That way SQL Server doesn't need to be installed on your system and anytime you need it you just fire up the VM.
Thanks to the prompting from some of the answered here, the best I have found is Windows Service Manager Tray because it also allows me to start and stop other services, not just SQL Server. it lives in the tray and is easy to config/use.
Thanks Remus Rusanu for pointing me toward the idea of a general service manager. I had been thinking only about something SQL Server specific.
I have actually written my own system tray app that reads a folder for short cuts or batch files. It gives me very quick access to my scripts.
You could also create a start menu option and/or use something like Launchy to quickly run you scripts.
Control Panel>Administrative Tools>Services
Find MSSQL service and disable it or put it to start on manual request.
I guess I can't see what could be easier than clicking to start a batch file or clicking a button in the service manager sys tray app.

jBASE 4.1 Database Noobster Questions

I am a software developer with devlopment experience in C#, C++ .Net alongwith SQL Server 2005/08, Oracle and mysql. But somehow i dont get jBASE to work at Windows XP SP3 machine.
My goal is setup user accounts, create database on a JBASE ainstallation, authenticate and backup/restore few table via a C++ program. And i dont need to do it with builtin backup/restore tools of jBASE.
I am able to install jBASe 4.1 aling with all its accessories on my WINXPSP3 machine. I was able to run the jSlimserver and TEMENOUS server along with licnesing server. I was able to add the license key as well. But after that what i was supposed to do? i have no idea about it.
The docs and online help doesnt answer a simple question of how to create a database! The google search results from the jbase site all go to the 404 Pages!
Can a jBASE expert guide to the following steps:
Create a jBASE database.
Create users
Authenticate via those users
Connect to database
Create tables and insert data.
Connect via a C++ or C# program to connect to jBASE DB and backup/restore tables.
I know that this is too much too ask but i dont get to get the JBASE system. I cant get it to work on my System somehow. Btw, jdc and jexloree doesnt seem to do anything. I have checked that enironmental variables for jBASE are setup correctly and i have verified them. There are no extra JRE or JDK installations on my system. Besides all that, only licensing client, slim server and temenous server seem to run and listen for connections and no other execuatable ever seems to work.
A simple tutorial to achieve the objective will be highly appreciated. Also if anyone can point out the mistake that i have done or anything i might need to check, then please do so. I will be highly encouraged and obliged.
Thanks
Steve
I hope this will help, if you have not already found a why to do this.
Setup jBase User and Database
Create a Security Group called
'Jbase' or what every you want to
call it
Add a User to this group. I would
recommend adding your administrator
user to it as well
Create a folder in you file system
to save the database information
into
Assign the 'Jbase' Security group to
the folder, and give it "Full"
read/write/execute access.
Creating the database:
Make sure the current users you
are logged on with is the 'Jbase'
security group.
go to the command prompt, and CD
to the folder you create to store
the database
run the jShell 'jsh' from that
location
use CREATE-FILE to create the
files/tables you want to store your
information in.
Inserting data:
There are several ways to enter data. You can use ED, your can your programming environment, or you can create a quick MultiValue/jBase compiled server script to ask for the data and write them to a file/table.

Resources