<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Ruslan Sivak - BackupPC</title>
			<link>http://www.ruslansivak.com</link>
			<description>This is the development blog.</description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 14:42:34 -0400</pubDate>
			<lastBuildDate>Fri, 13 Mar 2009 16:33:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>russ@ruslansivak.com</managingEditor>
			<webMaster>russ@ruslansivak.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>russ@ruslansivak.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>BackupPC - rsync over ssh on an alternate port</title>
				<link>http://www.ruslansivak.com/2009/3/13/BackupPC--rsync-over-ssh-on-an-alternate-port</link>
				<description>
				
				I recently set up BackupPC to back up a remote server using rsync over ssh.  I won&apos;t go into the gory details now, but in order to make it work on an alternate port, I had to make the following change to the config file for this host:

&lt;code&gt;
$Conf{RsyncClientCmd} = &apos;$sshPath -p 1234 -q -x -l root $host rsync $argList+&apos;;
&lt;/code&gt;

This will connect to ssh running on port 1234 on the remote $host.

If you try changing $sshPath to include the switch, BackupPC tries to escape the arguments when using them, and that results in weird errors.
				
				</description>
				
				
				<category>BackupPC</category>
				
				<pubDate>Fri, 13 Mar 2009 16:33:00 -0400</pubDate>
				<guid>http://www.ruslansivak.com/2009/3/13/BackupPC--rsync-over-ssh-on-an-alternate-port</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>BackupPC - enabling compression</title>
				<link>http://www.ruslansivak.com/2009/3/13/BackupPC--enabling-compression</link>
				<description>
				
				&lt;quote&gt;BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and laptops to a server&apos;s disk. BackupPC is highly configurable and easy to install and maintain. &lt;/quote&gt;

I recently set up BackupPC , and although it took a little bit of setting up and getting used to, I&apos;m pretty happy with it.  One thing that I didn&apos;t realize right away is that it doesn&apos;t do transfer compression, as the perl RSync library it uses doesn&apos;t support it.  

The way to enable compression is to use ssh compression and to backup using method &apos;rsync&apos;. 

Here is the configuration option that I used to enable it.

&lt;code&gt;
$Conf{RsyncClientCmd} = &apos;$sshPath -C -o CompressionLevel=9 -q -x -l root $host rsync $argList+&apos;;
&lt;/code&gt;

-C enables compression and -o CompressionLevel=9 sets the compression level to 9 (same as gzip).  According to the man page, the default level is 6, and you should probably leave it at 6, unless you&apos;ve got CPU power to spare. 

The man page also mentions that for backups on a fast network, ssh compression will probably slow things down instead of speeding them up.
				
				</description>
				
				
				<category>BackupPC</category>
				
				<pubDate>Fri, 13 Mar 2009 16:22:00 -0400</pubDate>
				<guid>http://www.ruslansivak.com/2009/3/13/BackupPC--enabling-compression</guid>
				
				
			</item>
			
		 	
			</channel></rss>