Closed Bug 289506 Opened 20 years ago Closed 15 years ago

Review, integrate dbclone on landfill

Categories

(Bugzilla :: bugzilla.org, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugreport, Assigned: mkanat)

Details

newmysqlclone should be able to replace mysqlclone.
It permits the user to specify {version:}table instead of just the table where
the optional portion specifies which database server should be contacted.
It looks like it doesn't work if I don't specify the version (that is, it should
default to mysql3).

Also, why don't we call it "dbclone" while we're at it, and then eventually we
can put Pg support into it.
It works for me if I don't specify the versions.

I just did 
newmysqlclone bugs_joel bugs_junk 
and it worked

dbclone sounds good btw
I renamed it to dbclone and made it a bit more obvious what it is doing.  The
previous user output made it look underwhelming when it ran.
Summary: Review, rename, integrate newmysqlclone on landfill → Review, integrate dbclone on landfill
I'd really like it if it could have an option to drop the target database before
continuing, but only if the target database exists. This would make life in
test-checksetup a lot easier.

Also, typo and spacing:

"About to colne  bugs_214 TO  bugs_mkanat" - which should probably also let us
know when it's done.

and the "create failed" should include the system error message.
Status: NEW → ASSIGNED
Also, it doesn't actually do any data copying if I'm using plain-old 3.23.58 and
I don't specify a : value. That is, it creates the target database, but the
target database is empty.
Don't need it; have scripts for each db.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.