"Ignore files" section in Kopia UI Policies

Hi,
I’m using Kopia UI.
I’ve found a strange behaviour when I write a list of files/directories here, in a Policy:

If I write a list of paths in the section “Defined”, and each of them is short enough to be contained in a line (so, none of them is splitted on two lines), it works.
Instead, if one of the paths is splitted on two lines, this path is ignored and is included in the backup. Note that putting it among double quotes (“”) doesn’t make any difference.

I don’t know if it is the expected behaviour…
However I don’t think it’s covered by the documentation (I spent a lot of time to understand why the exclusion didn’t work).

Does anyone have evidence that this is the effective behaviour?
Is there a special character that allows to do the splitting ?

Thanks in advance.

Well, you answered your own question. Each exclude needs to be one line. Notice the little icon at the lower right corner of the edit field? Just drag that to the right and expand the edit field, enter your exclude and save.

Thank for your answer.
However, if I try to drag to the right clicking on the icon at the lower right corner, nothing happens.
It allows me only to drag downwards… so I can’t enlarge the box so that one row can contain longer paths…

Check with cmd kopia policy show what ignore policies are really stored.
I have tried quickly some long path in UI and I do not see any issue. They do not look pretty in UI (as they overflow into multiple lines) but work as expected.

Are you using the latest kopia version?
What is your snapshot path?
What is the path you are trying to ignore (one not working)?

I suspect that problem is not with its length.

Yeah… in KopiaUI, you’ll need to resize the program window and the two boxes will resize horizontally accordingly. It’s really a bit ugly…

I find often using cmd kopia policy edit much better. And actually for making changes to long and complex ignore files section it is only sane way.

@denis - you can copy all required command details from KopiaUI. Go to policies and click at

at the bottom of the screen. It is policy set but simply change set to edit and enjoy clean text interface.

I always CTRL+X (cut) the list and edit in e.g. Notepad++ then paste it back. Much easier to view + edit that way.

P.S. You might find the following useful - GitHub - dcog989/backup-exclusions: A list of folders and files to be excluded from a backup strategy

Ok, thanks, I’ll try as you suggest,

Thanks, I’ll also try your suggestion