Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 375673

Summary: dev-db/mydumper - a high-performance multi-threaded backup/restore toolset for MySQL and Drizzle
Product: Gentoo Linux Reporter: babykart <babykart>
Component: New packagesAssignee: Pavel Stratil <pavel.stratil-jun>
Status: RESOLVED FIXED    
Severity: enhancement CC: axiator, babykart, flameeyes, mjo, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://launchpad.net/mydumper
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mydumper-0.2.3.ebuild
mydumper-0.5.0.ebuild
mydumper-0.5.1.ebuild
mydumper-0.2.3.ebuild

Description babykart 2011-07-19 18:36:11 UTC
Hi,

From http://www.mydumper.org/

Mydumper (aka. MySQL Data Dumper) is a high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle.

Features :

* Lightweight C source
* Up to 10x faster dumps compared to mysqldump
* Consistent snapshots for transactional and non-transactional tables (in 0.2.2 onwards)
* File compression on-the-fly
* Binary log dumps
* Multi-threaded restore utility (in 0.2.1 onwards)
* Daemon mode for timed snapshots and continuous binary logs (in 0.5.0 onwards)
* License GNU GPLv3

Reproducible: Always
Comment 1 babykart 2011-07-19 18:37:39 UTC
Created attachment 280395 [details]
mydumper-0.2.3.ebuild
Comment 2 babykart 2011-07-19 18:38:17 UTC
Created attachment 280397 [details]
mydumper-0.5.0.ebuild
Comment 3 Michael Orlitzky gentoo-dev 2011-07-19 19:05:23 UTC
This looks useful, you should try to get it committed to Sunrise:

  http://overlays.gentoo.org/proj/sunrise

It's a lot easier to move it into Portage once it's been reviewed by the devs there.

A couple of things I noticed:

* If you use the cmake-utils eclass, it will probably handle the configure/compile stages for you.

* With EAPI=4, you can get rid of the 'die' statements after the 'dobin's, although I'm not sure whether or not cmake-utils is EAPI 4 compatible yet.

* Make sure you indent with tabs instead of spaces in pkg_postinst().
Comment 4 babykart 2011-08-14 18:25:24 UTC
Created attachment 283321 [details]
mydumper-0.5.1.ebuild
Comment 5 babykart 2011-08-14 18:26:10 UTC
Created attachment 283323 [details]
mydumper-0.2.3.ebuild
Comment 6 babykart 2011-08-14 18:28:45 UTC
Thank you Michael for your remarks.

I rewrote the ebuilds with EAPI=4, cmake-utils.eclass and i added the use flag doc for build documentation and man pages. 

Update to mydumper-0.5.1.
Comment 7 Sergey Popov (RETIRED) gentoo-dev 2013-12-24 11:24:27 UTC
Fixed long time ago

  05 Nov 2011; Diego E. Pettenò <flameeyes@gentoo.org> +metadata.xml,
  +mydumper-0.5.1.ebuild:
  Initial import of mydumper ebuild by Pavel Stratil (who will proxy maintain
  it).