BackupPC-users

[BackupPC-users] BackupFilesExcludes for Linux

2008-12-08 15:29:57
Subject: [BackupPC-users] BackupFilesExcludes for Linux
From: Mark Adams <mark9117 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Dec 2008 13:28:29 -0700
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.

-- 
Mark E. Adams

Random Musing: 
Save the whales.  Collect the whole set.



------------------------------------------------------------------------------
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/

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