[BackupPC-users] The parameter BackupFilesExclude is not recognized
2008-07-22 09:39:55
Hi,
I would like to save all the data on a linux server with rsync+ssh+sudo,
I have a problem with the BackupFilesExclude parameter.
I do my tests on the tree "/usr/local" before "/", I'm trying to save
all "/usr/local" except the directory "/usr/local/bin".
I change the configuration with the web interface. I use BackupPC
3.1.0-3 (Debian/Lenny).
1) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = {
'/usr/local' => [
'/bin',
''
]
};
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--exclude= --ignore-times . /usr/local/
2) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = {
'/usr/local' => [
'bin',
''
]
};
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--exclude= --ignore-times . /usr/local/
3) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = {
'/usr/local' => [
'/bin'
]
};
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /usr/local/
4) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = {
'/usr/local' => [
'bin'
]
};
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /usr/local/
5) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = {
'/bin' => [
''
]
};
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /usr/local/
6) With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = [ '/bin' ];
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /usr/local/
The directory "/usr/local/bin" are never excluded. :o(
I'm trying all possibilities without success to exclude a directory. Can
you help me please?
Regards.
--
==============================================
| FRÉDÉRIC MASSOT |
| http://www.juliana-multimedia.com |
| mailto:frederic AT juliana-multimedia DOT com |
===========================Debian=GNU/Linux===
-------------------------------------------------------------------------
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] The parameter BackupFilesExclude is not recognized,
Frédéric Massot <=
|
|
|