Re: transfer

From: Hari (hari_prasad_k_at_hotmail.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 10:30:41 +0530

Hi,

Assumption that destination is also SQL 6.5

1. Backup the database (Use Dump database dbname to
disk='c:\backup\dbname.dmp' with init)
2. Copy this dbname.dmp to destination server
3. Load the database (Load database dbname from
disk=''c:\backup\dbname.dmp')
4. BCP OUT the syslogins table from source server (In the BCP out file
delete the system logins and other unwanted users)
5. Copy the file to destination server and BCP IN to syslogins table.

Thanks
Hari
MCDBA

"mike" <anonymous@discussions.microsoft.com> wrote in message
news:2b2901c3fca3$4736fa40$a301280a@phx.gbl...
> how do i export databases and logins from one sql 6.5 to
> another? if i transfer does it mean i'm moving the
> database actually?



Relevant Pages

  • Re: DTS
    ... Perform a backup, copy the file to destination server and Restore the ... Detach the database, copy MDF and LDF to destination, attach the database ...
    (microsoft.public.sqlserver.setup)
  • Re: DTS
    ... Perform a backup, copy the file to destination server ... Detach the database, copy MDF and LDF to destination, ... >I. Backup and Restore ...
    (microsoft.public.sqlserver.setup)
  • Re: MS SQL Database Question
    ... > With SQL 7 and above, you can detach a database file from the server, ... > SQL Server. ... > Another way is to take a backup of the database, ... > the remote server where you restore it to the destination server. ...
    (microsoft.public.inetserver.asp.general)
  • Re: msde backup
    ... Perform a backup, copy the file to destination server and Restore the ... Detach the database, copy MDF and LDF to destination, attach the database ...
    (microsoft.public.sqlserver.msde)
  • Re: SQL Permissions
    ... The users in the database will get orphaned because they may not find login ... destination server before you attach the database on the destination server ... I do not see a server role for read only. ... would have a new user, or group, i would have to modify my etl process. ...
    (microsoft.public.sqlserver.security)