I'm sure this has probably been covered, but I'm also sure after searching that I have no idea what the technical terminology is.
PREFIX:
Basically, I want to backup my entire FreeNAS system to a local drive as a one time job before I virtualise FreeNAS on Proxmox. I thought rsync would be the best way of doing this.
ISSUE:
When using the rsync command: rsync -azv --delete --progress /mnt/Raid-Array/ /mnt/backup all runs smoothly except my shared mounts for couchpotato, sonarr etc duplicate the files eg:
/couchpotato/media/Movies/awesomefilm and /media/Movies/awesomefilm
Is there any way to stop the duplication? I've attached a screenshot of my jail storage setup in case there is something glaringly obvious.
EDITS:
OK, I'm trying exclusions using the --exclude command here is my updated rsync command that I'm running now
rsync -azv --progress --delete --exclude="/jails/*/media/*" /mnt/Raid-Array/ /mnt/backup/
PREFIX:
Basically, I want to backup my entire FreeNAS system to a local drive as a one time job before I virtualise FreeNAS on Proxmox. I thought rsync would be the best way of doing this.
ISSUE:
When using the rsync command: rsync -azv --delete --progress /mnt/Raid-Array/ /mnt/backup all runs smoothly except my shared mounts for couchpotato, sonarr etc duplicate the files eg:
/couchpotato/media/Movies/awesomefilm and /media/Movies/awesomefilm
Is there any way to stop the duplication? I've attached a screenshot of my jail storage setup in case there is something glaringly obvious.
EDITS:
OK, I'm trying exclusions using the --exclude command here is my updated rsync command that I'm running now
rsync -azv --progress --delete --exclude="/jails/*/media/*" /mnt/Raid-Array/ /mnt/backup/
Attachments
Last edited: