Jump to content

Help with Unix Path rules


Recommended Posts

Can someone help me with the format for unix paths in rules ?

 

I've trying to setup a proactive script that will backup a Linux box, but exclude certain directories (loads of large TV recording files for MythTV).

So I have a volume mounted on /store1, and within that a directory called myth that I want to exclude - but without excluding other random directories on the system that might be called myth.

Also, for this script, I'm backing up /store1 on it's own.

 

In rules I've selected Folder -> Unix Path -> is, and then the path I want to exclude

/myth/ (relative to the mountpoint) and /store1/myth/ (relative to filesystem root) don't seem to work, so have I got the format wrong ?

The manual days absolutely nothing about the format of what goes in the text box.

Link to comment
Share on other sites

  • 3 weeks later...

Sorry for not getting back earlier - for some reason I didn't get notified of a reply :(

 

 

IIRC (thinking back) I did try actually running the backup, not just looking at the preview. I'll have another look at it later when the engine isn't busy.

I've since found a couple of other threads on similar problems - at least I'm not alone !

Link to comment
Share on other sites

Think I've got it now :)

 

Here's a list of things I found.

 

That didn't work :

Using the preview :rolleyes: which must be what I was looking at earlier.

Using "folder" "unix path" "is like" "/store*/myth/*"

 

That did work :

 

Using "folder" "unix path" "is like" "/store1/myth/*"

Using "folder" "unix path" "is" "/store1/myth/"

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...