The weblog of Michael Zehrer


10.2.2007
Filed under: Debian/Ubuntu, General, Programming @ 19:21

backup-manager is a simple and straightforward backup solution and Amazon S3 gives you reliable remote storage.

Since the backup-manager versions in Debian and Ubuntu are little bit outdated, I would recommend installing the 0.7.5 Release from the Website. While the installation of backup-manager is painless, getting the s3 part running a little bit tricky (and undocumented).
The s3 part of backup-manager is based on the Net::Amazon::S3 perl module and this needs the XML::LibXML::XPathContext module, which is, as far as I can see, not included in one of the libxml-*-perl packages in Debian or Ubuntu.

So, this procedure gives you all the needed dependencies:

sudo apt-get install libperl6-slurp-perl libxml2-dev
sudo cpan XML::LibXML
sudo cpan Net::Amazon::S3

Update: (14.06.07) Ubuntu feisty now contains the 7.5.3 version of backup-manager.

4 Comments »

  1. Cool, it would be great if you would go into a little more depth on how to set up Backup Manager to work with S3.

    Comment by Colin Nederkoorn — 25.4.2007 @ 22:26

  2. Colin: After installing backup-manager and the needed dependencies, all you have to do ist editing the quite well commented configuration. Or is there something I missed?

    Comment by michael — 28.4.2007 @ 8:49

  3. ubuntu feisty has backup-manager version 0.7.5-3 so that seems pretty up-to-date.

    But when I ran the first cpan command, I was frustrated to run into a huge tangle of surprising warning messages, and an attempt to install some odd thing named junoscript-perl and more questions about other Unsatisfied dependencies. Friends warn me away from cpan. Any more words of wisdom?

    Comment by Neal McBurnett — 14.6.2007 @ 4:02

  4. Neal: Regarding the junoscript install. My call to cpan was wrong, and that caused this strange junoscript install. If you work in the cpan shell (by calling cpan without arguments on the shell), install is the keyword for installing a module (like install Acme::DonMartin), but if you use cpan the way I did on the command line install is no keyword anymore, but it is interpreted as a module. And junoscript-perl contains an “install” module.

    So from the command line you have to call cpan like “cpan Acme::DonMartin”. Really strange, but in some way very perlish (TMTOWTDI) ;-)

    But beyond don’t trust your friends in this. Cpan is very cool, just like apt-get is for debian/ubuntu. Of course not for the average user, but installing backup-manager with the s3 upload method is not was the average user wants, right?

    Just follow cpan and install the dependencies for libxml as suggested. Tell me if you run into any errors.

    Comment by michael — 14.6.2007 @ 10:33

RSS feed for comments on this post.

Leave a comment