Minituff / nautical-backup

A simple Docker volume backup tool.
https://minituff.github.io/nautical-backup/
GNU General Public License v3.0
210 stars 2 forks source link

rsync case sensitivity not working right #264

Closed Nyan96 closed 4 weeks ago

Nyan96 commented 1 month ago

So i have this label in one of my containers on my Synology. It should exclude the "ASDF" folder - "nautical-backup.rsync-custom-args=--exclude=ASDF

However, in the nautilus backup log it outputs this. Note the capitalization change. 'DEBUG: RUNNING: 'rsync -raq --exclude=asdf '

And it still backs up the "ASDF" folder. For some reason its converting the upper case letters to lower case.

Am I doin something wrong?

Minituff commented 1 month ago

Interesting, I can see if .lower() is being applied or if there is another reason it be being cast to lowercase.

Minituff commented 4 weeks ago

I can confirm this bug is happening just as you stated. It was in fact a .lower() was being applied when it should not have. I fixed this bug and added a new test case that should catch this from now on.

Minituff commented 4 weeks ago

This has been fixed in the latest release: https://github.com/Minituff/nautical-backup/releases/tag/v2.3.3