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

0
votes
0answers
8 views

Is there a faster syncronizing between NAS bays

I'm owning a consumer home 2-Bay NAS (ARM CPU, 512 MB RAM) with both bays containing a 4 TB Harddisk, whereas the first HD is the working one, and the second HD (in the bay) is almost a duplicate of ...
0
votes
0answers
12 views

Link errors with symlinks

I've moved all the files of ./usr to an external drive /home/Linkados/usr (SD card 8Gb) using $rsync --progress -l -r /usr /home/Linkados/usr Then I created a symbolic link from my SD to my flash ...
0
votes
0answers
52 views

Vagrant cant 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
27 views

Why does rsync not create a hard link in my Backup Set?

I am trying to set up an rsync Backup from my Windows pc to my raspi. On the raspi I have an NTFS formatted usb stick. When I sync files to the target everything works fine, except that rsync will not ...
0
votes
0answers
18 views

Verify integrity of a file BEFORE rsync (preventing propagation of bit-rot)

I've got some ideas on how I could craft something together myself using Python and a utility like hashdeep to do this, but I'm willing to bet I'm not the first person that needed to solve this ...
1
vote
0answers
32 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 ...
0
votes
1answer
27 views

Why is my .bat file doing a infinit loop?

I've created a .bat file for running my cwRsync script. From CMD line, this works great: rsync -avz ./ {destination} --chmod=ugo=rwX --rsh "ssh -i id_rsync -p 9672" --recursive --delete Now, If ...
1
vote
0answers
44 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 ...
0
votes
0answers
19 views

Can you have a SSH window on a Synology itself?

I was wondering if it's possible to SSH on a Synology itself, instead of on your local machine? I need to merge folders/copy files/ignore already done all data from an USB drive (connected to my ...
3
votes
1answer
36 views

rsync with just a single rule file, exclude some paths but include selected sub-paths therein, recursively

I want to exclude all the contents of a folder but some of its sub-folders, and I want to do it with just a single rule file without adding --exclude or --include command-line options. Is this ...
4
votes
1answer
65 views

How to make rsync actually continue from where it left off?

As a total newbie, after reading tons of questions in SO and the documentation repetitively several times, I came up with this solution: rsync -Pavuh --append-verify source destination Where ...
1
vote
1answer
135 views

rsync without remote having it

I'm wondering whether there's a possiblity of using rsync when the remote server doesn't have it installed (or at least not available to my user). The remote server is a shared host, and while I ...
0
votes
2answers
924 views

Caveats with gzip --rsyncable - no speedup

I am using (trying) gzip to compress an SQL file in an rsyncable way in order to transfer the backup with minimal delay. However it appears that this is not working, since the speedup is always 1.00. ...
4
votes
6answers
37k views

How to configure and use rsyncd?

I have a server configured to run rsync as demon /etc/rsyncd.conf file: log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [documents] path = ...
3
votes
1answer
74 views

Will rsync preserve owner between servers if the username is equal but the userid is not

I have the following case: Server A has a user marco with userid 10001 Server B has a user marco with userid 10004 I'm copying a file test.txt, owned by marco, from server A to server B, with rsync ...
6
votes
6answers
14k views

Does rsync --inplace write to the entire file, or just to the parts that need to be updated? (for btrfs+rsync backups)

I was reading several guides how combine btrfs snapshots with rsync to make an efficient backup solution with history. However it all depends on if rsync --inplace modifies only those portions of ...
0
votes
0answers
35 views

rsync is changing my filenames

I use rsync to synchronize remote directory with my local one. My command is: rsync -e"ssh -i /path.to/id_rsa" -aP MyUsername@HostIP:/path/to/host/backup/ /path/to/local/backup --exclude '*.sql' ...
0
votes
1answer
17 views

rsync --delete when destination is remote

I'm using a script that pulls and pushes files from my laptop to my server. The command I use to push any changes is this: rsync -Pravtz --delete /home/username/sync/* ...
1
vote
1answer
56 views

How can I clone files from OS X to a FAT32 formatted USB pen drive?

I have my music library on my Synology NAS which is an ext4 file system. I copy those files to a V-FAT formatted USB thumb drive ($usbdir), and then use the thumb drive in my car. The problem is the ...
0
votes
0answers
29 views

Move files from Linux disk img to Windows to Linux server and keep permissions?

I have a backup disk image that I am trying to upload to my server. The problem is that the disk image is corrupted according to Linux. However, using DiskInternals Linux Reader on Windows I can open ...
1
vote
1answer
467 views

Divide out local files in different servers with limited space with rsync

I have 80 GB of files in a local directory that I want to back up, dividing them out onto different servers with a limited space quota, using rsync, like so: LOCAL 80 Gb ====> server1: first 30 Gb ...
0
votes
0answers
34 views

Ubuntu admin can't open a directory - permission denied

Ok, so I have family backing up to my Lubuntu desktop server (ubuntu). They do rsync over ssh and the backup works fine. I then run backintime to make daily backups to another server. I am the admin ...
0
votes
0answers
24 views

rsync via sudo user using ssh not working

I logged in as USER1 and I am trying the below one from shell script. rsync -v -p -t -e "sudo -u USER2 ssh" USER2@HOST2:${REMOTE_FILE_TO_MOVE} \ ${DESTINATION_PATH} It prompts password for USER1 ...
1
vote
1answer
49 views

rsnapshot: What's wrong with my crontab?

I am using Rsnapshot for backups (Linux CentOS 6). Here is my /etc/cron.d/rsnapshot: 30 11 * * * root /usr/bin/rsnapshot nowandthen > /backups/rsnapshot_cron.txt 2>&1 15 11 * * 4 root ...
0
votes
1answer
109 views

Rsync hanging on files from client to LAN NAS server via ssh

I'm using rsync to do a backup to a NAS on my local network over SSH. However when running rsync I'm finding that it's getting stuck on certain files. Rsync will completely freeze and refuse to ...
0
votes
1answer
59 views

Incremental Snapshot Style backups with rsync on NTFS

I've taken over development of an embedded Linux product which needs a reliable backup solution. Backups are to be performed without compression to an attached USB storage device formatted to NTFS. ...
0
votes
1answer
154 views

rsync vs cp on Synology NAS

After i was disappointed with the performance of an external USB drive with my Synology DS251j i did some transfer tests on the shell. Interestingly i found that copying a 1GB test file takes over ...
0
votes
0answers
92 views

rsnapshot exclude_file not working for local backup?

I've setup rsnapshot for 2 Ubuntu 14.04 servers. One is over SSH, the other is local. The configs are almost exactly the same, however the local backup seems to not honor the exclude_file. Global ...
0
votes
1answer
76 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
0
votes
0answers
25 views

Strategy for transporting VM between home and office

I would like to keep a VM work environment that I carry back and forth between home and office. Right now I have the VM on an external SSD. I can think of three approaches: Work off the SSD and open ...
0
votes
1answer
30 views

Rsync over a Network

I can't exchange files between my pcs, when I give the command sudo rsync -av -delete --rsh=ssh localhost/directory remotehost/directory remotehost root password is required but when I type it the ...
1
vote
1answer
33 views

unable to remove symbolic links of rsync copy of /bin and /dev

I accidentally made a rsync copy of my root directory, "/" using the -a option, as follows: user@mycomputer:~$ rsync -a / /backup-dir user@mycomputer:~$ ls -l /backup-dir/ total 10102784 drwxrwxrwx 1 ...
3
votes
1answer
19 views

Rsync: Skip files that are not present locally?

+------+-----+------+ |Local | |Remote| +------+-----+------+ |file01| <- |file01| +------+-----+------+ |- | |file02| +------+-----+------+ |file03| <- |file03| ...
5
votes
0answers
55 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
39 views

create an alias to rsync local directory with a remote server - is it bad practice?

disclaimer: I am no superuser. question: I find myself writing out this beast every time I want to sync up my server with my dev directories on my machine: rsync -chavzP --stats user@host:/remote/ ...
3
votes
1answer
82 views

Killing rsync softly

Is there a way of tell rsync to stop whenever possible in a clean way? Two options: tell rsync to stop transfering the current file, clean any temp file and exit; or let rsync end the transfer of ...
0
votes
1answer
26 views

Bash expands array where it should just use one element

My simple bash script to fetch images of a Raspberry Pi that are older than one minute: #!/bin/bash time=`date +"%FT%H_%M_%S"` imagedir="/root/pilapse/images/" files=`ssh pi find ...
0
votes
1answer
21 views

Cygwin and automated SSH Login - one user works, the other does not

Ok, so I have two windows computers and one linux computer. I setup cygwin and installed the ssh package. I then opened up the cygwin terminal on each computer and ran ssh-keygen -t -N '' I then ...
1
vote
1answer
31 views

Synchronize identical files' timestamps across directory trees?

In January of 2015, I transferred some files from a dd created backup image to a new hard disk. This transfer did not preserve timestamps, so basically every file shows a timestamp of January 20th. ...
4
votes
3answers
1k views

Exact copy of files from NTFS to another NTFS using Linux

I try to copy all files from an NTFS to an external drive and want to preserve all permissions and attributes. The external drive has already an NTFS and contains other files. I've considered using ...
1
vote
1answer
240 views

rsync: connection unexpectedly closed - Migration from AWS to Digital Ocean

I'm trying to migrate my Django site from AWS to DigitalOcean. I'm following this tutorial My problem is that I can't rsyncmy files. Just as info, I'm able to connect via ssh to my Digital Ocean's ...
0
votes
1answer
168 views

normal user to rsync between two systems as root

How can I change the user permissions so that the user will be able to rsync between two systems as a root. I added the user in visudo. paru ALL = NOPASSWD: /usr/bin/rsync then I typed the ...
1
vote
1answer
26 views

backing up Linux (CentOS) to rsync.net

I'm doing a full backup of a server using /usr/bin/rsync and it seemed to hang. The problem was that the /proc directory has a huge file -r-------- 1 root root 140737477877760 Jan 24 ...
1
vote
2answers
284 views

Rsnapshot --exclude-from file not working for sub directories

I am doing a remote backup. This are my rsnapshot config. config_version 1.2 snapshot_root /data/sbackup/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh ...
1
vote
2answers
39 views

Retrying failed command that is run with xargs

I have a script that rsync's files over in parallel using xargs and rsync daemon mode. I occasionally get errors with rsync due to writes happening on the source. I want to be able to retry the rsync ...
18
votes
3answers
2k views

Moving 2TB (10 mil files + dirs), what's my bottleneck?

Background I ran out of space on /home/data and need to transfer /home/data/repo to /home/data2. /home/data/repo contains 1M dirs, each of which contain 11 dirs and 10 files. It totals 2TB. ...
0
votes
0answers
57 views

ignoring No data available (61) errors with rsync

Is there a way to supress a warning where the prigin changes during the rsync? $ rsync --archive server::somemodule/ /dest/dir rsync: read errors mapping "/somefile" (in somemodule): No data ...
0
votes
0answers
12 views

No modules listed by rsync server

I have an rsync server running on a Windows 7 machine as part of a BackupPC install. I was able to install the server and run it, because I can telnet to the server/port and receive the proper ...
1
vote
1answer
53 views

How do I move hard links to new server properly?

I have a server with 4 drives in it and am getting pretty full. I run the drives in a raid 5 and they are all 3tb drives. I then run backintime and have it run my daily backup. My data set is about ...
-1
votes
1answer
22 views

How to use rsync to copy files changed in dirB compared against dirA to dirC? (Repost from Stackoverflow)

I posted the below question to stackoverflow, but people suggest I posted here instead: I have two directories, dirA and dirB. I want to move everything in dirB that are different from dirA (checksum ...