Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
elic05
Yak Posting Veteran
62 Posts |
Posted - 2010-05-17 : 07:24:11
|
What is the correct/easy/recommended way to put a db i created locally using visual studio 2010, to a remote server?my local db is an aspnet_db, and i added to it some tables.I use SSMS quote: Microsoft SQL Server Management Studio 10.50.1600.1Microsoft Data Access Components (MDAC) 6.0.6002.18005Microsoft MSXML 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 8.0.6001.18904Microsoft .NET Framework 2.0.50727.4200Operating System 6.0.6002
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-05-17 : 08:09:06
|
Take a backupCopy the backup to the other serverRestore the database from backup on the remote server.--Gail ShawSQL Server MVP |
 |
|
elic05
Yak Posting Veteran
62 Posts |
Posted - 2010-05-17 : 08:45:46
|
I did a backup.but when i connect to the remote server and tryto restore, I dont get an option to browes my own system for the .bak file.task -> restore -> databasefrom device ...how can i browes for my backup?thanks |
 |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-05-17 : 09:06:37
|
Copy the backup file to the remote server.Then restore and browse to the file on that server, not your own.--Gail ShawSQL Server MVP |
 |
|
elic05
Yak Posting Veteran
62 Posts |
Posted - 2010-05-17 : 13:26:32
|
there is no chance he will give me to do such a thing.it's a shared server.is there another option? |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-05-18 : 03:24:32
|
To do that you need to ensure that the service account that SQL is running under has access to that shared folder.--Gail ShawSQL Server MVP |
 |
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2010-05-18 : 03:30:17
|
How big is the database? How much data do you need to move? If it's not that much you can script the tables/procedures/etc using the script database wizard and then use another script (i.e. this: http://www.nigelrivett.net/DMO/s_ScriptData.html) to generate insert-statements for all your data.- LumbagoIf the facts don't fit the theory, change the facts. Albert Einstein |
 |
|
|
|
|