MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

ESSENTIALS: Home | Tips | Search | Categories | Top 10 | Products | Authors | Blogs | Forums | Webcasts | Advertise | About
Moving Database - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

Moving Database

Last post 06-17-2008 2:13 PM by tosscrosby. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 06-15-2008 9:01 PM

    • GeekO
    • Top 75 Contributor
    • Joined on 06-16-2008
    • Posts 4

    Moving Database

     I have a database running on one server and i now need to move this to another server. Both servers are remote with absolutely no tools to help with anything. How can i go about moving the database? I am completely new to ms sql and do not have the first clue. I have looked at some software for export and import. I managed to export it to a mdf but cannot figure out how to import it. The import seems to be working backwards.

  • 06-16-2008 7:13 AM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 262

    Re: Moving Database

    There are a couple of options open to you.  The easiest may be to use the UI tools to backup the db and then move this backup to the other server.  From there, you can use the UI tools (management studio/enterprise manager - depending on your MSSQL version) and restore the backup.  Once restored, you'll probably need to clean up the logins.   You can run sp_change_users_login to help with this.

    Read up on sp_change_users_login, BACKUP, and RESTORE in the Books Online

  • 06-16-2008 9:17 AM In reply to

    • GeekO
    • Top 75 Contributor
    • Joined on 06-16-2008
    • Posts 4

    Re: Moving Database

    Thats the problem. I have no UI tools to work with. 

  • 06-16-2008 10:15 AM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 262

    Re: Moving Database

     Are you using MSDE?  

  • 06-16-2008 11:10 AM In reply to

    • GeekO
    • Top 75 Contributor
    • Joined on 06-16-2008
    • Posts 4

    Re: Moving Database

    Both servers are on a web host. Ms  Sql 2005. But not control panel tools available to manage sql. All i have is create a db and create a user.
  • 06-16-2008 11:36 AM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 262

    Re: Moving Database

    Does your web host give you any querying capability??  Can you run SELECTs? 

  • 06-16-2008 11:50 AM In reply to

    • GeekO
    • Top 75 Contributor
    • Joined on 06-16-2008
    • Posts 4

    Re: Moving Database

    Can do absolutely nothing. I would need third party software i guess. 

  • 06-17-2008 2:13 PM In reply to

    Re: Moving Database

    IMHO - You need the appropriate tools to manage your data, unless the web host is totally responsible. If that's the case, have them do what you need done...What does your SLA state is the correct action for something like this??

Page 1 of 1 (8 items)