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.

server to server transfer with xargs and rsync fails

Featured Replies

Hello,

 

I have decided to use rsnapshot to have incremental backups to another backup server. I have rsnapshot working, but the transfer speed is very slow and will take about 2+ weeks to transfer the 22 TB of data. I searched around and found a stack overflow answer on how to quickly use multiple rsync streams to speed up the process:

 

https://stackoverflow.com/questions/45122323/rsync-command-is-giving-error-no-such-file-or-directory-2

 

However, when I try to replicate the commands, it breaks immediately.

 

root@main_server:~# ls /mnt/user/ | xargs -n1 -P4 -I% rsync -Pa % [email protected]:/mnt/user/Primary_unRAID_Backup/daily.0/main_server/mnt/user/
sending incremental file list
sending incremental file list
sending incremental file list
rsync: [sender] change_dir "/root/Backup" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/Camera" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/CacheOnly" failed: No such file or directory (2)
sending incremental file list
rsync: [sender] change_dir "/root/Documents" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
sending incremental file list
sending incremental file list
sending incremental file list
sending incremental file list
rsync: [sender] change_dir "/root/Downloads" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/Handbrake" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/Food" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/Games" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
sending incremental file list
rsync: [sender] change_dir "/root/ISOs" failed: No such file or directory (2)
sending incremental file list
rsync: [sender] change_dir "/root/Linux_Home" failed: No such file or directory (2)
sending incremental file list
rsync: [sender] change_dir "/root/Media" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
root@main_server:~#

 

Any idea on what I'm doing wrong? I want to run this once, and then use rsnapshot going forward.

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.

Guest
Reply to this topic...

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.