Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register


0
(click on this box to dismiss)

Cloning a database?

What is the easiest way to clone a database?

link comment (1)
asked 3 years ago
picador_jr
292
Btw, this question do not belong to the SQL category, but to Tools maybe...? - [Level:4]impega 3 years ago
5 Answers
0

In theory, you could use the copydb tool:

http://www.cubrid.org/manual/840/en/Copying%7CMoving%20Database

 

But this does not do a "clone", but a "copy"! :)

What's the difference...? Well, the "name"! :)

A "clone" must have the same name as the original, right...? But copydb requires by default a different destination database name, at least when the copy is being done on the same machine/server.

So in order to get a perfect "clone", you definitely need to use the  copydb AND specify the destination on a different machine/server.

On the same machine, all you can get is a "copy" of the database - the name obviously will be different, so it's not a perfect "clone"...

 

Hope is clear... :)

 

link comment (0)
answered 3 years ago
impega
128
tagged




You are either using a very old browser or a browser that is not supported.
In order to browse cubrid.org you need to have one of the following browsers:



Internet Explorer: Mozilla Firefox: Google Chrome: