BackupPC-users

Re: [BackupPC-users] Exclusion not working with rsync

2011-10-27 08:30:04
Subject: Re: [BackupPC-users] Exclusion not working with rsync
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 27 Oct 2011 08:11:56 -0400
On 10/26 07:49 , Steve M. Robbins wrote:
> I'm backing up my local machine using rsync; see configuration below.

This isn't really a proper answer to your question; but have you considered
using tar for your backup of localhost? I've found that tar is faster for
some types of transfers (where bandwidth isn't at a premium). I haven't
tested this extensively.

Here's what I use for a localhost.pl:
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';

# let it back itself up anytime it wants to.
$Conf{BlackoutPeriods} = [];

$Conf{TarShareName} = ['/'];

$Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc',
'/var/lib/vmware', '/var/log', '/tmp', '/var/tmp', '/mnt', '/media'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f
- -C $shareName --totals';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

# turning off compression on these files, so they can be recovered without
# backuppc.
# wouldn't make sense to need your backup server, 
# in order to recover your backup server, now would it?
$Conf{CompressLevel} = 0;



Back to the original point of your question; your configuration does look
sane, tho I don't do any backups quite that way so I don't have direct
experience with multiple rsync shares on the same host. (I use ssh keys
customized to restrict the backups to particular trees of files, so I need a
new backup profile for each tree on a remote host).

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>