<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>Lenz Grimmer's blog (Entries tagged as mylvmbackup)</title>
    <link>http://www.lenzg.net/</link>
    <description>Random notes about Linux, MySQL and Open Source</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6.2 - http://www.s9y.org/</generator>
    <pubDate>Thu, 05 Nov 2009 21:49:19 GMT</pubDate>

    <image>
        <url>http://www.lenzg.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Lenz Grimmer's blog - Random notes about Linux, MySQL and Open Source</title>
        <link>http://www.lenzg.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Aspects and benefits of distributed version control systems (DVCS)</title>
    <link>http://www.lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=285</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=285</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;This blog post is a by-product of my preparation work for an upcoming talk titled &amp;quot;&lt;a target=&quot;_blank&quot; href=&quot;http://codebits.eu/s/blog/45921f2141d0d5cae4925cd863153d1d&quot;&gt;Why you should be using a distributed version control system (DVCS) for your project&lt;/a&gt;&amp;quot; at &lt;a target=&quot;_blank&quot; href=&quot;http://codebits.eu/&quot;&gt;SAPO Codebits&lt;/a&gt; in Lisbon (December 3-5, 2009). Publishing these thoughts prior to the conference serves two purposes: getting some peer review on my findings and acting as a teaser for the actual talk. So please let me know &amp;mdash; did I cover the relevant aspects or did I miss anything? What&#039;s your take on DVCS vs. the centralized approach? Why do you prefer one over the other? I&#039;m looking forward to your comments!&lt;/p&gt;
&lt;p&gt;Even though there are several distributed alternatives available for some years now (with &lt;a target=&quot;_blank&quot; href=&quot;http://bazaar-vcs.org/&quot;&gt;Bazaar&lt;/a&gt;, &lt;a href=&quot;http://git-scm.com/&quot;&gt;git&lt;/a&gt; and &lt;a href=&quot;http://mercurial.selenic.com/&quot;&gt;Mercurial&lt;/a&gt; being the most prominent representatives here), many large and popular Open Source projects still use centralized systems like &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt; or even &lt;a href=&quot;http://www.nongnu.org/cvs/&quot;&gt;CVS&lt;/a&gt; to maintain their source code. While Subversion has eased some of the pains of CVS (e.g. better remote access, renaming/moving of files and directories, easy branching), the centralized approach by itself poses some disadvantages compared to distributed systems. So what are these? Let me give you a few examples of the limitations that a centralized system like Subversion has and how these affect the possible workflows and development practices.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html#extended&quot;&gt;Continue reading &quot;Aspects and benefits of distributed version control systems (DVCS)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 05 Nov 2009 22:49:19 +0100</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/285-guid.html</guid>
    <category>bzr</category>
<category>code</category>
<category>codebits</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>development</category>
<category>drupal</category>
<category>git</category>
<category>mercurial</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>programming</category>
<category>scm</category>
<category>social</category>
<category>subversion</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.13 has been released</title>
    <link>http://www.lenzg.net/archives/277-mylvmbackup-0.13-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/277-mylvmbackup-0.13-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=277</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=277</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.13 has now been released.  This release includes a fix for a nasty bug in on of the recently added Perl hooks (precleanup.pm)  and some added functionality (better support for remote rsync backups).&lt;/p&gt;
&lt;p&gt;From the ChangeLog:&amp;#160;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Deleted sample precleanup.pm hook as it has potential to cause harm and is  too specialized on a particular use case (&lt;a title=&quot;Dangerous behaviour of &#039;precleanup.pm&#039;&quot; href=&quot;https://launchpad.net/bugs/394668&quot;&gt;BUG#394668&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Added support for rsync via SSH (&lt;a title=&quot;Please support rsync-over-ssh&quot; href=&quot;https://launchpad.net/bugs/392462&quot;&gt;BUG#392462&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Fixed InnoDB recovery in case a relative path to the MySQL  data directory is defined (&lt;a title=&quot;Initial Page: Improvement should have a newline after it&quot; href=&quot;https://launchpad.net/bugs/38337&quot;&gt;BUG#38337&lt;/a&gt;), improved the documentation  of relpath in the man page.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;div class=&quot;zemanta-pixie&quot;&gt;&lt;img src=&quot;http://img.zemanta.com/pixy.gif?x-id=3638a2df-bc9a-8e15-a476-0054a566a42a&quot; alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; /&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Sun, 06 Sep 2009 11:58:22 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/277-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup-0.12 has been released</title>
    <link>http://www.lenzg.net/archives/265-mylvmbackup-0.12-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/265-mylvmbackup-0.12-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=265</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=265</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;After a long hiatus, I am happy to announce that &lt;a href=&quot;http://lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.12 has now been released. This release includes a large number of improvements, minor code cleanups, as well as some new functionality. In particular, I would like to thank Matthew Boehm, Tim Stoop, Baron Schwartz, Ville Skyttä and Ronald Bradford for their contributions.&lt;/p&gt;

&lt;p&gt;Some notable highlights from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;Removed the absolute path names to external tools (make sure $PATH is correct)&lt;/li&gt;
&lt;li&gt;Added --log-err to the startup options of the recovery instance to avoid cluttering the server&#039;s error log&lt;/li&gt;
&lt;li&gt;Added support for hooks written as Perl Modules. (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added support for date/time-formatted path names for backupdir and mountdir (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Backupdir and mountdir are now created automatically (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added new hook &quot;logerr&quot; when an error is logged. (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added Option --keep-mount... (Tim Stoop)&lt;/li&gt;
&lt;li&gt;Removed the bind mount, now requires LVMv2&lt;/li&gt;
&lt;li&gt;Support reading login/password from ~/.my.cnf (Baron Schwartz)&lt;/li&gt;
&lt;li&gt;Documentation fixes and improvements (Ville Skyttä) (Bug #302144)&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 20 Jun 2009 14:35:24 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/265-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>innodb</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>perl</category>
<category>programming</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Concluded my first MySQL University Session about MySQL backups using file system snapshots - some questions remained unanswered...</title>
    <link>http://www.lenzg.net/archives/245-Concluded-my-first-MySQL-University-Session-about-MySQL-backups-using-file-system-snapshots-some-questions-remained-unanswered....html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
    
    <comments>http://www.lenzg.net/archives/245-Concluded-my-first-MySQL-University-Session-about-MySQL-backups-using-file-system-snapshots-some-questions-remained-unanswered....html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=245</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=245</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Today I gave my first &lt;a href=&quot;http://forge.mysql.com/wiki/MySQL_University&quot;&gt;MySQL University&lt;/a&gt; session as a speaker, talking about &lt;a title=&quot;Backing up MySQL using file system snapshots&quot; href=&quot;http://forge.mysql.com/wiki/Backing_up_MySQL_using_file_system_snapshots&quot;&gt;Backing up MySQL using file system snapshots&lt;/a&gt;. The talk went quite well (at least that was my impression) and we had ~10 people attending. The &lt;a href=&quot;http://forge.mysql.com/w/images/c/c1/MySQL_Backups_using_File_System_Snapshots-2009-02-26.pdf&quot;&gt;slides&lt;/a&gt; (PDF) and a recording of the session are now available from the Wiki page. Unfortunately the recording lacks the audio track, which is a bit of a bummer. We&#039;ve submitted a support request with the &lt;a href=&quot;http://dimdim.com/&quot;&gt;DimDim&lt;/a&gt; folks, so hopefully they can provide us with a complete recording.&lt;/p&gt;
&lt;p&gt;There was one question during the session that I was not able to answer myself, so I&#039;m asking for your insights here:&lt;/p&gt;
&lt;p&gt;Consider we&#039;re using InnoDB and MyISAM tables on a file system that can be snapshotted (e.g. Linux LVM or ZFS) and we&#039;re performing the following operations:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;&lt;tt&gt;FLUSH TABLES WITH READ LOCK&lt;/tt&gt; (yes, this won&#039;t help for the InnoDB tables)&lt;/li&gt;
    &lt;li&gt;Create the snapshot&lt;/li&gt;
    &lt;li&gt;Store the output of &lt;tt&gt;SHOW MASTER/SLAVE&lt;/tt&gt; status in a file to be part of the backup&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;UNLOCK TABLES&lt;/tt&gt;&lt;/li&gt;
    &lt;li&gt;Mount the snapshot&lt;/li&gt;
    &lt;li&gt;Start a second MySQL instance that accesses the tables on the snapshot, let InnoDB perform its table recovery&lt;/li&gt;
    &lt;li&gt;Shut down the second instance and perform the backup of the snapshot&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The question that came up was if this actually still is a consistent backup, considering that InnoDB rolled back uncommited transactions. Does the state of the tables still match the binary log positions we noted before? I assume yes, as long as the transaction does not involve modifications non-transactional tables.&lt;/p&gt;
&lt;p&gt;Another suggestion that came up was to change InnoDB&#039;s configuration variable innodb_max_dirty_pages_pct to &amp;quot;0&amp;quot; prior to performing the snapshot, to minimize the amount of dirty pages that have not been written to disk (and thus reducing the time required for recovering later). I wonder if this would make a difference...&lt;/p&gt;
&lt;p&gt;What other InnoDB variables might have a noteworthy effect in the context of snapshot backups? I am looking forward to your comments.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 26 Feb 2009 17:46:07 +0100</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/245-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>configuration</category>
<category>innodb</category>
<category>mylvmbackup</category>
<category>presentation</category>
<category>snapshots</category>
<category>university</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup-0.11 has been released</title>
    <link>http://www.lenzg.net/archives/231-mylvmbackup-0.11-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/231-mylvmbackup-0.11-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=231</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=231</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Some days ago, I released version 0.11 of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; a Perl script that performs consistent backups of a MySQL server by using LVM filesystem snapshots. The source archive as well as a generic RPM can be found on the project home page, packages for &lt;a href=&quot;http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=mylvmbackup&quot;&gt;many Linux distributions&lt;/a&gt; are available on the &lt;a href=&quot;https://build.opensuse.org/&quot;&gt;openSUSE Build service&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release includes some new functionality as well as numerous bug fixes and improvements, most notably:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added support for using &lt;a href=&quot;http://daniel.lorch.cc/projects/rsnap/&quot;&gt;rsnap&lt;/a&gt; as a backup backend (Matt Lohier)&lt;/li&gt;
    &lt;li&gt;The documentation is now maintained in POD style instead of asciidoc (Matthew Boehm)&lt;/li&gt;
    &lt;li&gt;Support using non-GNU tar and additional compression methods (e.g. bzip2, lzma) (Alexander Skwar)&lt;/li&gt;
    &lt;li&gt;Code cleanups, improved error handling and logging&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I would like to thank all the contributors for their support! More details about the changes in this release, directly from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added new option &amp;quot;--quiet&amp;quot; that suppresses informal logging output (warnings and errors will still be printed/logged)&lt;/li&gt;
    &lt;li&gt;Applied patch from &amp;quot;kjetilho&amp;quot; that makes mylvmbackup more robust and paranoid when it comes to handling errors/failures (&lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/298175&quot;&gt;Bug #298175&lt;/a&gt;) Now the script aborts cleanly in case of any error.&lt;/li&gt;
    &lt;li&gt;Fixed error handling in case of a failed DB connection (patch submitted by Matthew Boehm, &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/280989&quot;&gt;Bug #280989&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Merged changes from Alexander Skwar: Fix for &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/278478&quot;&gt;Bug #278478&lt;/a&gt; and implemented Blueprint &amp;quot;&lt;a href=&quot;https://blueprints.launchpad.net/mylvmbackup/+spec/mylvmbackup-tar-improvements&quot;&gt;Improve the tar backup backend of mylvmbackup&lt;/a&gt;&amp;quot;&lt;/li&gt;
    &lt;li&gt;Fixed &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/271671&quot;&gt;Bug #271671&lt;/a&gt;: &amp;quot;overloading parameters does not work&amp;quot; by removing the default values for host and port from the configuration file and removing the unnecessary check for passing both host and socket at the same time. Updated documentation and configuration file comments accordingly.&lt;/li&gt;
    &lt;li&gt;Applied patch suggested by &amp;quot;Jonas&amp;quot; to fix &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/267944&quot;&gt;Bug #267944&lt;/a&gt;: &amp;quot;backup returns successfully when snapshot creation fails&amp;quot;&lt;/li&gt;
    &lt;li&gt;Code cleanup: moved flushing of tables in a separate subroutine flush_tables()&lt;/li&gt;
    &lt;li&gt;Code cleanup: moved log messages into the respective subroutines&lt;/li&gt;
    &lt;li&gt;Code cleanup: use return values of subroutines instead of updating global variables&lt;/li&gt;
    &lt;li&gt;Improved some log messages to explain what was DONE or FAILED&lt;/li&gt;
    &lt;li&gt;Code cleanup: build up long command strings in a $command variable before passing it to system()&lt;/li&gt;
    &lt;li&gt;Renamed subroutine create_snapshot() to create_lvm_snapshot()&lt;/li&gt;
    &lt;li&gt;Merged patch from Matthew Boehm: Removed old asciidoc documentation in favor of POD style. This removes the dependency on the external program a2x for creating documentation and uses the &#039;built-in&#039; pod2html and pod2man instead. Updated the Makefile to accommodate the change.&lt;/li&gt;
    &lt;li&gt;Applied patch from Matthew Boehm to make the backup file name suffix configurable via a &amp;quot;--suffix&amp;quot; option. Updated the man page accordingly.&lt;/li&gt;
    &lt;li&gt;Applied patch from Matt Lohier to support rsnap as a backup backend&amp;#160;&lt;/li&gt;
    &lt;li&gt;Moved the list of contributors from the man page into a separate CREDITS file, added missing names&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Enjoy!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 01 Dec 2008 23:24:37 +0100</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/231-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>databases</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>programming</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.10 has been released</title>
    <link>http://www.lenzg.net/archives/223-mylvmbackup-0.10-has-been-released.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/223-mylvmbackup-0.10-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=223</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=223</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.10 has been released.&lt;/p&gt;
&lt;p&gt;You can download the updated package from the project home page or via the openSUSE Build Service.&lt;/p&gt;
&lt;p&gt;This version fixes some bugs and includes new functionality:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Applied patch from Marc Haber: added option &lt;font face=&quot;Courier New&quot;&gt;--keep_snapshot&lt;/font&gt; that will skip the removal of the backup snapshot before terminating the script. Providing the option &lt;font face=&quot;Courier New&quot;&gt;--backuptype=none&lt;/font&gt; will now skip creating a backup using the builtin backup modules. Both options provide more flexibility when using hooks for performing the actual backup tasks or when the snapshot is considered to be the actual backup.&lt;/li&gt;
    &lt;li&gt;Added two new hooks: &amp;quot;backupsuccess&amp;quot; and &amp;quot;backupfailure&amp;quot; which are called respectively upon success of failure of the backup operation (&lt;a href=&quot;https://launchpad.net/bugs/264089&quot; title=&quot;cleanup continues even on tar failure&quot;&gt;Bug #264089&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Make sure that binaries are being found ($PATH may not include &lt;font face=&quot;Courier New&quot;&gt;/sbin&lt;/font&gt; when called from cron), added missing entry for &amp;quot;lvs&amp;quot; to mylvmbackup.conf (&lt;a href=&quot;https://launchpad.net/bugs/255703&quot; title=&quot;mylvmbackup default config missing line&quot;&gt;Bug #255703&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Updated documentation&lt;/li&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 20 Sep 2008 23:46:07 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/223-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>perl</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Thoughts about OSS project hosting and the importance of controlling downloads</title>
    <link>http://www.lenzg.net/archives/204-Thoughts-about-OSS-project-hosting-and-the-importance-of-controlling-downloads.html</link>
            <category>Linux</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/204-Thoughts-about-OSS-project-hosting-and-the-importance-of-controlling-downloads.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=204</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=204</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;In a recent article, Matt Asay was musing about the &lt;a href=&quot;http://news.cnet.com/8301-13505_3-10002342-16.html&quot;&gt;aspects of hosting an Open Source project by yourself&lt;/a&gt; vs. using a public project hosting service like &lt;a href=&quot;http://sf.net/&quot;&gt;SourceForge&lt;/a&gt;, &lt;a href=&quot;http://github.com/&quot;&gt;GitHub&lt;/a&gt; or &lt;a href=&quot;https://launchpad.net/&quot;&gt;Launchpad&lt;/a&gt;. He concluded that it&#039;s important for commercial/sponsored open source projects in particular to do the hosting by themselves, so they can maintain full control and can gain more insight, which hopefully will turn into more revenue at some point.&lt;/p&gt;
&lt;p&gt;However, Matt seems to reduce &amp;quot;hosting&amp;quot; to &amp;quot;providing downloads&amp;quot; only:&lt;/p&gt;
&lt;blockquote&gt;Control and visibility. Given the importance of customer conversions, it becomes hugely valuable information to know that it takes, say, eight months on average for someone to buy the &amp;quot;Enterprise&amp;quot; version of your code after downloading the software. With Sourceforge et al., you have no way of connecting the dots between download and purchase. But if you host your downloads, you can suddenly link a download to a purchase using marketing automation software like Loopfuse.&lt;br /&gt;
[...]&lt;br /&gt;
It can tell you many things, but the key is to be able to glean insight from the earliest stage of your interaction with a potential customer, and that means you have to host your own downloads. Otherwise, you have no idea how or when a would-be customer downloads your code, which makes the &amp;quot;why&amp;quot; they download it less interesting, because it becomes less actionable.&lt;/blockquote&gt;
&lt;p&gt;I understand and agree to Matt&#039;s point in principle - you want to know more about the users that download and use your stuff. Here are some related thoughts about this topic.&lt;/p&gt;
&lt;h3&gt;Project hosting is not just about downloads&lt;/h3&gt;
&lt;p&gt;First: project hosting is much more than just providing a download/mirror infrastructure for your product releases. On the one hand, you have the regular users of your product who are primarily interested in having easy and fast access to the latest builds for their platform of choice and a platform to exchange their problems and experiences with other users.&lt;/p&gt;
&lt;p&gt;But project hosting facilities also address a completely different audience, with different needs. These are the developers, who want to have easy access to the latest source code, be able to submit bug reports and patches and want a direct communication path to the project&#039;s developers.&lt;/p&gt;
&lt;p&gt;I think it is important to ensure that you serve both the developer community as well as the user community as best as you can, which could of course mean you should provide the full range of project hosting all by yourself. But by doing so, you also create an island that makes it difficult to benefit from the &amp;quot;cross-pollination effects&amp;quot; between your project and others. This can partially be remedied if you don&#039;t only set up a project hosting infrastructure for your own purposes, but also open it for projects related to your project (and which not maintained by your own team), e.g. how &lt;a href=&quot;http://www.sugarforge.org/&quot;&gt;SugarForge&lt;/a&gt; is doing it. But the cost and effort involved in setting up and maintaining such an infrastructure should not be underestimated.&lt;/p&gt;
&lt;h3&gt;There is more to distribute than releases&lt;/h3&gt;
&lt;p&gt;At MySQL, we just &lt;a href=&quot;http://blogs.mysql.com/kaj/2008/06/19/version-control-thanks-bitkeeper-welcome-bazaar/&quot;&gt;recently moved away&lt;/a&gt; the MySQL Server source trees from the proprietary &lt;a href=&quot;http://bitkeeper.com/&quot;&gt;BitKeeper&lt;/a&gt; revision control system to &lt;a href=&quot;http://bazaar-vcs.org/&quot;&gt;Bazaar&lt;/a&gt;. Along with this migration, we also relocated the public repositories from mysql.bkbits.net to &lt;a href=&quot;https://launchpad.net/mysql-server&quot;&gt;Launchpad.net&lt;/a&gt;, to make it easier for external developers to access and work with the code. Currently, MySQL only makes use of the source repository hosting capabilities - downloads, bug reports and most other things like mailing lists or forums are all maintained by ourselves and hosted on mysql.com.&lt;/p&gt;
&lt;p&gt;Due to the distributed nature of Bazaar, we could of course also provide the source repos from our own servers (similar to how we do it for several of our &lt;a href=&quot;http://svn.mysql.com/fisheye/&quot;&gt;projects&lt;/a&gt; that are still maintained in &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt;). But I think it makes a lot of sense to use Launchpad for that, as it allows a tighter integration and collaboration with contributors and &lt;a href=&quot;https://launchpad.net/mysql&quot;&gt;other related projects&lt;/a&gt;, and it gives us more visibility within the developer community.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://launchpad.net/drizzle&quot;&gt;Drizzle&lt;/a&gt; has taken this even further: the project utilizes all of Launchpad&#039;s facilities, including Blueprints, Bug reporting, mailing lists. It&#039;s going to be an interesting learning experience to see how this affects and improves community interaction/participation. I&#039;d love to see MySQL move more into this direction as well (especially the &lt;a href=&quot;http://bugs.mysql.com/&quot;&gt;bug database&lt;/a&gt; and &lt;a href=&quot;http://forge.mysql.com/worklog/&quot;&gt;worklog&lt;/a&gt; would be good candidates), but this probably will take some more time.&lt;/p&gt;
&lt;p&gt;I too recently moved the source tree of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;my own personal project&lt;/a&gt; from a Subversion repository on my private server to &lt;a href=&quot;https://launchpad.net/mylvmbackup&quot;&gt;Launchpad&lt;/a&gt;. Several reasons motivated me to do this, one of them being the opportunity to gain more practical experience with Bazaar and getting away from a central source code repository that makes me the bottleneck in making changes and applying patches. A distributed revision control system makes much more sense from a community contribution point of view, which Ian Clatworthy summarizes quite well in his paper &amp;quot;&lt;a href=&quot;http://people.ubuntu.com/%7Eianc/papers/dvcs-why-and-how.pdf&quot;&gt;Distributed Version Control Systems - Why and How&lt;/a&gt;&amp;quot;. In a way I deliberately give away some of the control over my project. And I must say I like how Launchpad integrates the various available subsystems like blueprints, code branches and bug reports - things are much better connected and they provide useful workflows that make the entire system much more productive to use than e.g. SourceForge.&lt;/p&gt;
&lt;p&gt;I still provide downloads of released versions from my own site (as does MySQL), but mostly because I actually did not know until recently that Launchpad offered this kind of service - I will look into that for the next release. I am more interested in making sure that my users have easy access to properly packaged versions of my project for their operating system of choice. Therefore I work closely with the packagers from various distributions and make sure they integrate new releases quickly. In addition to that, I make use of hosted services like the &lt;a href=&quot;http://build.opensuse.org/&quot;&gt;OpenSUSE Build Service&lt;/a&gt;, which automatically provides package repositories for a number of platforms. I aim for wide distribution on as many channels as possible, instead of trying to be the sole provider of my product. This brings me to another point:&lt;/p&gt;
&lt;h3&gt;Downloads stats are overrated&lt;/h3&gt;
&lt;p&gt;Direct downloads from your project&#039;s web site usually are only one part of the distribution system. I believe that being included in the various Linux or other Open Source Operating System Distributions (e.g. Free/OpenBSD, OpenSolaris, etc.) plays a much bigger role in gaining popularity and reaching more users. Most users usually go with what they get as part of the package, as the distributor usually has taken care of a tight integration and proper packaging of your project within his own product and also takes care of providing updates and fixes.&lt;/p&gt;
&lt;p&gt;Unfortunately it&#039;s almost impossible to gather any detailed intelligence about the number of users of a project this way, as distributions usually don&#039;t keep track of (or don&#039;t disclose) their download figures and which packages on their releases are the most popular. Debian&#039;s &lt;a href=&quot;http://popcon.debian.org/&quot;&gt;Popularity Contest&lt;/a&gt; is probably the only exception to this, but it&#039;s unclear how reliable that information is. Here I must agree with Matt again, if we just look at project hosting services acting as download providers only and include distributions in this equation:&lt;/p&gt;
&lt;blockquote&gt;As open source becomes more commercial, someone is going to need to step up to offer such visibility into these hosted services, or we&#039;re going to find the hosted services proving useful for ever decreasing amounts of time.&lt;/blockquote&gt;
&lt;p&gt;I guess we all would &lt;strong&gt;love&lt;/strong&gt; to know more about the users that don&#039;t download a package from our site, but go with the one provided by their distribution of choice instead or download it from somewhere else. But so far, this is a blank spot on our radar screen.&lt;/p&gt;
&lt;p&gt;&amp;#160;Another caveat that results from these multiple distribution channels: just looking at your own download stats may actually give you a skewed picture of your user base, particularly if you look at the platforms (which will probably be dominated by Windows or Mac OS X, as these OSes usually don&#039;t ship your code as part of their own product).&lt;/p&gt;
&lt;p&gt;So instead of trying to force downloads through a single instance only, I think it&#039;s much more important to ensure widespread distribution and a top-notch first hand experience. If users like your product, they are much more inclined to consider coming back and purchasing something from you than if you annoy them by making your product hard to download and install or require them to register before they can obtain a copy of your product. It&#039;s all about lowering the barriers as much as you can, even if you have to give up some control in exchange.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 01 Aug 2008 21:10:44 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/204-guid.html</guid>
    <category>bzr</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>development</category>
<category>distribution</category>
<category>forge</category>
<category>linux</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>packaging</category>
<category>subversion</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.9 has been released</title>
    <link>http://www.lenzg.net/archives/201-mylvmbackup-0.9-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
            <category>Personal</category>
    
    <comments>http://www.lenzg.net/archives/201-mylvmbackup-0.9-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=201</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=201</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that a new version (0.9) of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; has been released. This is the first release since the source code has been moved from Subversion to Bazaar and is now hosted on &lt;font face=&quot;agency&quot;&gt;&lt;a href=&quot;https://launchpad.net/mylvmbackup/&quot;&gt;Launchpad.net&lt;/a&gt;&lt;/font&gt;. I would like to thank Robin H. Johnson and Patrick Hahn for providing the patches that contributed to this new release!&lt;/p&gt;
&lt;p&gt;mylvmbackup is a tool for quickly creating backups of MySQL server&#039;s data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes an LVM snapshot of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds.&lt;/p&gt;
&lt;p&gt;From the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Applied patch from Patrick Hahn: provide an option to call external scripts/&lt;wbr&gt;&lt;/wbr&gt;applications (hooks) at various stages of the backup process. See the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/mylvmbackup.1.html&quot;&gt;man page&lt;/a&gt; for instructions&lt;/li&gt;
    &lt;li&gt;Added options &amp;quot;&lt;tt&gt;--skip_hooks&lt;/tt&gt;&amp;quot; to disable the execution of hooks and &amp;quot;&lt;tt&gt;--hooksdir&lt;/tt&gt;&amp;quot; to define the location for these (default is &lt;tt&gt;/usr/share/mylvmbackup&lt;/tt&gt;)&lt;/li&gt;
    &lt;li&gt;Updated documentation: added new options and instructions on how to use hooks&lt;/li&gt;
    &lt;li&gt;Applied patch from Robin H. Johnson: Full support for an rsync:// service as the backup destination. If you include any path fragments with the rsync module name, they must already exist!&lt;/li&gt;
    &lt;li&gt;Updated documentation to reflect these changes&lt;/li&gt;
    &lt;li&gt;Updated TODO&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can download a source tarball or RPM from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;project home page&lt;/a&gt;. Additional packages for various Linux distributions can be obtained from the &lt;a href=&quot;http://download.opensuse.org/repositories/home:/LenzGr/&quot;&gt;openSUSE Build Service&lt;/a&gt;. Packages for &lt;a href=&quot;http://packages.gentoo.org/package/mylvmbackup&quot;&gt;Gentoo&lt;/a&gt; and &lt;a href=&quot;http://packages.debian.org/sid/mylvmbackup&quot;&gt;Debian&lt;/a&gt; should appear shortly, too.&lt;/p&gt;
&lt;p&gt;Enjoy! Please let me know how mylvmbackup works for you, either by posting to our &lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;mailing list&lt;/a&gt; or by submitting a &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup&quot;&gt;bug report&lt;/a&gt;. Thanks!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Jul 2008 00:51:01 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/201-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>perl</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>The mylvmbackup source tree has moved to Bazaar/Launchpad</title>
    <link>http://www.lenzg.net/archives/197-The-mylvmbackup-source-tree-has-moved-to-BazaarLaunchpad.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
            <category>Site News</category>
    
    <comments>http://www.lenzg.net/archives/197-The-mylvmbackup-source-tree-has-moved-to-BazaarLaunchpad.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=197</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=197</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;JFYI: today I migrated the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; source tree from my local &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt; repository on &lt;a href=&quot;http://www.lenzg.net/&quot;&gt;http://www.lenzg.net/&lt;/a&gt; to a &lt;a href=&quot;http://bazaar-vcs.org/&quot;&gt;Bazaar&lt;/a&gt; repository on &lt;a href=&quot;http://launchpad.net/mylvmbackup&quot;&gt;Launchpad.net&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This will hopefully make it easier for contributors to work on the code and share their modifications with others, removing me as the bottleneck for applying and testing patches for new releases. I chose Bazaar primarily because I wanted to get some more hands-on practice with it, now that the MySQL Server source trees have been transferred to it as well (see &lt;a href=&quot;http://blogs.mysql.com/kaj/2008/06/19/version-control-thanks-bitkeeper-welcome-bazaar/&quot;&gt;Kaj&#039;s announcement&lt;/a&gt; for details).&lt;/p&gt;
&lt;p&gt;As mylvmbackup is closely related to the MySQL Server project, it made sense to choose the same platform and enjoy the cross-pollination effects and the infrastructure that Launchpad provides. Additionally, the distributed nature of Bazaar makes it more convenient to work with the code history and commiting changes locally without having to be online and connected to the SVN server.&lt;/p&gt;
&lt;p&gt;I am sure that other DSCMSs like &lt;a href=&quot;http://git.or.cz/&quot;&gt;Git&lt;/a&gt;, &lt;a href=&quot;http://www.selenic.com/mercurial/&quot;&gt;Mercurial&lt;/a&gt; or &lt;a href=&quot;http://darcs.net/&quot;&gt;darcs&lt;/a&gt; would have done the job equally well - nowadays it&#039;s very hard to choose &lt;img src=&quot;http://www.lenzg.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The &amp;quot;trunk&amp;quot; branch is now hosted on Launchpad. I assume that I will soon open up a development branch, that will receive heavier modifications first. I also plan to use the site for bug tracking and keeping track of feature requests (via Blueprints).&lt;/p&gt;
&lt;p&gt;To create a local branch of the &amp;quot;trunk&amp;quot; repository, you can use the following command:&lt;/p&gt;
&lt;pre&gt;bzr branch lp:mylvmbackup&lt;/pre&gt;
&lt;p&gt;I also maintain a copy of that branch on my home server, just in case: &lt;a href=&quot;http://www.lenzg.net/bzr/mylvmbackup/&quot;&gt;http://www.lenzg.net/bzr/mylvmbackup/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To avoid confusion, I removed the Subversion repository on &lt;a href=&quot;http://www.lenzg.net/&quot;&gt;http://www.lenzg.net&lt;/a&gt;. Please use the Bazaar tree on Launchpad from now on. Thanks!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 25 Jun 2008 21:53:07 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/197-guid.html</guid>
    <category>bzr</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>perl</category>
<category>site news</category>
<category>subversion</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>LVM Backup slides published</title>
    <link>http://www.lenzg.net/archives/184-LVM-Backup-slides-published.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/184-LVM-Backup-slides-published.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=184</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=184</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;JFYI, I now placed a PDF of my MySQL Conference talk slides about &lt;a href=&quot;http://www.lenzg.net/mysql/LVM-Snapshot-Backups-MySQLConf-2008-04-16.pdf&quot;&gt;&amp;quot;Performing MySQL backups using Linux LVM Snapshots&amp;quot;&lt;/a&gt; on my &lt;a href=&quot;http://www.lenzg.net/mysql/&quot;&gt;MySQL talks page&lt;/a&gt;. Enjoy!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 24 Apr 2008 17:12:08 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/184-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>conference</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>presentation</category>
<category>slides</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zumastor as an alternative for LVM/DRBD?</title>
    <link>http://www.lenzg.net/archives/182-Zumastor-as-an-alternative-for-LVMDRBD.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/182-Zumastor-as-an-alternative-for-LVMDRBD.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=182</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=182</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;While reading Colin&#039;s &lt;a href=&quot;http://www.bytebot.net/blog/archives/2008/04/13/gong-a-thong-at-lugradio-live-usa&quot;&gt;post about LugRadio Live&lt;/a&gt;, I stumbled over the &lt;a href=&quot;http://zumastor.org/&quot;&gt;Zumastor Linux Storage Project&lt;/a&gt;. Going through the project home page and their &lt;a href=&quot;http://zumastor.googlecode.com/svn/branches/0.7/doc/zumastor-howto.html&quot;&gt;HOWTO&lt;/a&gt; got me curious - could this eventually become an alternative to using DRBD (for replicating data) and LVM snapshots (for performing backups)?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Zumastor is Free software that adds enterprise storage features (primarily improved snapshots and remote replication) to Linux.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Snapshots&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;LVM already lets administrators create snapshots, but its design has the surprising property that every block you change on the original volume consumes one block for each snapshot. The resulting speed and space penalty usually makes the use of more than one or two snapshots at a time impractical.&lt;/p&gt;
&lt;p&gt;Zumastor keeps all snapshots for a particular volume in a common snapshot store, and shares blocks the way one would expect. Thus making a change to one block of a file in the original volume only uses one block in the snapshot store no matter how many snapshots you have.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Replication&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Andrew Tridgell&#039;s rsync is a wonderful tool for replicating files remotely. However, when doing periodic replication of large numbers of infrequently changing files, the overhead for figuring out what files need to be sent can be extreme.&lt;/p&gt;
&lt;p&gt;Zumastor keeps track of which block change between one snapshot and the next, and can easily send just the changed blocks. Thus Zumastor can do frequent replication of large filesystems much more efficiently than rsync can.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I assume it&#039;s not ready for production use yet, but it would sure be interesting to investigate on how to utilize it for the purpose of running MySQL on top of it...&lt;/p&gt;
&lt;p&gt;I will keep an eye on this project, I wonder if I will have to add support for Zumastor snapshots to &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; at some point? &lt;img src=&quot;http://www.lenzg.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 16 Apr 2008 23:22:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/182-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>snapshots</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.8 has been released</title>
    <link>http://www.lenzg.net/archives/180-mylvmbackup-0.8-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/180-mylvmbackup-0.8-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=180</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=180</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce the release of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.8. mylvmbackup is a tool for quickly creating backups of a MySQL server&#039;s data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes an &lt;a href=&quot;http://tldp.org/HOWTO/LVM-HOWTO/&quot;&gt;LVM snapshot&lt;/a&gt; of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds.&lt;/p&gt;
&lt;p&gt;Below is the list of changes since version 0.6. You may wonder what happened to version 0.7 - it had a rather short life cycle as I was informed about a bug that I fixed quickly before I made a wider release announcement of 0.7.&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Fixed a bug in the InnoDB recovery function: the second mysqld process clobbered the socket file of the primary MySQL instance (thanks to Alain Hoang for reporting this)&lt;/li&gt;
    &lt;li&gt;Updated the man page, noted some other limitations of the InnoDB recovery function&lt;/li&gt;
    &lt;li&gt;Bug fix: use the correct mysqld parameter to provide an alternative PID file (--pid-file instead of --pidfile) - thanks to Guillaume Boddaert and Jim Wilson for reporting this!&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--skip_mycnf&amp;quot; to skip including a copy of the MySQL configuration file in the backup, added a safety check that the file actually exists prior to backing it up.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Updated package are available from the home page and via the &lt;a href=&quot;http://software.opensuse.org/&quot;&gt;openSUSE Build Service&lt;/a&gt; as usual. Updated packages for Debian/Ubuntu and Gentoo Linux should also be available shortly. Enjoy!&lt;/p&gt;
&lt;p&gt;Speaking of LVM snapshot backups: I will be &lt;a href=&quot;http://en.oreilly.com/mysql2008/public/schedule/detail/252&quot;&gt;giving a talk&lt;/a&gt; about this subject at our &lt;a href=&quot;http://mysqlconf.com/&quot;&gt;MySQL Conference 2008&lt;/a&gt; in Santa Clara, CA next week. If you are curious about how MySQL can be backed up using this technology, please consider to stop by!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 21:23:36 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/180-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>conference</category>
<category>development</category>
<category>event</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>packaging</category>
<category>perl</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Backing up MySQL using ZFS Snapshots: SnapBack</title>
    <link>http://www.lenzg.net/archives/150-Backing-up-MySQL-using-ZFS-Snapshots-SnapBack.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/150-Backing-up-MySQL-using-ZFS-Snapshots-SnapBack.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=150</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=150</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;While browsing the many blog entries on &lt;a href=&quot;http://blogs.sun.com&quot;&gt;blogs.sun.com&lt;/a&gt; about the MySQL Acquisition (thanks a lot for the very warm welcome!), I stumbled over this (&lt;a href=&quot;http://python.org/&quot;&gt;Python&lt;/a&gt;-based) utility: &lt;a href=&quot;http://blogs.digitar.com/jjww/?itemid=56&quot;&gt;SnapBack&lt;/a&gt;, a tool that uses ZFS snapshots to perform physical backups of MySQL databases on Solaris. Very cool! This is actually something I was wanting to add to the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; script, too - I have to take a closer look at how this is done (I tried to install OpenSolaris on a VirtualBox instance, but it caused it to crash the emulator).&lt;br /&gt;
&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 19 Jan 2008 22:46:23 +0100</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/150-guid.html</guid>
    <category>backup</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>python</category>
<category>snapshots</category>
<category>solaris</category>
<category>utility</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.6 has been released</title>
    <link>http://www.lenzg.net/archives/144-mylvmbackup-0.6-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/144-mylvmbackup-0.6-has-been-released.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=144</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=144</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Version 0.6 of mylvmbackup, a script to perform backups of a MySQL server using Linux LVM snapshots, has now been released.&lt;/p&gt;
&lt;p&gt;In addition to various code cleanups and documentation improvements, many new features have been added to this version. I&#039;d like to specially thank Robin H. Johnson from the Gentoo project for contributing many of the improvements to this release!&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added a new rsync backup type. This is very useful if you want to use mylvmbackup to create the initial state for your slave servers. Instead of creating a .tar.gz archive, the data directory is copied into a timestamped archive directory. (Robin)&lt;/li&gt;
    &lt;li&gt;Added support for a trailing argument to tar, which can be used for excluding files. (Robin)&lt;/li&gt;
    &lt;li&gt;Separated out the suffix of the tarball (Preperation for rsync and users that want to use bzip2 or no compression on the tarball.) (Robin)&lt;/li&gt;
    &lt;li&gt;While the backup is performed, a temporary suffix at the end of the tar backup file name (or the rsync target directory name) now indicates that it is incomplete. (Robin)&lt;/li&gt;
    &lt;li&gt;The my.cnf configuration file is now included in the backup. (Robin)&lt;/li&gt;
    &lt;li&gt;Added the ability to run an extra FLUSH TABLES on busy databases where lvcreate might take a long time (and may overrun the interactivity timeout on the connection, losing the lock). (Robin)&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--pidfile&amp;quot; to provide an alternative PID file location for the second server instance that is started to perform the InnoDB recovery on the snapshot prior to backing it up (Otherwise it may default to using the same pid file location that the running server uses and safe_mysqld will abort) - thanks to Kristian K&amp;ouml;hntopp for making me aware of this problem.&lt;/li&gt;
    &lt;li&gt;Before discarding the snapshot LV, the output of &amp;quot;lvs &amp;lt;snapshot&amp;gt;&amp;quot; is now printed out for diagnostics. It contains useful information like &amp;quot;how much percent of the backing store was used&amp;quot;, which helps tuning the size of the snapshot LV.&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--skip-flush-tables&amp;quot; that performs the snapshot without flushing the tables to disk beforehand (which is not supported by InnoDB tables anyway) - this would save time, as the flushing can take a while, depending on the buffer sizes. (Thanks to Peter Zaitsev for the suggestion)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Version 0.6 is now available for download from &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;http://www.lenzg.net/mylvmbackup/&lt;/a&gt; (source tarball and RPM). I also provide RPM packagages for a number of additional platforms via my &lt;a href=&quot;http://download.opensuse.org/repositories/home:/LenzGr/&quot;&gt;home:LenzGr repository&lt;/a&gt; on the fabolous &lt;a href=&quot;https://build.opensuse.org/&quot;&gt;openSUSE Build Service&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Enjoy! Feedback, patches and suggestions are welcome - please consider joining &lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;the mylvmbackup mailing list&lt;/a&gt; to discuss your experiences with this tool.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 28 Oct 2007 13:41:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/144-guid.html</guid>
    <category>backup</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>RPM</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Announcing mylvmbackup 0.5</title>
    <link>http://www.lenzg.net/archives/121-Announcing-mylvmbackup-0.5.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://www.lenzg.net/archives/121-Announcing-mylvmbackup-0.5.html#comments</comments>
    <wfw:comment>http://www.lenzg.net/wfwcomment.php?cid=121</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=121</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    
&lt;a href=&quot;http://ebergen.net/wordpress/&quot;&gt;Eric Bergen&lt;/a&gt; from &lt;a href=&quot;http://provenscaling.com/&quot;&gt;Proven Scaling&lt;/a&gt; (which I had the pleasure to meet in person during the &lt;a href=&quot;http://mysqlconf.com/&quot;&gt;MySQL Conference &amp;amp; Expo&lt;/a&gt; in Santa Clara last month) was kind enough to send me a patch for the mylmbackup tool, which justifies a new release:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;Attached is a patch file for mylvmbackup that adds the ability to use&lt;br /&gt;lvm version 2 and perform innodb recovery on the snapshot prior to&lt;br /&gt;creating a tar ball. The option is named --innodb-recover.&lt;br /&gt;&lt;br /&gt;I&#039;ve also fixed a bug with default value handling for command line&lt;br /&gt;options. In version 0.4 if a config file was specified default values&lt;br /&gt;in the script were all changed to blank. This means that the config&lt;br /&gt;file had to supply values for every variable instead of just the&lt;br /&gt;values that need to be changed from default.&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;This is a very useful addition, as it significantly reduces the time required to recover a MySQL server from a snapshot backup. Thank you, Eric! Note that you need to use LVM2, as LVM1 does not support the required writing to snapshot volumes.&lt;/p&gt;&lt;p&gt;Version 0.5 is now available for download from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup project page&lt;/a&gt;. &lt;/p&gt;I also would like to announce that I have set up a dedicated mailing list for this tool: if you want to discuss the usage/future of mylvmbackup, propose patches or ask for
help, there now is a mailinglist, hosted on
&lt;a href=&quot;http://www.freelists.org/&quot;&gt;FreeLists.org&lt;/a&gt;. To subscribe, either enter
your email address on the
&lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;mylvmbackup list information page&lt;/a&gt;
or send an email with the subject &amp;quot;subscribe&amp;quot; to
&lt;a href=&quot;mailto:mylvmbackup-request@freelists.org&quot;&gt;mylvmbackup-request@freelists.org&lt;/a&gt;.
The list is &lt;a href=&quot;http://www.freelists.org/archives/mylvmbackup/&quot;&gt;archived here&lt;/a&gt;. See you there! 
    </content:encoded>

    <pubDate>Wed, 09 May 2007 13:57:30 +0200</pubDate>
    <guid isPermaLink="false">http://www.lenzg.net/archives/121-guid.html</guid>
    <category>backup</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mailinglist</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>

</channel>
</rss>