You are here

Request for help in rules setup.

2 posts / 0 new
Last post
gilgamesh.au
Offline
Last seen: 7 years 4 months ago
Joined: 2017-07-13 23:47
Request for help in rules setup.

Hello,
I'm hoping to get some help with the rules in Toucan.

I (currently) use Sync with the Mirror function to backup my files. The Source files are on a NAS so there is a large number of large files which necessitates (due to destination disk size limitations) syncing to different destinations. So I expect to end up with multiple Sync Jobs, each with a corresponding set of unique rules for the backups. And I would have a Script to run all of the jobs together.

The NAS files are mostly organised into sub-directories within the Source directory but there are some files that are not in sub-directories.

I thought I could have a set of rules similar to
Absolute Folder Exclude Simple *
Folder Include Simple Sub-1
Folder Include Simple Sub-2 etc for each sub-directory that job is to backup.

The final sync job would use
Absolute Folder Exclude Simple Sub-1
Absolute Folder Exclude Simple Sub-2 etc for each sub-directory that is in another sync job. This is so that if I create any new directories in the future they would automatically be included in my backups.

Now that does work (albeit a bit slow), but the problem I am experiencing is that all of the files in the Source directory that are not in any sub-directory; end up being included in every single sync job. So I end up with multiple copies in the different destinations.
I thought I could add
File Exclude Simple *
to the rules to prevent these files being included from most of the sync jobs but that doesn't seem to make a difference.

So my first question is - How do I exclude any file that not in a sub-directory from the sync?
And my second (less important) question is - Is there a more efficient way of defining the folder rules above to improve performance.

Thanking you in advance for any help offered.

alt
Offline
Last seen: 2 years 8 months ago
Developer
Joined: 2013-06-16 16:17
I'm not sure I understood the

I'm not sure I understood the part regarding the "final sync job" and its include/exclude rules and to be honest I've not worked with include/exclude patterns in Toucan for quite a while Smile (as I mostly use Backup functionality), but what I can tell you is that "Simple" type of the match wouldn't work with the asterisk - it is for the plain text matches. For asterisk to work you better try the "regex" type of the exclude. Give it a try and if possible, post the full include/exclude pattern you've configured as well as an example of the directory/file layout, that will make it easier to help you as I'm personally currently not grasping it in full.

Log in or register to post comments