I use the rsnapshot plugin to backup my OMV data. The destination is mounted over smb.
Everything is backuped so it works
My issue is the exclude of directories starting with an . (dot) like .recycle or .thumbnails.
Excluding of a normal file or directory works fine. I guess it has to do with the hidden status of the Dotdirectories.
As I understand to include the hidden files in the exclude I have to use single quotes.
As arguments I tried different versions with single quotes or double quotes, like
--exclude '.recycle/'
but after executing the cron job in the log files I see that the quotes are gone
/usr/bin/rsync -a --exclude .recycle/ \
What do I not understand?