Re: copy a database from server to development
From: Hari (hari_prasad_k_at_hotmail.com)
Date: 06/07/04
- Next message: Bicio: "Re: copy a database from server to development"
- Previous message: Tibor Karaszi: "Re: Error executing Backup"
- In reply to: ken: "copy a database from server to development"
- Next in thread: Bicio: "Re: copy a database from server to development"
- Reply: Bicio: "Re: copy a database from server to development"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Jun 2004 18:40:34 +0530
Hi,
There are 2 options:-
1. Detach and Attach database
2. Backup and Restore the database
1. Detach and Attach
a. Use SP_DETACH_DB to detach the MDF and LDF files
b. Copy the files to Destination server
c. Use SP_ATTACH_DB to attach the databases
(Refer books online for information)
2. Backup and Restore
a. Backup the source databases using BACKUP DATABASE command
b. Copy the .BAK files to destination
c. Restore the database using RESTORE DATABASE command
If you have only 1 or 2 users to syncronize then use the procedure
sp_change_users_login (Refer books online)
Thanks
Hari
MCDBA
"ken" <anonymous@discussions.microsoft.com> wrote in message
news:4D480E63-1DB3-43B0-814D-A1E4CF4DCD21@microsoft.com...
> Dear all,
> i want to copy a database from the sql enterprise server into my developer
edition for development, what is the most suitable methods for this?
>
- Next message: Bicio: "Re: copy a database from server to development"
- Previous message: Tibor Karaszi: "Re: Error executing Backup"
- In reply to: ken: "copy a database from server to development"
- Next in thread: Bicio: "Re: copy a database from server to development"
- Reply: Bicio: "Re: copy a database from server to development"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|