BackupPC-users

[BackupPC-users] how to exclude hiddent files ?

2010-03-30 16:57:44
Subject: [BackupPC-users] how to exclude hiddent files ?
From: Rémi Boulle <rboulle AT free DOT fr>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 30 Mar 2010 22:55:46 +0200
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.

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