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
2answers
35 views

Is there a simple way to automatically send through scp any file modified in a folder to a remote folder? (one-way synchronization) [on hold]

Put it simply: I have a folder full of files and subfolders with more files. I would like to have a mirror of that folder in a remote server so anytime a file is modified on my machine it gets ...
1
vote
0answers
11 views

Syncing rsnapshot backup drives

I have a pair of USB drives I use for backing up to via rsnapshot. One drive is left plugged in and the other is taken off site. For the first swap, I ran "rsync -aH" to copy all the contents from ...
0
votes
0answers
31 views

rsync hanging on local copy

I've inherited a system for moving ("promoting") content from one django instance (staging) to another (production). I'm testing a bit of new functionality in another part of the app, and want to make ...
4
votes
1answer
35 views

Preserving existing destination symlinks with rsync

I am using rsync to keep a local debian repository updated. Recently, the disk I am using to store it started running low on space, so I decided to use symlinks to allow me to move some of the ...
0
votes
2answers
61 views

Is rsync more robust than scp for connection reset?

On a big corporate firewall-ridden network, we have traditionally used scp to copy a few brand new files over from one machine to another, as part of the log-file rotation and analysis routine. ...
1
vote
1answer
16 views

Why rsync still tries to copy and complains not enough space?

I am using rsync to copy one big file (> 4 GB) from hard disk to usb drive with "-av --progress" option. Before that, the file already exists on the usb and is the same as the one on disk. So ...
0
votes
1answer
38 views

rsync fails - No space left on device (28)

I want to backup ~5 GB of photos from one server to another. Rsync downloads about 80% of all files and then synchronization fails: rsync: write failed on "/var/www/sync/3655467597474553464543.jpg": ...
5
votes
1answer
105 views

Rsync + public key authentication security

I have read several articles how to automatically backup files with Rsync and public key authentication. All of them are very similar. I just finished setting up everything and everything works fine ...
0
votes
1answer
19 views

Rsync exclude wildcard files from the filter file

I have noticed that rsync have --exclude=PATTERN exclude files matching PATTERN --exclude-from=FILE read exclude patterns from FILE switches, but couldn't I just exclude files ...
0
votes
2answers
29 views

Prevent Rsync and SCP from causing page timeouts on LAMP server

I'm trying to run Rsync to move static files from our Dedicated server to our new cloud server. The following command works but when it runs it is stopping any web pages being served rsync -azP ...
1
vote
2answers
21 views

rsync link-destination remote server

I have a folder on a local machine and want to rsync to a folder on a remote machine. I would like to evaluate the copy against a folder on the remote machine --link-dest. The target directory will ...
-1
votes
1answer
59 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 ...
1
vote
1answer
44 views

Trying to install rSync 3.x on debian 4 etch

Whenver i use the official debian source link, and run the apt-get install rsync Debian automatically install me the rsync version 2.6.9. I can confirm with the following command : rsync ...
0
votes
0answers
119 views

What is the best way to backup and restore a CentOS 7 server, using rsnapshot?

I recently made a backup of a CentOS 7 server using rsnapshot - version 1.3.1 and rsync -version 3.0.9 I made a few changes to the rsnapshot.conf file, which are listed below. I uncommented the ...
0
votes
0answers
14 views

Sync over a million files via rsync, mostly already existing: Speed up transfer? [migrated]

Although this is an on-a-Mac-process, rsync is a universal command and I think you guys can better answer this than the 'MacExchange' Okay, so I'm sort of moving my whole Time Machine Backup from a ...
0
votes
0answers
22 views

Remotly syncing NAS behind routers I don't have access to

We have several NAS (WD My Could Mirror) that travels to multiple cities and are fed locally with images, audio, video, etc. This content needs to be synced to our main office. I am trying to use ...
2
votes
2answers
89 views

RSync stalls after 32768 bytes

I have an issue which I am struggling to understand. I have a server which is hosted by a business parter on their network but my team is responsible for installing and configuring software to this ...
1
vote
1answer
53 views

rsync over ssh issue

I RTFMed rsync to the bone, but I just cannot figure out what I'm doing wrong here. I'm trying to sync two folders across SSH. Folders are identical save for one file, as you can see here: ...
1
vote
1answer
22 views

Do different rsnapshot retains use the same hard links?

Say I have a weekly and monthly backup configured in rsnapshot. Will the weekly backups create hard links to the same files created by a previous monthly backup (and vice versa)?
0
votes
2answers
113 views

Can I use rsync to create a list of only changed files?

I am using rsync in a bash script to keep files in sync between a few servers and a NAS. One issue I have run into is trying to generate a list of the files that have changed from the during the ...
0
votes
2answers
69 views

rsync IMAP SENT folders between 2 users

How can I handle this: We have a Email system based on DOVECOT IMAP, different users, different logins. I want to somehow rsync all sent folders of some users, so one user can check what another ...
-1
votes
1answer
67 views

rsync ESXI 5.5 out of memory in receive_sums [duplicate]

I statically compiled the latest rsync (3.1.1) & can successfully execute the command on my ESXI server. I am getting the following error from rsync however: ERROR: out of memory in receive_sums ...
0
votes
1answer
46 views

Leveraging rsync for a local copy between two slow drives, benefits without a daemon

I am confused by the benefits of rsync (3.1.1) if there is no daemon running remotely, e.g. copying from a drive mounted via SMB2 (via a VPN) to an external HDD (USB 2.0, sadly). Both connections are ...
0
votes
1answer
73 views

Synchronizing Files between Ubuntu and Windows Server

I have a Ubuntu Server 12.4 LTS with Samba Share and I would like to synchronize my all Folders in the shared folder to the Windows Server (Win2k8R2). So Far I have used Lucky Back up, Freesync and ...
0
votes
1answer
18 views

Rsync Exclude Remote

I try to synchronize content back to a remote server with the difference that server has a new /home/virtual folder what I don't want to touch: rsync -avz --numeric-ids --fake-super --delete ...
-1
votes
2answers
71 views

chown during rsync from windows to unix

rsync: --groupmap=*:www-data: unknown option I am trying to add an option to my rsync line to set the group of the files transfered to have www-data as their group. When i add the option i get ...
-1
votes
1answer
36 views

windows rsync from different local drive, other than c, to remote

rsync -avz D:/test me@my.server.com:/test I am using cwrsync on a windows7 box rsyncing to a linux box. Everything works fine when i am going from a relative path on drive C.. but i need to rsync ...
3
votes
2answers
121 views

BackupPC Taking over 72 hours to backup 250GB's

I am using BackupPC to backup some workstations at the office. One workstations in particular has a sizable amount of data when compared to the rest, however, it's not that large in general (talking ...
1
vote
1answer
62 views

How do I properly escape an rsync exclude pattern used in a bash script?

Script: #!/bin/bash site=$1 remote_host=$2 new_site=${3:-$1} cmd="rsync -rlpuvz -e ssh /www/$site/ $remote_host:/www/$new_site --force --delete --exclude=\"site/web_sitemap_*.xml.gz\"" echo $cmd ...
1
vote
0answers
73 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 ...
2
votes
3answers
128 views

Should I use rsync compression over a gigabit LAN?

I normally use rsync's -z option to enable compression when transferring files over the internet. However, if I am on my own (idle) gigabit LAN, do I still want compression? Or will it be faster ...
15
votes
2answers
795 views

Does Rsync Allow Files To Be Synced Both Ways?

I have backed up a linux web server using rsync with cygwin. I now have a perfect copy of the server on my windows laptop. If i delete or modify a file on my laptop and run rsync again with cygwin ...
1
vote
1answer
54 views

rsync not deleting Folders in destination

I know there are some questings with the same topic here but no answers helped me. First, this is my script. It should copy all files from the source to the destination (preserving all rights, etc). ...
0
votes
2answers
126 views

Backup Ubuntu server with cron/rsync: Problems with resuming large files

I currently have a dedicated Ubuntu backup server which wakes itself up from suspend (using rtcwake) daily. 5 minutes later a cron BASH job kicks in, using rsync to pull files from various network ...
1
vote
1answer
236 views

How to sync SVN repository with a remote FTP filesystem

I configured a Centos server locally(in-office) which contains a SVN repository with a project. Many developers are working on this repository and making changes. Also I have a remote server which ...
1
vote
4answers
117 views

rsync changing already existing files

I have a simple line of rsync in my crontab that gets backup files from the prod server to another. It looks like it is touching the already existing files in the destination folder. This way, the ...
1
vote
1answer
30 views

Will changed permissions trigger rsync to download again?

I'm running a large rsync job which has been running for hours and will run for a couple more. I need to change permissions on the downloaded files to access them from my web app but I'm worried it ...
7
votes
3answers
1k views

Why don't people just use rsync to back up vmware guests?

If I am running a modern vmware ESXi system, I can drop in a statically linked rsync binary and rsync files to any destination over SSH. I'm trying to understand why most (all ?) backup of vmware ...
3
votes
1answer
89 views

Can rsync display current average speed?

When I'm transferring large quantities of data using rsync, it would be helpful if I could have the average speed up until now at a glance, rather than a bunch of different speeds for each file.
0
votes
2answers
48 views

rsync last 3 days plus weekly backups

I have a shell script that i'll be running with a crontab. Basically I want to modify this so I can do daily backups for the last 3 days. I've seen examples where the last 7 days are backup. I just ...
0
votes
2answers
46 views

Apache logging - root user changes groups

I have an issue where I get the following error when trying to download apache logs: rsync: send_files failed to open "/var/log/apache2/log-filename": Permission denied (13) The command I'm running ...
0
votes
2answers
115 views

Is Rsync --link-dest Saving Space

I'm trying to use rsync and "--link-dest=" to create incremental copies of backups on a server (Debian Wheezy, LVM, RAID 1), with the goal of using hard links to save space. Unlike what may be the ...
2
votes
1answer
53 views

rsync from remote ssh server with forwarded keys

Context I am writing a synchronisation script to sync some web environments. Ex: Update integration from production (mostly to fetch new database rows and uploaded files) Some of my prerequisites ...
0
votes
1answer
42 views

copy files to remote server, maintain remote acls

Currently I am using rsync to copy files from local machine to remote. local does not have ACLs while remote does have ACLs. I would like the files that are rsynced across to maintain the ACL's that ...
1
vote
2answers
73 views

Rsync plugin to many local wordpress installs via script or cli

I am maintaining a large number of wordpress installs on a production server, and we are looking to deploy InfiniteWP for managing these installs. I am looking for a way to script the distribution of ...
4
votes
1answer
50 views

Cygwin rsyncd sends too many file names

I have rsyncd running as a Windows service, but when I try to access a module and sync from it, I get the files I want, as well as a lot that I do not — because they are not located in that module on ...
0
votes
3answers
227 views

bash rsync script in python works odd [closed]

I have this problem with bash in python. I want to make script that will make folder based on system date - and this works just fine. The problem is when I want to rsync two directories one with my ...
0
votes
1answer
42 views

set up passwordless rsync with Strato Hidrive

I want to set up a passwordless rsync with my strato hidrive. But I have 2 issues. First issue is that my id_rsa.pub already exists because of git. Is that an issue? Secondly I can't seem to run ...
4
votes
2answers
117 views

Copy directory tree without empty directories?

I have the following tree # upper letters = directory # lower letters = files A |-- B |-- C |-- D |-- e <= file |-- F |-- G I need to copy this tree to another destination, ...
-1
votes
1answer
69 views

RSYNC only listing files when run from bash script

I am trying to copy backup files of my companies mail server to our backup server via RSYNC. I use this same script for backing up our web hosting server backup files with no issues. When I type ...