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

0
votes
1answer
7 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 ...
0
votes
1answer
7 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
46 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
22 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
14 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
73 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
562 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
48 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
59 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
39 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
94 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
17 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
938 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
61 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
35 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
45 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
40 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
42 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
27 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
43 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 ...
3
votes
1answer
24 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
63 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
35 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
84 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
44 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 ...
0
votes
1answer
26 views

handle multiple calls of rsync, dd and snapshot

The server runs the following operations often. It takes a snapshot of a logical volume, then backup up the content to the remote backup server. It is possible that multiple backups and transfer ...
4
votes
5answers
106 views

send files to dozens of servers quickly

We have a cluster of machines (around 50 and growing). Each machine has a search index that needs to be updated multiple times per day. We currently update the index on each machine individually, but ...
2
votes
2answers
168 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
0answers
623 views

rsync: getcwd(): No such file or directory (2)

I want to sync Server1 and Server2's logs to LogServer. For Server1: rsync -avz -e 'ssh -p 2188' user@server1:/usr/local/servers/logs/* /usr/local/logs/ This one works, but for Server2: rsync ...
0
votes
1answer
65 views

Temporarily disable SSH for all users except one and print a banner

I am planing to upgrade a server that have some SSH and rsync(over ssh) users. During this time that I am upgrading the server I don't want anyone else to login to the server. Is there a way for me ...
0
votes
2answers
219 views

rsync error Undefined symbol “locale_charset”

Rsync gives me this strange error when I am trying to sync. I think the error started after upgrading to Ubuntu 14.04. root@****:~# rsync -avvv --exclude-from '/root/rsync/exclude_nas' -e "ssh -i ...
0
votes
2answers
94 views

Distributing website files with local redundancy [closed]

So we're looking at migrating our single dedicated server (set up like shared web hosting) to an architecture with multiple load-balanced front-end servers plus separate database servers (due to ...
7
votes
3answers
470 views

Maximizing rsync performance and throughput - directly-connected gigabit servers

I have two Dell R515 servers running CentOS 6.5, with one of the broadcom NICs in each directly attached to the other. I use the direct link to push backups from the main server in the pair to the ...
1
vote
1answer
218 views

Incremental backup mongodb using rsync

I want to store small files (60 kb, couple of millions) into MongoDB, I was thinking using GridFS, but it seems BSON will do. Anyway, I want to make rsync to backup the mongodb chunk files, so ...
0
votes
1answer
83 views

Which is more efficient with rsync: rsh/ssh or modules?

Leaving out security concerns, which is the most bandwidth-efficient use of rsync for long-distance WAN transfers: rsh/ssh or modules? I understand that modules assume no encryption by default, but ...
0
votes
1answer
27 views

Rsync file permissions

I am building a script to copy files from a remote server. The problem is, the remote servers file permissions are pretty whack and I don't want to copy these over. The line in my script right now is ...
0
votes
3answers
69 views

Rsync from a local laptop to a VPS with correct ownerships

So I have this workflow which works but is clumsy" RSYNC to ultrapress.co rsync -azP --delete /Users/rocketadmin/Sites/vagrant-local/www/wordpress-default/wp-content/themes ...
1
vote
0answers
46 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 ...
0
votes
1answer
21 views

rSync only X file between Dev directory and Live site

I'm trying to sync web files from a Dev system to our live system, but I've tried two ways and it's just not doing what I want. Files that I don't want are being sent, etc. I've tried these two ways: ...
-3
votes
1answer
31 views

How to use remote laptop in RAID with ubuntu server? [closed]

I have a laptop A where I'm goint to install Ubuntu Server configuring it with 2 disks in RAID1. I have another laptop B in a different building ( with public and static IP ) with an external USB HDD. ...
1
vote
3answers
135 views

Backing up rsnapshot directory with rsync copies entires backup directory

I have a main backup server running rsnapshot, with ~2TB of backups stored on it. After the nightly backups, I copy the contents of the rsnapshot directory to an offsite server, using rsync -aH ...
3
votes
1answer
129 views

How to backup OS-specific files with rsync? (Mac OS X to Ubuntu Server)

I want to setup an automatic backup system using rsync to backup documents/source code from Mac OS X to Ubuntu Server. I have some documents written in Pages (iWork), and lastly when I tried to ...
1
vote
1answer
93 views

DegradedArray event after rsync but later mdadm and smartctl do not show any issue

I have in my cron rsync active and I started to get emails after each rsync This is an automatically generated mail message from mdadm running on titan707 A DegradedArray event had been detected on ...
0
votes
0answers
42 views

My crontab entry has been successfully running with rsync command, but sometimes it fails

my crontab entry has been successfully running with rsync commend, but some time it wrirte the error like "ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly ...
1
vote
1answer
91 views

backup files to a remote server with multiple versions using rsync hardlink option

To use rsync hard link option to backup files remotely so that remote backup server could keep multiple versions of the backups, both the link-dest directory and the target directory have to be on the ...
2
votes
1answer
43 views

How can i manipulate the find command to “find” the directories the “found” file is in?

So i'm trying to use the find command to find all files in my system with mtime -x. It does this but it does not "find" the directories of the file. find . -mtime -2 -exec rsync -av {} /destination/ ...
0
votes
0answers
53 views

Rsync to copy only files by date or changed files?

I'm using a freenas server for the office project files accessed by multiple users. I have an offsite backup for security purposes. Now I don't want to bring a 32 TB raid array to the office to sync ...
0
votes
2answers
225 views

rsync over vpn (not ssh)

I'd like to use rsync over openvpn to copy some files as root from one server to another, all on the same LAN (i.e., not over the Internet). Both servers are running Wheezy. I could do this over ...
1
vote
2answers
115 views

rsnapshot: WARNING: Some files and/or directories in / vanished during rsync operation

I once in a while get this message in my rsnapshot log, and an identical message in /var/log/messages. Unfortunately, there is no other deviation from normal output, despite loglevel 5 in ...
2
votes
0answers
37 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 ...