myLittleTools Community Forum

Welcome Guest Search | Active Topics | Members | Log In | Register

mssql 2005 backup/restore between different hosts Options · View
redwiz
Posted: Friday, October 16, 2009 11:52:52 AM
Rank: Newbie
Groups: Member

Joined: 10/16/2009
Posts: 1
Points: 3

Hi all
I have to migrate a site from an host to another.
Both hosts use mylittleadmin/mylittlebackup.
Backup procedure from first host: ok
Restore procedure from second host: ok

The problem is that in the second host tables have this kind of names:

[firsthostDBname].[table]

So, when i try to exec a query on [table] i get "Invalid object name", otherwise
if I run the query on [firsthostDBname].[table], it works.
This is not what i expect, i want that tables on the second host have this
kind of names:

[secondhostDBname].[table].

Last, i also have the problem of orphan users (in the second db i have the user
of the first db as an orphan).

can you help me, link to guides are welcome

thanks in advance
elian
Posted: Friday, October 16, 2009 2:08:21 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
About your schema name prob: this article should help you
http://weblogs.asp.net/steveschofield/archive/2005/12/31/change-schema-name-on-tables-and-stored-procedures-in-sql-server-2005.aspx

About your orphan prob: you have to contact your webhoster support team so that they fix that. myLittleBackup can only map the main user...
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Theme created by myLittleTools
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.