[BackupPC-users] Syntax for BackupFilesExclude
2008-09-26 23:58:27
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yohoo!
On the first steps with BackupPC I used the "--one-file-system" for
rsync which works fine for testing purpose.
But now I want to include some more directories and not only /
So I figured out $Conf{BackupFilesExclude} would be the parameter to use.
Currently I'm only using rsync as tranfer methods as all hosts are Linux
boxes.
Now I created a file under /etc/BackupPC/pc host.pl and added the
following statement:
$Conf{BackupFilesExclude} = {
~ '*.isa' => [
~ ''
~ ]
};
I think the above is wrong as it doesn't work. But how is the correct way?
I don't understand the documentation for this statement. I can exclude a
whole directory like this:
$Conf{BackupFilesExclude} = /tmp;
And I can exclude several directories:
$Conf{BackupFilesExclude} = ['/tmp','/proc'];
What would be the syntax if I want to exclude only some files from a
specified folder (or some flies globally on this host)?
Thanks
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFI3aiC0XNIYlAXmzsRAll9AKDEr6KYd47DIrX/RSsv4PjsHFnAlgCfSmGg
H9yYL/3YEK1lGn9FUbKJ4uk=
=Oarh
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
|
- [BackupPC-users] Syntax for BackupFilesExclude,
Christian Völker <=
|
|
|