Well done.

On Wed, Mar 31, 2010 at 11:12 PM, Rémi Boulle <rboulle@free.fr> wrote:
Le 31/03/2010 21:31, Luis Paulo a écrit :
> I think you can only use $Conf{RsyncShareName} or
> $Conf{BackupFilesOnly}, not both
>
> I'll move what I want to backup to a subfolder, lets say
> /home/remi/Documents, and use
>
> $Conf{RsyncShareName} = [
> '/home/remi/Documents',
> '/home/remi/.thunderbird'
> ];
>
> Didn't test it, but I think you'll get the idea

Thanks, I tried that too but I think it works if it is only a proper
filesystem.

Actually, the following host.pl did the job for me. I had to add an
"--include" parameter to rsync.
=========
$Conf{RsyncShareName} = [
  '/home/remi'
];
$Conf{BackupFilesExclude} = {
  '/home/remi' => [
    '.*'
  ]
};
$Conf{BackupFilesOnly} = {};
$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive',
  '--include .thunderbird'
];
=========

Thanks
Rémi.
> Luis
>
> On Wed, Mar 31, 2010 at 1:50 PM, Rémi Boulle <rboulle@free.fr
> <mailto:rboulle@free.fr>> wrote:
>
>     Hi,
>
>     I would like to backup /home/remi but I don't want all the .* files
>     except one named .thunderbird (all the emails...).
>
>     After messing around with unsuccessfuls try out, here is my last
>     host.pl <http://host.pl> :
>     ======
>     $Conf{RsyncShareName} = [
>     '/home/remi'
>     ];
>     $Conf{BackupFilesExclude} = {
>     '/home/remi' => [
>     '.*',
>     '!.thunderbird'
>        ]
>     };
>     $Conf{BackupFilesOnly} = {
>     '/home/remi' => []
>     };
>     =====
>     How could I do that ?
>     Thanks a lot.
>     Rémi.
>
>
>
>     ------------------------------------------------------------------------------
>     Download Intel&#174; Parallel Studio Eval
>     Try the new software tools for yourself. Speed compiling, find bugs
>     proactively, and fine-tune applications for parallel performance.
>     See why Intel Parallel Studio got high marks during beta.
>     http://p.sf.net/sfu/intel-sw-dev
>     _______________________________________________
>     BackupPC-users mailing list
>     BackupPC-users@lists.sourceforge.net
>     <mailto:BackupPC-users@lists.sourceforge.net>
>     List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>     Wiki: http://backuppc.wiki.sourceforge.net
>     Project: http://backuppc.sourceforge.net/
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/