Something weird happened while running an rsync command.
I first mounted a Windows share to copy files to like this:
mount -t cifs //myserver/share] /media/s
Then ran rsync command below
sudo rsync -avprP /* /media/s/Backup --exclude '/backups' '/media'
Now that I look at it, did the above rsync command not exclude /media, but actually back up to it? Guessing I put the --exclude in wrong order or syntax?
Thanks in advance.