Jump to content

Disabling backup of /var (aka /private/var)

Recommended Posts

I'm using All Except Cache Files, extended to exclude:

or matching

file name ends with .cache

or matching

(enclosing folder) name exactly matches Caches

or matching

(enclosing folder) name exactly matches Library

and (folder) name exactly matches Logs

or matching

(enclosing folder) name exactly matches private

and (folder) name exactly matches var


I've tried assorted exclude rules with no success. What's the magic

for excluding /var (aka /private/var)?

Link to comment
Share on other sites

I won't question your reasons for wanting to omit backup of /private/var ; that's a very critical folder to be backed up, so you must have your reasons not to do so.


A correct rule (there are many) to replace your everything following the last "or matching" would would be

(enclosing folder) path name ends with /private/var/


Hint: from page 176 of the Retrospect User's Guide:


Path names always begin with the volume name and list the hierarchy of folders, separating folder names with ... forward slashes (Mac OS X). When you use "path name" and "End With" or "Match" ... to find a folder, you must type a slash at the end of the path name.




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.

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.

  • Create New...