Re: [BackupPC-users] BackupFilesExclude
2013-02-15 12:59:54
You don't need the trailing /* with rsync. I use that in a few places, but
only because it excludes everything under the directory, but backs up the
directory itself. Useful for restoring directory meta-data.
Note that the excludes are simply passed to the underlying transport (rsync,
tar, etc)... see "INCLUDE/EXCLUDE PATTERN RULES" in the rsync man page for how
they will get handled.
Mine typically looks like this (which is what the examples in the docs look
like):
$Conf{BackupFilesExclude} = {
'/mydata' => [
'/vmware',
'/xen',
'/kvm'
]
};
--
Carl D Cravens (ccravens AT excelii DOT com), Ext 228 (620.327.1228)
Lead System Architect
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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/
|
|
|