[BackupPC-users] Includes and Excludes
2008-06-17 07:55:50
Hi,
I try to backup a share /export/user1 containing user data starting with
a-f except for subdirectories ending on _DELETED. Is it possible?
o Filesystem to backup:
/export/user1/a/
/export/user1/aa_DELETED/
/export/user1/b/
o Configuration for client:
$Conf{BackupFilesExclude} = {
'/export/user1' => [
'*_DELETED/',
'search.sqlite'
],
};
$Conf{BackupFilesOnly} = {
'/export/user1' => [
'/[a-f]*'
]
};
$Conf{RsyncShareName} = [
'/export/user1'
];
As you can see, I want to backup all directories starting with a-f
excluding the ones that end on '_DELETED'. If I start a backup with that
setup, directory aa_DELETED (and the files in it) are backup'd although
BackupFilesExclude contains '*_DELETED/' for share /export/user1.
The log contains:
full backup started for directory /export/user1
Running: /usr/bin/ssh -q -x -l root client /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --one-file-system
--checksum-seed=32761 --ignore-times . /export/user1/
Xfer PIDs are now 8658
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Sent include: /[a-z]*
Sent exclude: /*
Sent exclude: *_DELETED
Sent exclude: search.sqlite
Xfer PIDs are now 8658,8685
create d 755 0/0 47 .
create d 755 0/0 34 a
create 644 0/0 0 a/a
create d 755 0/0 6 aa_DELETED
create d 755 0/0 14 b
create 644 0/0 0 b/b
Any ideas how to configure?
--
Regards
Christoph
________________________________________________________________________
Christoph Litauer litauer AT uni-koblenz DOT de
Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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] Includes and Excludes,
Christoph Litauer <=
|
|
|