Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon

learn more… | top users | synonyms

2
votes
1answer
1k views

Synology NAS - rsync messing up versioning / deduplication

Is it true that Synology DSM 4.3's default rsync implementation is not able to handle "vast" amounts of data and could mess up versioning / deduplication? Could it be that any of the variables (see ...
22
votes
6answers
13k views

Rsync : copying over timestamps only

Currently I have two directories A/ and B/ which are identical in every respect, with the exception of the timestamps. Therefore if I run the command : rsync --dry-run -crvv A/ B/ then all files ...
0
votes
0answers
2 views

Could RSync be used to backup Parallels vm to KVM? [migrated]

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
0answers
11 views

Remote push file updates to clients from a centralized server [closed]

Currently we are using Dropbox, to push file updates (newly added only), from a centralized server (Linux) to many registered clients who installed Dropbox client (Windows). This work pretty well, ...
0
votes
1answer
2k views

Rsync hangs when transfering large files on an bad connection

've been having problems transferring files over a pretty bad connection (I'm trying to upload a file on a cloud server) via rsync. The rsync essentially hangs after about a minute or so. This is the ...
2
votes
3answers
2k views

Rsync hangs: expand file_list pointer array to N bytes, did move

Rsync is going into "interruptible sleep" mode after transferring some files from a local folder to a NFS folder. The folder I am trying to backup contains more than 180gb of data. This is what rsync ...
0
votes
1answer
17 views

Distribute rsync over multiple network interfaces

I want to transfer one large file over two slow network connections to save time. One idea is to split file, rsync the parts to the server and concat them there. So, with a 1GB file split -b 500m ...
1
vote
1answer
22 views

rsync - incremental file list sent but files not updated on server

I am working with some source files from a desktop computer. The source files compile and run on a remote server. As there is a significant delay between me and the server, I have decided to use ...
1
vote
1answer
66 views

Can rsync be used to upgrade operating systems?

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. Now if I ...
0
votes
1answer
2k views

rsync error on Downloading

I am trying to setup a Rsyncmirror on my mount drive /mnt/Mirror/ubuntu_mirror, so I am trying the command: rsync -a --bwlimit=128 rsync://archive.ubuntu.com/ubuntu /mnt/Mirror/ubuntu_mirror but it ...
2
votes
2answers
144 views

rsync - exclude all directories except a few

There appear to be a lot of SF and SO questions out there about this, but none seem to match my requirements. source_dir/ some_dir/ another_dir/ some_file.php some_other_file.txt ...
0
votes
1answer
22 views

rsync -a and -L conflict?

I'm working on multiple servers and need to copy a large amount of data from one (production) to another (staging). The source server (production) has a NAS for shared files, that are accessed via ...
0
votes
0answers
6 views

rsnapshot copying unwanted files

Running rsnapshot, I've got every daily making 84G on a 740G initial backup. I dont change so many files daily, and doing a diff I have files like movies copied every day without knowing why... the ...
1
vote
1answer
29 views

Restore full VPS using rsync backup

I had a xen VPS running Debian 8 that had to come offline so I backed it up using rsync like this. rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+...
0
votes
2answers
2k views

rsync permission errors on smbfs share

I have a nas set up an am trying to rsync files to it. It works fine for file I own $ id dogmatic69 uid=1000(dogmatic69) gid=1000(dogmatic69) groups=1000(dogmatic69),4(adm),20(dialout),24(cdrom),33(...
0
votes
1answer
19 views

Rsync to remote server with mounted NFS USB [closed]

I am trying to rsync one file from server X to server Y. In the server Y, there is a mounted dir /mnt/myDir, where I am trying to sync that file. The goal is also to keep the full path of the file. I ...
3
votes
2answers
2k views

easy way to restore incremental rsync backup?

I have incremental rsync backups of a folder, created with: rsync --delete -a -v --backup --backup-dir="../backup_`date +%Y-%m-%d`" /orig /backups/dest so I have a copy of current /orig on /backups/...
1
vote
2answers
1k views

s3fs Input/output error

I'm trying to set up a backup system with s3fs and the Amazon S3 service. I followed this this guide and this guide. Tailing /var/log/messages I get: Aug 28 13:37:46 server s3fs:###response=403 I ...
-1
votes
1answer
15 views

rsync to remote ssh or to local iscsi

I'm curious of anyone knows a link to or can elaborate upon this design question: I have a server that I would like to make a backup copy of data from. I have a second server that is iscsi-enabled. ...
2
votes
1answer
3k views

rsync unexplained error & received SIGINT, SIGTERM, or SIGHUP

I created a batch script to back-up our server: #!/bin/bash user=$1 # create user dir ssh root@local.backup.tst -p 5774 mkdir -p /var/backup/server.tst/incremental/$user # backup mail dir rsync -...
0
votes
1answer
20 views

How does rsync with daemon works?

I'm trying to sync files from a source machine to a destination machine in the same local network. These machines have less cpu speed. As far as I read in some domcumentations ist that rsync with ...
4
votes
2answers
1k views

Copy files from guest to host the first time with rsync using Vagrant

When doing vagrant up a "shell" provision download some files into the synced folder. Those files should be also copied to the host machine synced folder, so that the project would be available from ...
0
votes
1answer
31 views

rsync to backup a multi-user NAS

The setup : a Ubuntu server with samba shares to 25 users all with Windows (different locales). the Ubuntu server then has a daily cron job executed as Admin (not root) running rsync to backup the ...
5
votes
0answers
93 views

How to re-compile iconv on Linux (Ubuntu 14.04 LTS) with pseudo-charset UTF8-MAC?

I was googling around for hours to find a solution for my problem and I couldn't get it to work: I have to rsync a file structure on an ext4 formatted drive to a hfs+ formatted drive. Folders and ...
0
votes
1answer
37 views

Rsync with ssh, job fails: Permission denied (13)

Recently my rsync job has been failing with the error shown below: rsync: mkstemp "/foo/bar.txt" failed: Permission denied (13) inflate returned -3 (0 bytes) rsync error: error in rsync protocol data ...
0
votes
2answers
47 views

Backup laptop and server folder using rsync

I want to have a folder in my laptop synched in the server. My purpose is to have 'cloned' folder in laptop and server. Both folders will be updated when changing files either in laptop or server with ...
0
votes
0answers
28 views

'rsync -av −−del' gives error

Seems --del has problems with permissions. I don't know what's happening but rsync is not deleting file '1-s2.0-S1369527414001830-main.pdf' on local. rsync -av −−del /home/bernardo/...
0
votes
2answers
47 views

RSYNC from an External Hard drive

I want to use RSYNC for the incremental copy of a folder which has a considerable size. The source (a directory) resides on an External hard disk (as we cannot have a network link between the source ...
2
votes
1answer
49 views

SSH works both ways, but scp and rsync only one way

I have been using SCP and rsync to transfer some files between two servers using SSH keys. Suddently SCP and rsync don't work anymore from server 1 to server 2. They don't give any error or ...
0
votes
1answer
76 views

rsync/scp extremely slow transfer rate (<30kB/s) over fast connection

I am attempting to perform a backup using rsync of some files on a Digital Ocean VPS running Ubuntu 14.04.4 LTS. rsync is extremely slow, ranging from 20-50 kB/s, only 1% of what it should be. It is ...
1
vote
6answers
3k views

Rsync / Sqlite database

Does anyone have ever tried rsync'ing sqlite database? Is it possible to access the data while it gets syncronised?
0
votes
1answer
11 views

Rsync hard-links when modification times are different

I have a large remote directory A and local directory B that are nearly identical in content, though many of the modification times may have changed by copying files etc. I want to create a local ...
8
votes
3answers
4k views

Get list of transferred files from rsync?

I'm currently using rsync on a script that deploys a PHP application from a staging to a production server. Here is how: rsync -rzai --progress --stats --ignore-times --checksum /tmp/app_export/ root@...
0
votes
3answers
161 views

Permissions for rsync process to access files it doesn't own withtout running it as root

I want to use rsync to take automated backups from a remote webserver over ssh. The webserver is configured with suphp, so different sites have files with different users and groups. Unfortunately a ...
0
votes
1answer
58 views

rsync: connection unexpectedly closed - No tty present

I'm having issues trying to rsync files over from a build server to a web server. the command im running is rsync -e "ssh -i ${HOME}/.ssh/id_rsa" --rsync-path="sudo rsync" -avh --chown=nobody:webdev ...
0
votes
2answers
26 views

Inotify & Rsync - Don't move files before download is completed

I am using a local website which downloads files to my server. Using an Inotify daemon I'm listening for file changes in a specific folder (the one I am downloading to) and executing a script which ...
2
votes
2answers
932 views

Install rsync on VMware ESX 4.1 server

I have a Red Hat Enterprise Linux Server release 5.1 (Tikanga) VMware ESX 4.1 (Kandinsky), and my plan is to backup the files from the box to a NAS in another host. I have already resolve the ssh ...
0
votes
3answers
993 views

rsync: ssh unknown option -p2122

I run this command to replicate data from one server to another. It's been working for a quite a while. I have this setup as a cron job. Yesterday for some reason, it stopped working. I ran it ...
0
votes
2answers
36 views

Rsync to remote server and change file / directory ownerships

I am using Rsync to deploy to a remote server, which is working. However the file and directory ownership always replaces old files with root:root I need the ownership of all files and folders ...
0
votes
1answer
41 views

rsync: no lockfile created on system reboot

After system reboot rsync starts but no lock file is created, therefore when rsync on a remote machine tries to get a directory for backup it fails with @ERROR: failed to open lock file rsync error: ...
0
votes
1answer
49 views

NFS drive full even though du says it's not [closed]

I am experiencing a very weird behaviour of my backup drive that I can neither explain nor get fixed. I have an external drive mounted via NFS. I regularly call rsync jobs that backup files from my ...
2
votes
2answers
157 views

Install rsync 3.1.1 on systemd

I have CentOS 7 and it comes with Rsync 3.0.9. I downloaded the 3.1.1 el7 rpm and installed with rpm -Uvh. Now the daemon refuse to start. I tried to create : /usr/lib/systemd/system/rsyncd....
6
votes
3answers
8k views

Rsync fails to backup some files, giving error 22

I'm trying to backup my whole server using a simple rsync on a NFS mounted volume on '/nas' Here's my rsync command rsync -sav -S --stats -H --numeric-ids --delete -D --exclude-from="/usr/local/...
2
votes
2answers
45 views

rsync: ignore files in use (being written to)

I have an SFTP server where clients are constantly uploading large files. On a periodic basis, I want to copy all complete (fully uploaded) files to another machine for processing. I don't want to ...
0
votes
2answers
158 views

why does 'rsync --delete-before' delete files from target that still exist at the source?

I have a centOS 7.1 linux box with rsync 3.1.1. There are files there that I want to transfer to a FreeNAS 9.10 machine. For this I've set up an rsync daemon on freeNAS and transferring files works ...
101
votes
16answers
91k views

Showing total progress in rsync: is it possible?

I have searched for this option already, but have only found solutions that involve custom patching. The fact that it does not show in --help and no more info can be found probably indicates the ...
-1
votes
2answers
46 views

Script to delete older files and copy what is left

We have a server that runs an application that is used internally. The application has a utility that creates its own backups every 24 hours. Backups are stored in: /var/application/application-data/...
1
vote
0answers
69 views

Can't access folders created by rsync on qnap server

I'm trying to use RSync to backup my files to my QNap Turbo Nas. I have activated the rsync service and created a private shared folder named "RSync". On my Windows machine I mapped a network drive ...
6
votes
6answers
8k views

Rsync Remote to Remote

I'm looking for a solution for using rsync between 2 remote servers. It seems like its not possible. Does any one know why its not possible? I ask that because I think if I know the reason, maybe I ...
2
votes
2answers
502 views

Cobbler import failing

I've been playing with Cobbler lately (on a CentOS 7 distrib), and I've gone through an error while importing a CentOS 7 iso. I've been able to find a work around to the problem, and I thought it'd be ...