I have this configuration: a NAS and a local hard drive on my Mac I want to backup incrementally, like Time Machine does.
When I do this rsync command:
rsync -va --exclude=.DS_Store --delete /Volumes/Drive/Folder /Volumes/RSYNC/Test
A folder "test" on my NAS (so the remote) will be deleted if it doesn't exist on my local hard drive.
I would like to keep the possibility to add more content on the remote folder without having it on my drive (more like a shared folder, other users can add content, but I come with my possibly updated data to backup everything).
Any idea how to do incremental backups (in another folder, with file versions, etc — like Time Machine in some way), without deleting non-existing content on remote from local?