Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Quick question about rsync command

Featured Replies

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.

Yes, right.

  • Author

👍 Thanks. 

 

I couldn't get Duplicati to work with shares bigger than 10Gig's so I will use this method for now.

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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.