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

5
votes
0answers
97 views

BackupPC using rsync fails with “protocol version mismatch — is your shell clean?”

I just installed BackupPC in a Debian box to use it as backup server. As you know, this software makes use, among others, of rsync. When using the rsync option, it fails. Server: Debian Jessie. ...
3
votes
0answers
61 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 ...
3
votes
0answers
1k views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
3
votes
0answers
2k views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
2
votes
0answers
40 views

rsync ionice softraid - limit io locally?

I know this seems to be a recurrent question but it's been troubling for a while now, so if anyone has a brilliant idea please let me know. My Setup OS Debian Wheezy HDDs 2 x 240GB SSD for ...
2
votes
0answers
49 views

How do I prevent rsync failure from breaking my ability to SSH into remote AWS server?

I'm running into this problem where if my rsync to an Amazon CentOS instance breaks mid-transfer (with a Ctrl+C for example), subsequent logins to the server no longer works. The Server just responds ...
2
votes
0answers
963 views

What is a fast, efficient method for threading rsync

I have a single root directory (on a NAS) that I need to backup to another server. The hierarchy of the directory is several layers deep and a majority of the data is composed of extremely large ...
2
votes
0answers
117 views

Solution for file data backup, versioning and replication

We have a growing set of data files (.wav files, image files etc) which are data, i.e not part of the application code - uploaded and modified by users. The number of files is in the 1000s and the ...
2
votes
0answers
53 views

List subfolders somewhere in the path with rsync

I'm developing a program, that will recursively "walk" through Linux repositories, look for PXE-related files and create gPXE configs. I met across a problem with the structure of Ubuntu catalogs on ...
2
votes
0answers
134 views

rsync won't delete file that was deleted on source

I'm using rsnapshot to back up some servers of mine. It works fine, except it won't delete files that have been deleted on the source server. Here is where I give rsnapshot the options to pass along ...
2
votes
0answers
8k views

rsync requires rsync-path when remote rsync is in path

I am quite confused as to why rsync requires --rsync-path flag even when remote rsync is in path. Consider: $ rsync -avze 'ssh -p 22' --delete public/ pmatos@domain.com:~/public_html bash: /usr/...
2
votes
0answers
3k views

DeltaCopy (Rsync for windows) giving an error on task run

I was suggested DeltaCopy to set up a nightly backup between two Windows 2008 R2 servers. After setting up the server side (Amazon EC2 instance where files will be backed to) and setting up the ...
2
votes
0answers
267 views

Syncrify and empty folders

Perhaps I'm missing something in the configuration, but can anyone tell me how to force Syncrify backup empty folders? It seems if they're empty they don't get created in the backup.
1
vote
0answers
54 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 ...
1
vote
0answers
20 views

rsync: Maximum nice to keep system responsive

Unfortunately a background rsync reduces the responsiveness of a server. I search a way to have maximum niceness for this background task, to keep the server respond fast. My current wrapper ...
1
vote
0answers
65 views

How to create image file and mount via. loopback (Ubuntu to remote backup space)

I've been fiddling around with the Hetzner Backup Space and I want to use rsync via. rsnapshot in order to back up my files (more info at their Wiki here) They state in their documentation: The ...
1
vote
0answers
22 views

keep writing to file after network filesystem disconnects

I'm trying to transfer a huge growing logfile in a way that will survive network partitions between the client and server. If the network connection is lost, I cannot afford to retransmit the entire ...
1
vote
0answers
32 views

Simple progress for rsync when piping output to a log file

I ran rsync with nohup and --progress: nohup rsync --progress --[other-options] source destination & tail -f nohup.out When I'm tailing the file, I see the output with a changing last line (...
1
vote
0answers
95 views

Mystic rsync over nfs issue - same error messages but on different files every time

When I try to backup full directories, roughly half of files are copied, other half not. All error messages are all similar - No such file or directory (2) rsync: mkstemp "/mnt/NAS/Archive/backup/......
1
vote
0answers
158 views

rsync crashes machine while performing sync on glusterfs mounted share

I am running ubuntu 14.04 as guest inside virtualbox 5.0.3 on OS X. While performing rsync on a glusterfs (3.7.x) mounted share with over 100.000 files, the entire machine crashes. There is one ...
1
vote
0answers
50 views

How can I let rsync display both total and partial progress?

I've found that rsync's total progress is (somewhat) shown with --info=progress2, while partial progress (i.e. the current file) is shown with --info=progress (or -P). Is there a way to show both? I'...
1
vote
0answers
77 views

Ubuntu 14.04 - rsync corrupting SSH configs/keys?

I have two Ubuntu 14.04 servers S1 (user root) and S2 (user dataman). S1 is responsible for handling file uploads and transferring backups to S2. On S1 I am using PubKey authentication to S2 for ...
1
vote
0answers
64 views

Two allowed paths in rsync command in authorized_keys

I have a question about rsync restriction in authorized_keys command. I need to copy files via rsync from one server to another without prompting password. There is no problem, but I need to specify ...
1
vote
0answers
101 views

rsync daemon without rsyncd.conf

Will rsyncd run without its config file (rsyncd.conf) ? What is its behavior if run this way? Backstory: So, I'm using rsync to backup user directories from (call it) server A, and it's working ...
1
vote
0answers
93 views

Rsync does not delete destination files [rsync protocol / module]

An automatic backup script executes the following rsync command to sync a local directory tree with a remote one: env RSYNC_PASSWORD=$rsync_password rsync -aqrxz --delete --timeout=30 \ "${...
1
vote
0answers
467 views

rsync chgrp Failing on NFS

I am trying to set up NFS on two servers to share files. The owner of the files in question have the same UID and GID on NFS Server and each NFS client. The NFS Server is running on Ubuntu 14.04 and ...
1
vote
0answers
104 views

How to mirror an NTFS directory structure in Rsync

Being a Linux tool I'm not sure if this is supported but is it possible to mirror an NTFS file system in it's entirety, including all symlinks? The symlinks must be copied and point to their new ...
1
vote
0answers
631 views

Backup archive format for delta syncing to Dropbox?

On an Amazon EC2 server with Linux AMI, I currently have a daily backup cron job be run: TMP_BACKUP_FILE="/tmp/backup.tar" BACKUP_FILE="/home/ec2-user/Dropbox/Backup/backup.tar" rm -f "$...
1
vote
0answers
120 views

Weird permissions getting set on directories after rsync

I've got a drive on a Mac (OSX 10.7.5) that I'm sharing on the LAN. In the system preferences, the share is set so System Administrator has Read & Write access, System Group has Read Only, and ...
1
vote
0answers
405 views

How do I make rsync also check ctime?

rsync detects files modification by comparing size and mtime. However, if for any reason, the mtime is unchanged, rsync won't detect the change, although it's possible to spot it by looking at the ...
1
vote
0answers
137 views

MySQL binlog rsync from tmpfs to HDD causes write slowdown on ramdisk

I have a mysql database server and am testing writing my binlogs to ramdisk to speed some things up. A curious thing happens.. fairly often, I get major job slowdown at the same time the rsync is ...
1
vote
0answers
73 views

Cross machine full backup solutions

I have a fully configured VPS where every service relevant to my customers and to me is provided in abstraction from the underlay hardware; that is: the softwares for webserver, PHP, forums, and every ...
1
vote
0answers
266 views

rsync server, uploaded files permissions incorrect

I'm trying to setup an rsync server on my Ubuntu machine. Transfer from a local PC to the server via rsync does work, but the resultant uploaded files have no r,w or x bits set, e.g. ---------- 1 ...
1
vote
0answers
1k views

rsyncd.conf exclude from configuration not working

I'm trying to use a text file to contain the excluded files for the rsyncd daemon. I followed the rsyncd.con manual and put: exclude from = /etc/rsync-exclude.txt But it seems not working. What ...
0
votes
0answers
36 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
0answers
26 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
0answers
21 views

Rsync help: upload files with changed ones renamed?

I hope someone can help me with rsync. I have a large directory with many (thousands) subdirectories, in which I sometimes mirror (individually download) files from a remote site to work on them ...
0
votes
0answers
29 views

Rsync backup to veracrypt-encrypted USB memory stick results in errors

I have created encrypted USB memory stick using Veracrypt for backup. First sync went ok, now trying to update it results in error. I'm using this command after mounting the volume: sudo rsync -...
0
votes
0answers
43 views

Preserving destination's permissions using Cygwin's rsync

I am using Cygwin with rsync to sync files from my windows 7 computer, to a CIFS share on a Freenas Server. The command I am using is: D:\Utility\Cygwin\bin\rsync.exe -rt --delete --verbose "/...
0
votes
0answers
20 views

Trying to clone one disk to another but one starts up with a parition and the other doesn't

I've got an Amazon EC2 m1.small that I am trying to migrate over to t2.small. I'm aware that because of the virtualization type being different on both types that there is no direct upgrade path. ...
0
votes
0answers
29 views

Copying preserving file and directory symlinks and symlink destinations

I have a directory with a bunch of files and symlinks in it, for example (not related to my actual hierarchy): src/usr/bin/ls -> src/usr/bin/busybox src/usr/bin/echo -> src/usr/bin/busybox src/...
0
votes
0answers
28 views

rsync create symlink if no referent

I use a directory which contains symlinks to different points (for backup). To make it easy, I have to add a symlink to my backup-directory and it's copied during backup process. This need of course ...
0
votes
0answers
55 views

How to find the bottleneck for slow rsync

I want to find the bottleneck for a slow rsync. I see these parts (on byte flow order): IO on source CPU on source Network CPU on destination IO on destination How can I debug this?
0
votes
0answers
86 views

Synchronize files to webserver by lsyncd

I have two webapp, old one is WS1 and the new version is WS2. Now I want to synchronize pictures/attachments from WS1 to WS2 to keep both running. I found some tools like lsyncd / unison / GlusterFS. ...
0
votes
0answers
64 views

CENTOS 6.5 x86_64 standard rsync filling cached ram while using nocache

What I'm doing: I have mounted a windows share on my server and every five minutes I move a 1.5GB file to it using this command: nocache -n 4 rsync -a -W --bwlimit=20000 /mnt/share /file/location ...
0
votes
0answers
69 views

Unison - Monitor and Sync Remote Directories

I have two OpenSuSE 13.2 servers. I want to sync two folders of the same name in the same location on each server. eg: /home/rocket/files/ I'd like to monitor this folder on each server for any ...
0
votes
0answers
148 views

Rsync from Ubuntu server to mounted NAS - Input/output error (5)

I am trying to rsync some backup files from a ubuntu server into a mounted NAS. All works well except for a big 13GB gz file which shows this error: rsync: close failed on "/mnt/backupnas/chbsl018/....
0
votes
0answers
18 views

Rsync daemon : prevent the access of all a subtree except one folder by the rsyncd.conf file?

I got a Linux server on RHEL and i need to synchronize some folders from locals machines on Windows(with cygwin) and on linux via a rsync daemon on the serv. The tree are not set identically on the ...
0
votes
0answers
89 views

Asynchronous file replication over WAN

I need to keep in sync the same directory on 2 linux servers in separate datacenters. The directory contains a lot of user data such as pictures, html, zip, pdf, doc etc. The data size is growing, ...