BackupPC-users

Re: [BackupPC-users] how to exclude hiddent files ?

2010-03-31 05:25:02
Subject: Re: [BackupPC-users] how to exclude hiddent files ?
From: Rémi Boulle <rboulle AT free DOT fr>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 31 Mar 2010 11:23:25 +0200
Le 30/03/2010 23:05, Johan Cwiklinski a écrit :
> Le 30/03/2010 22:55, Rémi Boulle a écrit :
>> Hi,
>>
>> I would like to backup only the /home/remi and not all the hidden files
>> (especially .local/.../Trash)
>>
>> Here is my host.pl file :
>>
>> $Conf{BackupFilesExclude} = {
>>     '/home/remi/.*' =>  [],
>>     '.*' =>  []
>> };
>> $Conf{RsyncShareName} = [
>>     '/home/remi'
>> ];
>>
>> and the main config.pl states :
>>
>> $Conf{BackupFilesExclude} = {
>>     '.*' =>  [
>>       ''
>>     ]
>> };
>>
>> It doesn't work for me.
>> Where is my syntax matter ?
>> Thanks a lot.
>> Rémi.
>>
>
> Hello,
>
> I'm a bit unsure, but shoud not that be something like:
>
> $Conf{RsyncShareName} = [
>     '/home/remi'
> ];
>
> $Conf{BackupFilesExclude} = {
>     '/home/remi/' =>  ['.*']
> };
>
> Hope that could helps,

Thanks, i tied diffenrent things but none of them excludes the hidden files.
Here is my host.pl :
========
$Conf{RsyncShareName} = [
   '/home/remi'
];
$Conf{BackupFilesExclude} = {
   '/home/remi/.*' => [
     ''
   ],
   '/home/remi/' => [
     '.*'
   ],
   '.*' => [
     ''
   ]
};
$Conf{BackupFilesOnly} = {
   '/home/remi/' => [
     '',
     '.thunderbird/'
   ]
};

========

Logged onto the server as backuppc user, i do a 
"/usr/share/backuppc/bin/BackupPC_dump -v -f 192.168.0.10" and i see 
plenty of lines like those ones :
   same     644   500/100       16623 .AbiSuite/AbiWord.Profile
   same     644   500/500          59 .DCOPserver_remi-desktop__0
   same     600   500/500      148258 .ICEauthority
   create d 755   500/500        4096 .VirtualBox
   create d 755   500/500        4096 .VirtualBox/HardDisks

=> .* files are not excluded.

Any ideas ?
Thanks.
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 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>