Friday, 16 June 2017

How to include a subdirectory of an excluded directory

This post is for the Obdi Rsync Backup plugin.


So you have a backup configuration for a server with a bunch of excludes and now you need to explicitly include just one directory, but a parent of that directory is explicitly excluded. What do you do?

Add a new Host entry.

The graphic at the top of this post shows how. In that graphic the top line has '/opt/work/**' excluded. The next line has a new host (which is actually the same host) but with the full path, 'backup/opt/work/perfci_result_trends', shown for the Include.

That's all :)

No comments:

Post a Comment