BackupPC-users

Re: [BackupPC-users] BackupFilesExcludes for Linux

2008-12-08 16:57:26
Subject: Re: [BackupPC-users] BackupFilesExcludes for Linux
From: Mark Adams <mark9117 AT gmail DOT com>
To: madams9 AT msn DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Dec 2008 14:37:54 -0700
I think I spotted a mistake in my own speculative config.  See below.

Mark Adams wrote:
> Greetings.  Me again.
>
> I upgraded my backup server and configured two hard drives into a single 
> logical volume with LVM for my TopDir, and successfully configured 
> BackupPC to backup a share on one of my host machines.  Rejoicing was 
> heard throughout the LAN.
>
> Now, I am faced with the necessity of backing up my /etc and some of my 
> user's home directory on that machine.
>
> I want to exclude several directories under my user's home directory, 
> but the information I've seen is all about configuring BackupPC for a 
> Windows host. I am assuming I need to change this:
>
>
> $Conf{BackupFilesOnly} = {
>   '*' => [
>     'images',
>     'Photos'
>   ]
> };
> $Conf{RsyncShareName} = [
>   '/mnt/share'
> ];
> $Conf{ClientNameAlias} = '192.168.1.106';
>
>
>
> To this:
>
>
> $Conf{BackupFilesOnly} = {
>   '/mnt/share' => [
>     'images',
>     'Photos'
>   ]
>  '/' => [
>    'etc'
>   ]
>  '/home' => [
>   'madams'
>   ]
> };
> $Conf{BackupFilesExclude} = {
>  '/home/madams' => ['/torrent', '/Download'],
>  };
> $Conf{RsyncShareName} = [
>   '/mnt/share', '/home/madams', '/etc'
> ];
> $Conf{ClientNameAlias} = '192.168.1.106';
>
>
> Is this right, or do I misunderstand this configuration?
>
> Thanks.
>
>   
I believe the $Conf{RsyncShareName} statement should involve '/' rather 
than '/etc'. The directory I want to backup is /etc which is a 
subdirectory of /.  I also believe the /home/madams directory should be 
/home.  Am I right?

-- 
Mark E. Adams

Random Musing: 
And do you think (fop that I am) that I could be the Scarlet Pumpernickel?



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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/