 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bpk. Adi Wira Kusuma Guest
|
Posted: Tue Apr 10, 2007 2:32 pm Post subject: Question |
|
|
I backup database A on server A. Then the backup file will be restored
database A on server B. Can I do it?
How to compare 2 db? and how to make db A has strukturs same with db A
quickly, without overwrite its data? because i often have the problems. I
handle 2 server. Someday I develop DB on server A. After it run prefect. My
Boss ask me to implement it on Server B. |
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Tue Apr 10, 2007 2:55 pm Post subject: Re: Question |
|
|
Bpk. Adi Wira Kusuma wrote:
| Quote: | I backup database A on server A. Then the backup file will be restored
database A on server B. Can I do it?
|
without knowing what RDBMS you use, usually yes.
| Quote: |
How to compare 2 db? and how to make db A has strukturs same with db A
quickly, without overwrite its data?
|
Generally speaking you'll need to access the metadata and compare table
per table, column per column, etc. AFAIK some RDBMS have tools for this.
| Quote: | because i often have the
problems. I handle 2 server. Someday I develop DB on server A. After
it run prefect. My Boss ask me to implement it on Server B.
|
Supposing both use the same RDBMS, if server B has no database with
data you need to keep it's pretty simple. You just backup and copy the
database from A to B.
For any other case we would need more information.
--
Best regards :-)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam |
|
| Back to top |
|
 |
Bpk. Adi Wira Kusuma Guest
|
Posted: Tue Apr 10, 2007 3:09 pm Post subject: Re: Question |
|
|
thx, I use SQL Server 2000
what is RDBMS?
"Guillem" <guillemvicens-nospam (AT) clubgreenoasis (DOT) com> wrote in message
news:461b5e0f$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Bpk. Adi Wira Kusuma wrote:
I backup database A on server A. Then the backup file will be restored
database A on server B. Can I do it?
without knowing what RDBMS you use, usually yes.
How to compare 2 db? and how to make db A has strukturs same with db A
quickly, without overwrite its data?
Generally speaking you'll need to access the metadata and compare table
per table, column per column, etc. AFAIK some RDBMS have tools for this.
because i often have the
problems. I handle 2 server. Someday I develop DB on server A. After
it run prefect. My Boss ask me to implement it on Server B.
Supposing both use the same RDBMS, if server B has no database with
data you need to keep it's pretty simple. You just backup and copy the
database from A to B.
For any other case we would need more information.
--
Best regards :-)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
|
|
|
| Back to top |
|
 |
Oliver Townshend Guest
|
Posted: Tue Apr 10, 2007 3:45 pm Post subject: Re: Question |
|
|
| Quote: | thx, I use SQL Server 2000
|
Use SQL Enterprise to backup the database, copy the file to the new server
and use it to restore. You should fine both under Tasks.
Oliver Townshend |
|
| Back to top |
|
 |
Alain Quesnel Guest
|
Posted: Tue Apr 10, 2007 5:33 pm Post subject: Re: Question |
|
|
On server A, run the following script in Query Analyzer:
backup database NORTHWIND to DISK ='c:\temp\NORTHWIND.bak'
Move the file NORTHWIND.bak from server A to server B
On server B run this:
restore database NORTHWIND from DISK ='c:\temp\NORTHWIND.bak'
Note that this will copy database users, but not the logins that were
created on server A. You'll need to recreate those on server B.
--
Alain Quesnel
alainsansspam (AT) logiquel (DOT) com
www.logiquel.com
"Bpk. Adi Wira Kusuma" <adi_wira_kusuma (AT) yahoo (DOT) com.sg> wrote in message
news:461b606b (AT) newsgroups (DOT) borland.com...
| Quote: | thx, I use SQL Server 2000
what is RDBMS?
"Guillem" <guillemvicens-nospam (AT) clubgreenoasis (DOT) com> wrote in message
news:461b5e0f$1 (AT) newsgroups (DOT) borland.com...
Bpk. Adi Wira Kusuma wrote:
I backup database A on server A. Then the backup file will be restored
database A on server B. Can I do it?
without knowing what RDBMS you use, usually yes.
How to compare 2 db? and how to make db A has strukturs same with db A
quickly, without overwrite its data?
Generally speaking you'll need to access the metadata and compare table
per table, column per column, etc. AFAIK some RDBMS have tools for this.
because i often have the
problems. I handle 2 server. Someday I develop DB on server A. After
it run prefect. My Boss ask me to implement it on Server B.
Supposing both use the same RDBMS, if server B has no database with
data you need to keep it's pretty simple. You just backup and copy the
database from A to B.
For any other case we would need more information.
--
Best regards :-)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
|
|
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Tue Apr 10, 2007 7:20 pm Post subject: Re: Question |
|
|
Bpk. Adi Wira Kusuma wrote:
RDBMS = Relational DataBase Management System
Basically this includes database servers like SQL Server, Firebird,
Interbase, Oracle, DB2, etc. and excludes desktop databases like Access
or dBase.
--
Best regards :-)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|