Rsync is an open source command line tool for Unix and Windows systems that provides fast incremental file transfer to copy files and synchronize directories locally or between remote hosts. It is widely used for mirroring and backup.

learn more… | top users | synonyms

5
votes
0answers
773 views

Rsync fails for files that start with underscore when destination is zfs

I'm using rsync3.1.0pre1 on Mac OS X 10.8.5, and am trying to rsync one folder to another. The destination is a ZFS volume mounted via SMB. The problem I'm having is that files that start with ...
4
votes
0answers
214 views

Is there a way to verify the integrity of a rsnapshot backups?

I'm using rsnapshot to make daily backups to a second hdd. But how can I make sure, that no file in my backup is corrupted? If I use the checksum option from rsync, the whole backup will take much ...
3
votes
0answers
217 views

Unable to rsync to another volume with Git Bash

I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com. Within bash I can copy a directory from /c/ to /e/ (a ...
3
votes
0answers
292 views

Rsync, how can I delete remote duplicates?

I'm trying to delete remote duplicate files without transferring the non-existing files, and without updating the existing files. If I specify both --existing and --ignore-existing (along with -av --...
3
votes
0answers
2k views

Backup to Synology NAS using rsync or NFS and hardlinks

I want to backup data from a Windows (Vista) computer to a Synology NAS (210j). The NAS supports FTP, SMB, NFS and also allows a rsync daemon to be set up. I want to backup different folders to the ...
2
votes
0answers
49 views

USB 3.0 Trouble

I am using a WD Elements Portable 1TB USB 3.0 2.5" disk bought in May 2014 to backup data of my desktop machine. rsync runs smoothly without any error messages. However upon restoring data from the ...
2
votes
0answers
141 views

rsync over ssh tunnel: What does this repeated message mean? debug2: channel 2: window 1966080 sent adjust 131072

I'm rsyncing through an SSH tunnel (with ssh -vv). It's not very fast and I'm getting this message about every second: debug2: channel 2: window 1966080 sent adjust 131072 Once in a while I also ...
2
votes
0answers
482 views

File transfer tools for linux with support of zero-copy transfer

Are there small and simple file transfer tools for Linux, which can use "zero-copy" style of transferring files from HDD (SSD) to tcp socket, and back? I want to often send huge amount of ...
2
votes
0answers
181 views

ssh proxycommand equivalent on server

Lets say we have three machines me, proxy, server I would like to have an ssh connection to server, so normally I would do me$ ssh proxy proxy$ ssh server server$ # and here we are ssh proxy ...
2
votes
0answers
1k views

rsync error: symlink has no referent

I am trying to configure rsnapshot (which uses rsync) to backup a Windows server but I am having trouble with rsync being unable to follow a symlink on the server to be backed up. Setup: Windows ...
2
votes
0answers
303 views

External drive has strange files “_*” appearing - culprit is maybe rsync or SMB access?

I'm using rsync to back up folders from my iMac to a WD MyBook and the process seems to leave files such as these: _0O1MN~H.MP4 _2C0X2~3.AVI _ALLYW~B.SRT _VUC69~7 The last one is the most ...
2
votes
0answers
248 views

rsync: large exclusion list adding 10 hours to sync

I have had an rsync backup script running on a Centos 6 box that has been syncing ~410gb of data from a local (LAN) server over a gigabit connection. This script runs hourly, and if there are no new ...
2
votes
0answers
492 views

Keep local folder in sync with Samba share

I have a local folder on my Linux Mint desktop (my Dropbox folder, though that shouldn't matter), and I'd like to keep it synced with my school's "datastore" Samba share, which I can connect to from ...
2
votes
0answers
142 views

hash-based asyncronous directory comparison

I am trying to efficiently synchronize two large directories via VPN over a long distance. Unfortunately I cannot install advanced tools like git or rsync on the remote server due to company ...
2
votes
0answers
175 views

Efficient mirroring of directories using hardlinks

I'm backing up my music collection on to a number of NTFS-formatted external hard-drives; however, as I store my main collection in FLAC and have my library on my laptop as MP3s to save space, I want ...
1
vote
0answers
30 views

rsync error - Unexpected remote arg: root@1.2.3.4:/*

I'm trying to migrate centos server to a new box with rsync and I run this command in the destination server: rsync -auHxv –numeric-ids –exclude=/etc/fstab –exclude=/etc/sysconfig/network-scripts/* ...
1
vote
0answers
12 views

Rsync check available

Hi i have the following mesh from raspberry pi which is with protocol 802.11s. In a pi5 with an ip 10.0.0.15 i have video capture who makes files in /home/pi/Desktop, And i need to make an arhive in ...
1
vote
0answers
37 views

rsync/scp without root password and without allowing root ssh login

This is the scenario. We have a multitude of servers, currently we simply ssh in as root using our keyfile and then when we need to rsync we use the root user. All very easy. What we would like to ...
1
vote
0answers
38 views

Send large files to server through low bandwidth connection

I'm trying to send large files (> 200Mo) to a remote server with a limited bandwidth using rsync. For now, it doesn't even start sending, only dry-runs succeed. My tests are working on other servers ...
1
vote
0answers
52 views

I can't rsync to my phone

I have a strange issue, i can connect to my phone using ssh, I can navigate inside its storage but I can't rsync to it. I use Ubuntu as OS in PC, I have an Android (5.0) not rooted phone, with ...
1
vote
0answers
34 views

Make rsync honor directory setuid

I have a destination dir with id bit set, i.e. -rwxrws--- If I mkdir within this dir, it creates new dirs with the dir bit set. But when I rsync into it, rsync creates new dirs without the dir bit set....
1
vote
0answers
222 views

How to rsync root files over non-root ssh?

I have two machines, both providing no root login, but provide sudo root access. Now I like to initate a rsync transfer of root files over ssh. Is there an easy way make the the root access given by ...
1
vote
0answers
147 views

rsync glitches with -X (extended attributes) flag

When I rsync files from ext4 file system to btrfs with the following set of flags: rsync --update -DHAXErlptgo the first copy of the backaped directory is done OK, but when this same command is ...
1
vote
0answers
59 views

How to set permissions and ownership when using rsync?

I'm using capistrano-wpcli (link), a program that uses 'rsync' to synchronize folders between development and testing servers. I've set the uploads folder's permission on the remote server to 777 ...
1
vote
0answers
139 views

Is cp -au / cp --archive --update contradictory?

I want to update a directory on a backup disk with new content added to the source, and of course rsync is too slow. cp -a does the trick but is a bulldozer; cp -u should leave existing files alone. ...
1
vote
0answers
182 views

Rsync doesn't allow me copy files into mounted filesystems

I configured rsyncd.conf for public access in my rpi: log file = /var/log/rsyncd.log timeout = 600 max connections = 20 uid = nobody gid = nogroup read only = yes list = yes [public] path = /home/pi/...
1
vote
0answers
302 views

Synology NAS resume rsync backup after connection loss

I am trying to do a backup from a synology NAS to an offsite NAS. I am using rsync through DSM5 as of now, but it doesn't give me the possibility to resume the backup if a connection loss occurs. This ...
1
vote
0answers
260 views

rsync seems to overwrite already existing file on ExFat

I have a curious behavior from rsync between two hard drives containing the exact same four partitions. However on one partition rsync seems to always copy again the files, I don't understand why. ...
1
vote
0answers
815 views

rsync failed: No Such file or directory

I'm using rsync in Windows ( through cygwin64 ) to backup some data to an samba share. I've made this bat file that would take care of everything: net use S: \\10.1.1.23\marc password /user:marc ...
1
vote
0answers
38 views

rsync ssh to ssh to local

Is it possible to perform a rsync to backup files from a server passing by an another server by ssh. And I have to use port 23 from local to server1. So : ssh ssh -p 23 server2 ---...
1
vote
0answers
209 views

Rsync do not do anything if files not changed

#!/bin/sh date=`date "+%Y-%m-%dT%H:%M:%S"` rsync -aP --link-dest=/target/current '/source/folder' /target/back-$date rm -f /target/Backups/current ln -s back-$date /target/current This is a little ...
1
vote
0answers
63 views

Running a symlink locally

I am running the same program multiple times over a linux platform. It is compiled at another server, and frequently updated, and it's uploaded over through rsync to all "hosting" servers, which do ...
1
vote
0answers
156 views

rsync - Exclude directories but include files within them

I have an rsync command which I'm using to synchronise two directories: rsync -CurvtOlon --delete /home/source/path/ /home/dest/path/ When I run the command, it recursively scans all of the source ...
1
vote
0answers
73 views

Include exclude patterns rsync relative

I'm trying to sync a large tree on Linux, but include and exclude certain files/directories. My question is regarding rsync's --relative option and how relative paths are handled. Directory structures ...
1
vote
0answers
770 views

Automatically transfer completed downloads from seedbox home

I'm pondering a move to ruTorrent/rTorrent and was wondering how people have gone about automating transferring content from their seedbox to a linux based home server. I'd like to: 1 - Download ...
1
vote
0answers
201 views

Which filesystems support hard links (rsync) to backup a Mac?

I want to make a rsync-style hard-link backup from Mac on an external hard drive, but I cannot decide for a file system. It should be (preferably natively) readable from other operating systems. ...
1
vote
0answers
597 views

Synchronising a medium sized sqlite database over several computers

I have an SQLite database that is about 10MiB in size. Every few minutes a new record is inserted. Now I'd like to synchronise this file over several computers, with a remote server in between. But ...
1
vote
0answers
109 views

Where did my rsync'd file go?

I just copied a very large file (> 10 gb) from one EC2 server to another using rsync: rsync -asv -P xtrabackup_2012_07_08_21h20m.tar.gz staging:/mnt/backups This took a couple of hours. Then, after ...
1
vote
0answers
314 views

Rsync equiv of “do not terminate”

Is there anyway to not terminate, but instead when this type of error is encountered? sent 605.85M bytes received 19.89G bytes 483.43K bytes/sec total size is 248.71G speedup is 12.13 rsync ...
1
vote
0answers
311 views

rsync cygwin also hangs without ssh

I've been using rsync installed via cygwin on two Windows 7 PCs to sync my music and picture collection, but eventually it always stops transferring after some time. I've googled and it seems that ...
1
vote
0answers
337 views

Rsync from Linux to Windows producing problems with back slash

I know if I was having an issue with rsync with characters I'd use --iconv= - but this issue is some file names have black slashes in them, and I don't have the ability to rename the original files. ...
1
vote
0answers
1k views

How to achieve NAS to NAS rsync for offsite backup?

I'm interested in a home NAS solution that would look like this: local NAS box for home backups remote NAS box (at my parents) as an offsite copy periodic rsync over the internet from "local" to "...
1
vote
0answers
175 views

How does rsync behave with --append and --link-dest together?

The question refers to the case where a file exists both in the origin and the link-dest folder, but it's larger in the origin. Will it hard-link it and append inplace (thus modifying the file in link-...
0
votes
0answers
36 views

warning message “kex protocol error: type 7” during scp, rsync or shell work

Lately, I get lots of these errors on my home server. Their occurrence seems proportional to the traffic, so if I am working in a shell on the server I may seem 1-2 a day. But If I start some rsync, ...
0
votes
0answers
6 views

Sharing and sync multiple VMs with one image on server

I'm building a complex system for my research team. I thought it through a dozen of times an I'm still not sure how to execute it. I'll present my idea and I'd like to hear your suggestions for a ...
0
votes
0answers
31 views

How to force rsync to stop if destination disk is full?

I am using rsync (version 3.1.0 on a centos) to do some backup task. I develop a software that monitor my rsync processes to fit the backup configuration to my buisness logic. My software launch some ...
0
votes
0answers
24 views

Can't access Samba shares after moving to another server

Here's the issue: I've recently decided to move whole Samba service to new server without recreating everything again. So, I installed Samba on CentOS 6.7 and overwrote the following: /etc/passwd, /...
0
votes
0answers
15 views

rsync based on local timestamps only

Is there a tool like rsync that can record copied files timestamps locally, and upload only changed ones next time? Similar to running the following makefile rule recursively: file.ext.stamp: file....
0
votes
0answers
14 views

rsync, symbols not resolved but libraries found

In an embedded system I can't run rsync: $ rsync /usr/bin/rsync: symbol 'poptHelpOptions': can't resolve symbol /usr/bin/rsync: symbol '_poptBitsN': can't resolve symbol /usr/bin/rsync: symbol '...
0
votes
0answers
27 views

rsync is copying all files

I have 3 servers, two of which share a drive with nfs, and other server and nfs driver share data with rsync. changes made on 3rd server transfered to nfs drive via rsync. earlier it was working fine,...