Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to move a SQL database from one server to another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00665095
Message ID:
00665170
Vues:
21
I tried to backup and restore the database as you suggested. However, the same problem exists. There is no 'dbo' in the users collection and I cannot assign it to the 'sa' login.

>I use the backup and restore facilities to move between multiple machines (like when I am working mainly on my desktop with a seperate SQL Server and need to copy to my laptop to take to a client or something). This avoids issues like you experience.
>
> Right click on the database in question (in Enterprise Manager), select All Tasks, Backup. Backup type should be Database Complete, Add a device, select a file to backup to. Off you go. Copy that file to someplace accessible to the destination server. Create the database on the destination. Select it, right click, All Tasks, Restore. Select the file, go to the Options page and select the Force Restore over Existing Database option. Off you go, you will get a complete copy of the old database on the new server, complete and reay to roll.
>
> Randy
>
>>We've got our new SQL server up and running and I'm trying to copy our
>>database from the old server to the new server.
>>
>>I detached the database from the old server, copied the data and log files and attached it to the new one. I can see it and navigate it just fine through enterprise manager but I cannot log into it through sa. It says that owner 'dbo' is not a user for this database. However, when I try to add the owner to the database it says it already exists.
>>
>>Are there any steps I'm missing for moving a database from one server to another?
>>
>>Jake
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform