I'm using rsync to back up my filesystem to a mounted disk
I want 6 daily backups, 3 weekly backups and 3 monthly backups if possible.
I've read that by default
rsync is only supposed to copy new or changed files but that hasn't been my experience. I also want the files accessible from a Windows machine if possible and I have reviewed the man pages and several questions across the web.
I've tried swapping the t flag for the c flag. I've tried omitting -a and adding the included options manually. Every time I run my scripts it copies everything again.
Flags last tested were checksums only, verbose, recurse into directories, ownership, groups, permissions.
It also has on at least one occasion, copied all the exclusions as well.
I'm putting scripts in cron.daily and cron.weekly if that makes a difference.
rsync -cvrogp --links --exclude=/dev --exclude=/mnt --exclude=/media --exclude=/tmp --exclude=/lost+found --exclude=/emby --exclude=/cloud --exclude=/home/_myuser_/.cache --exclude=/proc --exclude=/run --exclude=/sys / /media/_myuser_/UbuntuBackups1/daily
I see I can use logrotate for handling the versions so
nvm that we'll just stick to rsync for now.