Hot answers tagged

6 votes

Can I make rsync output only the summary?

Try this command rsync -a --info=progress2 --stats source destination Output 32,342,135 10% 134.45kB/s 0:03:54 (xfr#386, to-chk=1059/7326)
  • 61
1 vote

sync a directory between OSX and Ubuntu

Quite a nice cross-platform (MacOS, Linux, Win, etc & apps exist for iOS, Android) open-source system that provides for bidirectional synchronised files and directories is SyncThing - it provides ...
  • 593
1 vote

"rsync: [generator] mknod … failed: File name too long (36)" though file & path name lengths are way shorter than 255 & 4096

At the end it turned out that both error messages are just misleading: The source file seems to be a set of backed up socket files. Only those files produced those errors. srwxrwxr-x 1 ben ben ...
  • 141
1 vote

Does daily rsync OS backup push SSD drives to its limits?

No, rsnapshot does not put any significant stress on disks - quite the contrary: using hardlinks to deduplicate files, it avoid writing much data to the underlying filesystem. From your smart data, I ...
  • 45.5k
1 vote

Rsync makes the destination folder unwritable before copying files to it (and then of course it fails with Permission Denied)

For some reason the default rsync that comes with CygWin doesn't seem to be compatible with remote Linux filesystems. The solution was to install rsync from here: https://github.com/Bill-Stewart/...
1 vote

Optimize rsync for bandwidth usage

But it still uses quite a bit of bandwith compared to the few bytes I added to the file It has reduced the transfer nearly 1000 fold over the raw file size. rsync doesn't know which bytes you changed....
  • 20k
1 vote

rsync "Operation not supported" errors for ACL on ZFS

After much searching, I found the answer at https://forum.proxmox.com/threads/rsync-set_acl-sys_acl_set_file-archiv-acl_type_default-operation-not-supported-95.25543/. The following ZFS setting fixes ...
1 vote
Accepted

how to force rscync to unmunge symlinks

You have to enable munge links option on rsync daemon and not to use --munge-links on client.
1 vote

Disable linux cache memory

No, you cannot disable Linux file system cache. RAM costs money and power, might as well use it. Do not use /proc/sys/vm/drop_caches in production, it will make performance worse by not using fast RAM....
1 vote

Slow rsync from Linux to Windows

When syncing to a SMB/CIFS share rsync needs to read the whole share to compare the files... You should run a rsync daemon on windows to let it do the comparison of the files. This will speed things ...
  • 638
1 vote

rsync error: error in rsync protocol data stream (code 12)

I'm using cygwin rsync on Windows 11. I'm still not 100% sure why this only started failing for me recently, but I found that using Windows OpenSSH with cygwin rsync was causing the error. I wound up ...
1 vote

rsync error: error in rsync protocol data stream (code 12)

https://youtrack.jetbrains.com/issue/IDEA-270793 i add "-e /usr/bin/ssh" and it fixed the issue. rsync -e /usr/bin/ssh -vP /c/projects/cpp/RecFileExtractBatch/...
1 vote

rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

Lack of permissions to access the remote directory caused the same error. on the server ~# sudo -u ubuntu ls -l /opt/aws/opsworks/current/ ls: cannot access /opt/aws/opsworks/current/: Permission ...

Only top scored, non community-wiki answers of a minimum length are eligible