Jump to content

How To Exclude A Subfolder When Enclosing Folder Is Marked For Backup?


Recommended Posts

This should be simple, but it’s not.

 

I want Retrospect to back up /private/var/db but NOT /private/var/db/swupd.

 

Retrospect won’t back anything up if I specify the path as a Unix path, but if I specify Folder Mac Path contains /var/db/, it marks everything in there for backing up. If I then try to add an exclusion based on every permutation of Mac Path, Unix Path, is, contains, and begins with along with /var/db/swupd | /private/var/sb/swupd or portions thereof, it will not exclude that folder (swupd).

 

Am I missing something?

Link to comment
Share on other sites

When defining the Rule, do you have the scope setting (above your defined conditions) set to "Any" or "All"?

 

Are you putting both conditions in the "Include" panel? Or one in the "Include" and one in the "Exclude"?

 

(Note: I am a user of the current Windows version and pre-v8 Mac versions only, so not familiar with v8 yet, but will try to help based on my understanding of other versions.)

Link to comment
Share on other sites

Guest Steve Maser

This should be simple, but it’s not.

 

I want Retrospect to back up /private/var/db but NOT /private/var/db/swupd.

 

Retrospect won’t back anything up if I specify the path as a Unix path, but if I specify Folder Mac Path contains /var/db/, it marks everything in there for backing up. If I then try to add an exclusion based on every permutation of Mac Path, Unix Path, is, contains, and begins with along with /var/db/swupd | /private/var/sb/swupd or portions thereof, it will not exclude that folder (swupd).

 

Am I missing something?

 

 

You definitely have to use "Mac Path contains" for OSX clients.

 

But you should be able to exclude with an exclude statement like:

 

Folder Mac Path Contains swupd

 

 

It's possible there's some trick about including /private/ in this -- you might just try /var/db/swupd/ and leave out the "private" from the path, too?

Link to comment
Share on other sites

  • 4 weeks later...

Folder Mac Path Contains swupd

 

 

Which actually will disable backup of ANY folder that has this name inside the selected source.

 

E.g. I don't want to backup the Pictures folder inside the User folder. But of course I want to backup every folder, even if it is named "Pictures" that is inside the Documents folder of the user.

 

I don't see any way to to that in RS.

Link to comment
Share on other sites

Guest Steve Maser

I think you have to be very explicit for when you want to exclude something because rules do not support a wildcard character

 

So you can't say "folder name is /users/*/Pictures" (unfortunately -- unless I'm missing something really obvious...)

 

 

For my users with exceptionally large Pictures folders, I have to exclude /users/<username>/Pictures.

 

 

I fully agree if you have hundreds of user accounts, that's a pain and hopefully wildcards in rules will eventually surface in a Retrospect update sometime.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...