I am trying to get my first backup happening but this exclude/include rule is confusing me.
As an example, I want to back up my Docker config in /
data/docker/ and there is a bunch of build stuff under
/data/docker/esphome/xx/xx/xx/xx that I do not want included. Am I right in thinking that to exclude everything but the .yaml config files in
/data/docker/esphome that I have to explicitly include both
/data/docker/esphome/ as below:
-*._* -._.DS_Store -*.DS_Store -*.log -*.iso +esphome/config/*.yaml +esphome/config/ +esphome/ -esphome/config/*
I have done some
-dry-run tests and think I am still getting all of the other stuff I want but just want to make sure I am understanding these exclude rules properly.