Hi list.
For one host I have a pl file like this:
$Conf{RsyncShareName} = [
'mago_apps',
'd_data',
'mssql'
];
$Conf{RsyncArgs} = [
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--links',
'--hard-links',
'--times',
'--block-size=2048',
'--recursive',
'--exclude-from=/etc/backuppc/extra/sistemi_file.exclude'
];
$Conf{BackupsDisable} = '0';
$Conf{BlackoutPeriods} = [
{
'hourEnd' => '18',
'weekDays' => [
'1',
'2',
'3',
'4',
'5'
],
'hourBegin' => '7'
}
];
};
The "sistemi_file.exclude" contains:
*.[Mm][Dd][Ff]
*.[Ll][Dd][Ff]
*.[Tt][Rr][Nn]
When the host is backed up trn files contained in the "mssql" module are
not excluded. In the error log for one incremental transfer I see what
follows:incr backup started back to 2010-08-16 18:00:21 (backup #10) for
directory mago_apps
Connected to cnsrv013:873, remote version 29
Negotiated protocol version 28
Connected to module mago_apps
Sending args: --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive . .
Sent exclude: *.[Mm][Dd][Ff]
Sent exclude: *.[Ll][Dd][Ff]
Sent exclude: *.[Tt][Rr][Nn]
Xfer PIDs are now 1674
[ skipped 21458 lines ]
Done: 114 files, 11891386 bytes
incr backup started back to 2010-08-16 18:00:21 (backup #10) for directory
d_data
Connected to cnsrv013:873, remote version 29
Negotiated protocol version 28
Connected to module d_data
Sending args: --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive . .
Xfer PIDs are now 1758
[ skipped 276 lines ]
Done: 11 files, 1918446894 bytes
incr backup started back to 2010-08-16 18:00:21 (backup #10) for directory mssql
Connected to cnsrv013:873, remote version 29
Negotiated protocol version 28
Connected to module mssql
Sending args: --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive . .
Xfer PIDs are now 1776
[ skipped 85 lines ]
Done: 62 files, 9466800128 bytes
It seems the exclude file is applied only to the first module
(mago_apps) and not to all modules. This behaviour would be expected by
using the "BackupFilesExclude" but I don't understand why it behaves
like this by using the additional rsync argument.
Any hint?
TIA
Alessandro
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev _______________________________________________
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/
|