Hello,
I sync a ROOT FOLDER to a remote computer. It's easy to configure "global" options that mostly apply to the folder tree.
In my case, a sub-folder of the root folder, contains files that I do not wish to sync using the default root folder options. I wish customize the filter -> exclusions list to NOT BACKUP files based on size, for a couple of sub-folders. So, there is 1 rule for the root folder, and another set of rules for a couple of selected sub-folders.
Q: Is there a way to define a default root folder rule, with different rules for (nested) sub-folders?
I suppose you can create different FFS profiles, with ugly rules, to accomplish this, but it's not integrated into one folder backup configuration.
Thanks for your suggestions.
Eric L. Edberg
Nested Folder Comparison Settings
- Posts: 6
- Joined: 31 Jan 2023
-
- Posts: 2995
- Joined: 22 Aug 2012
You can use multiple left-right folder pairs (via the green "+"-icon in front of a left-right pair).
Next to the global Compare, Filter and Sync setting (mid-above the left-right pairs, applicable to all folder pairs), for each of the left-right pairs you can define local Compare, Filter and Sync setting via the three icons in between each left-right pair.
As in your use case the subfolder(s) you want to apply different methods and/or rules to are still part of your root-folder tree, you need to prevent overlap between your left-right pairs. This in order to prevent unexpected/undesired sync results.
Assuming your root folder is [Local]\[RootLocal] and its remote counterpart [Remote]\[RootRemote], and you want to apply different Compare, Filter and/or Sync rules to [Local]\[RootLocal]\Sub1 and [Local]\[RootLocal]\Sub2, you can define
• a first left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with added local Exclude Filter rules
Sub1
Sub2
• a second left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with local Include Filter rules (replacing the default "*")
Sub1
Sub2
And define your local Compare, Filter and Sync settings for Sub1 and Sub2, if those local settings for Sub1 and Sub2 are the same.
If you need different local settings for Sub2 than for Sub1, you can define
• a first left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with added local or global Exclude Filter rules
Sub1
Sub2
• a second left-right pair [Local]\[RootLocal]\Sub1 => [Remote]\[RootRemote]\Sub1
And define your local Compare, Filter and Sync settings for Sub1.
• a third left-right pair [Local]\[RootLocal]\Sub2 => [Remote]\[RootRemote]\Sub2
And define your local Compare, Filter and Sync settings for Sub2.
Next to the global Compare, Filter and Sync setting (mid-above the left-right pairs, applicable to all folder pairs), for each of the left-right pairs you can define local Compare, Filter and Sync setting via the three icons in between each left-right pair.
As in your use case the subfolder(s) you want to apply different methods and/or rules to are still part of your root-folder tree, you need to prevent overlap between your left-right pairs. This in order to prevent unexpected/undesired sync results.
Assuming your root folder is [Local]\[RootLocal] and its remote counterpart [Remote]\[RootRemote], and you want to apply different Compare, Filter and/or Sync rules to [Local]\[RootLocal]\Sub1 and [Local]\[RootLocal]\Sub2, you can define
• a first left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with added local Exclude Filter rules
Sub1
Sub2
• a second left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with local Include Filter rules (replacing the default "*")
Sub1
Sub2
And define your local Compare, Filter and Sync settings for Sub1 and Sub2, if those local settings for Sub1 and Sub2 are the same.
If you need different local settings for Sub2 than for Sub1, you can define
• a first left-right pair [Local]\[RootLocal] => [Remote]\[RootRemote]
with added local or global Exclude Filter rules
Sub1
Sub2
• a second left-right pair [Local]\[RootLocal]\Sub1 => [Remote]\[RootRemote]\Sub1
And define your local Compare, Filter and Sync settings for Sub1.
• a third left-right pair [Local]\[RootLocal]\Sub2 => [Remote]\[RootRemote]\Sub2
And define your local Compare, Filter and Sync settings for Sub2.
- Posts: 6
- Joined: 31 Jan 2023
Thanks for the example which seems obvious in your example. I'll add exceptions to the filter list for the default folder rule, and add new custom rules for the sub-folders in question.
My original thought was there should be a way to add a complex filter rule that included both file name and size criteria (kinda like an AND when programming).
I'll will do it using multiple rule sets...
My original thought was there should be a way to add a complex filter rule that included both file name and size criteria (kinda like an AND when programming).
I'll will do it using multiple rule sets...