Aran Posted May 4, 2019 Share Posted May 4, 2019 Hi, can any of you please confirm if i'm right about the difference between the next two commands? 1: rsync -a -v /mnt/user/ISOs $MOUNTPOINT/ 2>&1 vs 2: rsync -a -v --delete /mnt/user/ISOs $MOUNTPOINT/ 2>&1 The second one deletes files from the target that were deleted from the source, no? The first one is more like a real backup. Wich is what i'm trying to accomplish... Thanks, Aran. Quote Link to comment
Aran Posted May 5, 2019 Author Share Posted May 5, 2019 👍 Thanks. I couldn't get Duplicati to work with shares bigger than 10Gig's so I will use this method for now. Quote Link to comment
BigSpoonzz Posted May 6, 2019 Share Posted May 6, 2019 On 5/4/2019 at 12:58 PM, Aran said: 2: rsync -a -v --delete /mnt/user/ISOs $MOUNTPOINT/ 2>&1 The second one deletes files from the target that were deleted from the source, no? The first one is more like a real backup. Wich is what i'm trying to accomplish... I came to ask exactly this... but I WANT to force a share to be a master that's already being rsynced. I've been deleting and retagging like mad, and I now want the backup to delete all old files I've already changed. I've been extremely careful, and the files are backed up to a 3rd location. I'm assuming I can modify my current unraid script to the above command with delete and 2>&1 ? So I'm clear (and that's a big hurdle with scripts for me) - is the the comment 2>&1 defining which share is the master? thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.