Re: [PLUG] Rsync command fail
I am not sure how you got to the backwards behavior, perhaps you have no deleted what you thought you deleted. I would run your rsync command this way though (adjust your options as needed), mind the / rsync -a --progress /media/jjj/Movies /media/jjj/Synology/ Hope it helps, Tomas On Nov 29, 2017 11:04 PM, "John Jason Jordan"wrote: I have an external USB drive that I back up to a Synology NAS drive with the command: rsync -rptog --progress --stats --delete --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/ /media/jjj/Synology The object is to make the Synology a mirror of the USB drive (/media/jjj/Movies). I deleted a folder on the USB drive, ran the command, and the folder was replaced on the USB drive. This is backwards. What am I doing wrong? ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Rsync command fail
On Wed, Nov 29, 2017 at 11:04 PM, John Jason Jordanwrote: > I have an external USB drive that I back up to a Synology NAS drive > with the command: > > rsync -rptog --progress --stats --delete > --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/ > /media/jjj/Synology > > The object is to make the Synology a mirror of the USB drive > (/media/jjj/Movies). > > I deleted a folder on the USB drive, ran the command, and the folder > was replaced on the USB drive. This is backwards. What am I doing wrong? > wild guess: try reversing /media/jjj/Movies/ and /media/jjj/Synology in your rsync command? -wes ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Rsync command fail
I have an external USB drive that I back up to a Synology NAS drive with the command: rsync -rptog --progress --stats --delete --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/ /media/jjj/Synology The object is to make the Synology a mirror of the USB drive (/media/jjj/Movies). I deleted a folder on the USB drive, ran the command, and the folder was replaced on the USB drive. This is backwards. What am I doing wrong? ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug