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

1
vote
1answer
11 views

Syncing mutable folders on linux (rsync/unison/some thing else?)

Consider the following directory layout: /foo /ABZE1 a1.txt a2.txt ... a59682.txt /BBSDF b1.txt b2.txt .... b42333.txt ... foo is the parent folder, ...
1
vote
1answer
17 views

How to rsync files older than x min on linux

Here is what I have now: rsync --remove-source-files -vr user@server:/foo/bar/in/ /some/local/path Is there a way I can instruct rsync to only fetch files that are older than x min/hours from the ...
0
votes
1answer
4k views

How to set/keep directory permissions?

I'm using CwRsync to connect from my Windows development machine to a linux webserver : rsync -avuz -e ./ssh --exclude=".svn" /cygdrive/c/xampp/htdocs/project123/ user123@project123.com:/home/user123/...
0
votes
3answers
4k views

rsync option --log-file seems not to be working

I am using the --log-file option in rsync to see the logs. But when I tried to run, it says: --log-file unrecognized option Here is my command: #/usr/bin/rsync -av -u --log-file="/sreeni/log....
3
votes
0answers
36 views

Rsync strangely gets auto killed and then binary is broken

I got a strange situation with Rsync on my remote Ubuntu 14.04.3 LTS (Trusty Tahir) instance. Whenever I execute it, it runs for a while (not completed) then seems get auto killed. After that it's ...
0
votes
1answer
26 views

How do I copy a file from one server to another without downloading first?

Is it possible to copy a file from one server to another without downloading first? I have a backup file that is 10gb that I'm wanting to copy from my production server to my staging server. ...
0
votes
1answer
10 views

Could RSync be used to backup Parallels vm to KVM?

So I am currently using Parallels on my macbook pro but I am wanting to also use them on my desktop, which uses KVM. Since I don't believe KVM can read the parallels file format, would it be possible ...
0
votes
1answer
32 views

How to interpret extended attributes on MacOS X?

I have a problem with rsync (version 2.6.9 which is outdated, but this is another problem) not correctly synchronizing files from MacOS X to MacOS X (versions Mountain Lion, Mavericks, Yosemite and ...
1
vote
2answers
2k views

How to fix corrupted NTFS

I was trying to backup my linux box (ext4) into an external NTFS HDD using rsync I got some failure errors and then I deleted the backup on External HDD using "rm -r" & "rm -rf" which was not able ...
6
votes
2answers
136 views

Why does rsync over SSH give me 10x the throughput of SCP?

scp user@aws-ec2:~/file file rsync --partial --progress -Pav -e ssh user@aws-ec2:~/file file scp only gives me 200K/s, but rsync gives me 1.9M/s I tested several times, all same results. rsync ...
0
votes
1answer
29 views

Rsync only certain directories and only certain sub-directories within them

In /opt I have many different directories, some of which contain _pkg_linux_deb_ or _pkg_android_apk_ in the middle of their name. Those directories also contain many sub-directories, one of which is ...
-2
votes
3answers
52 views

How can I check whether rsync transfered files or not?

I use rsync (cygwin) to transfer files between server and my PC. Rsync runs every 2 minutes, and sometimes there are some files to transfer, sometimes not. I need to execute some actions, but only ...
1
vote
3answers
40 views

File synchronization on Linux over network: scp or rsync?

I have two Linux (Debian) machines "A" and "B" connected to each other wireless over the router. On the machine "A" I run a script that generates every 5 seconds a new 1MB file in the specific ...
1
vote
0answers
38 views

rsync SSD migration: lsetxattr failed: Operation not supported (95) — consequences?

I just got an SSD and have been trying to migrate to it, poring through tons of how-to's I finally decided on this command (I have multiple partitions that needed migrating): time rsync -avHAXx /...
0
votes
1answer
14 views

rsync creates wrong backup directory names with a middle dot (·)

Under Windows, I use rsync to periodically clone some directory to ${LATEST_BACKUP_DIR}. I also use the --backup-dir="${OLD_BACKUP_DIR}" option to keep backups of files' old versions that have changed ...
0
votes
0answers
65 views

rsync a folder ignoring sud-dirs which has with circular symlink

I am trying to rsync a folder as below: rsync -ahLz ./src /tmp/ Dir "./src" has circulr symlink as: $ ls -l src/cpp/blddir lrwxrwxrwx 1 lnxbuild users 16 May 27 02:16 src/cpp/blddir -> ../../../...
0
votes
1answer
8 views

Inplace modification of incron monitored files

I have samba share where users create video files, i need to stripe audio tracks from that video files and rsync new files to remote folder. I monitor the samba share with CLOSE_WRITE option, to strip ...
2
votes
0answers
147 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, ...
5
votes
3answers
886 views

How can completely back up my linux computer so that it can be fully restored easily?

I want to be able to blindly back up my entire hard disk, so that I can blindly and automatically restore in case there is any problem. I am not interested in merely backing up data, but specifically ...
0
votes
2answers
11 views

Can rsync be used to update restoration hdd?

I have two identical hard disks (say HDD1 and HDD2) with 4TB capacities. I want to create install CentOS, update it, install services and create users on one of the hard disk, say HDD1, meant only ...
9
votes
3answers
5k views

rsync complaining about `missing trailing-"` in a Bash script

Trying to rsync files from one server to the other in a screen session. Instead of writing the long command every single time, I decided to put in a Bash script. However, when I run it, I get a ...
14
votes
2answers
11k views

Why does't rsync use delta-transfer for local files?

I have a big iso image which is currently being downloaded by a torrent client with space-reservation turned on: that means, file size is not changing while some chunks in in (4 Mib) are constantly ...
0
votes
1answer
20 views

Diagnose why rsync is or is not copying certain files

I have a script that uses rsync to fetch files from a remote server, then process them. These local copies are not deleted between runs, so rsync should only have to fetch new files. However, it seems ...
22
votes
5answers
9k views

Rsync friendly gzip

I must not be the only one - I'm rsyncing .tar.gz files and notice that every time the full file gets rsynced rather than the differences. Reading into it it seems back in 1999 someone created an ...
0
votes
1answer
12 views

rsync isn't understanding what is the relative part in --files-from=FILE

I've a file that looks like this: /cygdrive/d/path/to/my/file1.png /cygdrive/d/path/to/my/file2.png /cygdrive/d/path/to/my/file3.png /cygdrive/d/path/to/my/file4.png I'm calling rsync with: rsync -...
1
vote
1answer
15 views

Performance with multiple instances of rsync across different direct-attached storage devices?

Would running multiple instances of rsync with all the sources and destinations on different direct-attached storage devices cause any performance hits, or would the speed limits for each individual ...
0
votes
2answers
514 views

Backup of a Linux desktop on a Synology NAS (DS 5.2) using backintime

I am trying to setup a backup of my Linux desktop machine on a Synology NAS with backintime. However, I am stuck with the following error message: Entfernter Rechner <nas.ip.address> ...
0
votes
2answers
36 views

Patch a very big binary file over a slow connection

for backup purposes, I have transfered a very big binary file over a comparably upstream-wise slow connection (transfer took 2 weeks), by rsyncing it on a mounted cifs-share (so I could and can access ...
0
votes
2answers
37 views

Upload only modified part of file using rsync

I am studying rsync to synchronize remote and local folders in windows(using cwrsync). I have a doubt that, is it possible to upload only part of changes ? For example, I have a 100 MB file initially ...
6
votes
1answer
134 views

Make rsync show progress on checksum comparison, even if no difference is being found

I run this command to check the identicalness of two folders and put all differences into a log file: rsync -av --delete --checksum --dry-run --stats --itemize-changes --out-format='%t %i %f ' SOURCE ...
1
vote
1answer
21 views

How to get rsync to not print directories

I use rsync to create backups on an external hard drive. I usually run a dry-run first just to sanity check. Specifically, I will use rsync -auvn path/to/source path/to/dest However this prints all ...
0
votes
0answers
111 views

Vagrant can't rsync Windows

I have a problem with Vagrant. I'm using a CentOS vm. The vagrant up command sucessfully maps files from Windows to the CentOS vm, and gives no errors when bringing the machine up. EDIT: $...
1
vote
1answer
32 views

Why would rsync be limiting syncs to ~252Kilobytes?

Here's a head scratcher for you... or at least it is for me. I am transferring a Wordpress site away from WP Engine to an Amazon instance. I am trying to upload the original Wordpress files from my ...
22
votes
4answers
32k views

How to speed up rsync?

I'm running rsync to sync a directory onto my external USB HDD. It's about 150 gigs of data. 50000+ files I would guess. It's running it's first sync at the moment, but its copying files at a rate of ...
1
vote
1answer
37 views

How to find the user who is running rsync?

In Linux, if rsync is already running, how can we identify which user is running it? And what if it is running as cron job, will the cron job user be different?
1
vote
0answers
61 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/* ...
0
votes
1answer
30 views

Chain several ssh tunnels

I'm new on this forum. I have the following configuration: my_computer gateway1 gateway2 host_to_reach. I can access gateway1 only with an ssh tunnel which has been created by a server where I ...
0
votes
2answers
497 views

Rsync-like automatic delta backup of a removable hard drive on windows

Well a lot of questions have been asked on the SE network about using rsync on Windows. But nothing seems to really do the trick so I'd like to expose the specific mechanism I need to setup. Lets say ...
11
votes
3answers
13k views

How to best clone a running system to a new harddisk using rsync?

I have a system running as a server that has a failing harddrive. While all important data is on a RAID and backed up and all that, I don't have an image of the system itself. There is no specific ...
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
43 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
25 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
31 views

rsnapshot not deleting files from destination

So I made the jump from windows to ubuntu and love it so far. Came across rsnapshot and used it happily for a few weeks until I realised that rsnapshot is not deleting files in the destination folder ...
28
votes
9answers
24k views

Parallelizing rsync

I just moved and discovered after some trial and error that somewhere between my home and my remote server, there is some throttling going on...but the throttling is not very intelligent. It only ...
0
votes
0answers
18 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
18 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
1answer
51 views

Linux rsync without recursive folders

I have a hierarchy of folders and want to rsync the file contents of one to another. So a simple rsync dirA to dirB However without the recursive element it does not include the files in the folder. ...
0
votes
0answers
28 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,...
0
votes
0answers
71 views

Problems with rsync and ssh-key

I created a ssh-key to log into my CentOS VPS, altered the default port to 2020 and disabled password connection, so I can only log in this VPS using the key (that need a password to be unlocked). My ...
0
votes
1answer
36 views

Rsync --checksum does not catch changed files

I am transferring files from a Linux computer to a Mac. The connection sometimes drops and I restart. This is usually fine, but I check everything for a possible data corruption using md5sum. With ...