[mylvmbackup] New option: --pidfile, lvs output added for statistical purposes

  • From: Lenz Grimmer <lenz@xxxxxxxxxxx>
  • To: mylvmbackup@xxxxxxxxxxxxx
  • Date: Thu, 13 Sep 2007 17:45:06 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just commited a patch that adds a new option "--pidfile" to
mylvmbackup. As it turns out, the server instance that is being spawned
to perform the InnoDB recovery prior to creating the backup can default
to use the same PID file as the already running server instance and
mysqld_safe would bail out in this case. So this option (which defaults
to /var/tmp/mylvmbackup_recoverserver.pid) allows you to choose a
different PID file location.

I've also added code that prints out some LVM usage statistics (using
"lvs") that allow you to better tune the size of the snapshot volume.

Oh, and the manpage was slightly updated, too.

I would appreciate if you could take a look and test that I did not
break anything. I'd like to release these changes as version 0.6 soon.

I also added some ideas to the TODO - let me know what you think about
these!

Thanks!

Bye,
        LenZ
- --
- ------------------------------------------------------------------
 Lenz Grimmer <lenz@xxxxxxxxxxx>                             -o)
 [ICQ: 160767607 | Jabber: LenZGr@xxxxxxxxxx]                /\\
 http://www.lenzg.org/                                       V_V

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG6VsBSVDhKrJykfIRArWSAJ4ifvpDe5j4Ty4Z1oEoVqBq3uoFjACfSMAE
ZJMrosFpufX76ieRY48z7Dk=
=+1Jn
-----END PGP SIGNATURE-----

Other related posts:

  • » [mylvmbackup] New option: --pidfile, lvs output added for statistical purposes