mx-snapshot-tool: mx-snapshot-exclude.list

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

mx-snapshot-tool: mx-snapshot-exclude.list

#1 Post by Duliwi »

My Home is 264GiB in size. That's why I wanted to make a personal snapshot without several large folders.
So I have edited the file /etc/mx-snapshot-exclude.list

Unfortunately, each time I finished the snapshot (after 1-2h), I found that the iso was 146 GiB in size. This meant that obviously the exclusion did not work.

I made the following entry in the file /etc/mx-snapshot-exclude.list:

Code: Select all

home/*/My folder/* #This is my own addition


After a lot of trial and error, I finally found out what was wrong with my exclusion-syntax.

Solution:
Only when I omitted "#This is my own addition" the exclusion finally did work:

Code: Select all

home/*/My folder/*

Return to “Tips & Tricks by users (not for help)”