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

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
122 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
52 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
47 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
181 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
58 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
47 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
78 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
62 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
284 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
45 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 ...
5
votes
2answers
165 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
90 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
38 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
117 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
274 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
2k 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
89 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
337 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
115 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
1k 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
398 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
279 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
243 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
122 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
60 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
23 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
32 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
351 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
231 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
181 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
48 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
173 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
66 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
138 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
409 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
256 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
38 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 ...
0
votes
1answer
101 views

Can a user be excluded from /etc/profile.d scripts?

I am having a problem using Rsync/SSH with a specific user for Amanda backups on a server. rsync -e 'ssh -i /var/lib/amanda/.ssh/id_rsa_amdump' -az otherserver:/dir/to/copy /copy/dir I have noticed ...
1
vote
1answer
96 views

Transfer 40000+ files usnig rsync between two servers

I have a problem with transfer files between two Linux servers in the same network. On source server I have directory with 40055 small files, directory size is 34 GB. I tried to transfer those files ...
0
votes
2answers
128 views

Graceful way to rsync millions of files between two local folders

I want to rsync a folder with millions of files from a local directory to another, on a daily basis. The files themselves change very rarely. I want to reduce the impact on the running server, e.g. ...
5
votes
3answers
2k views

rsync 'cannot delete non-empty directory' errors, even with --force option

When running this command: $ sudo rsync -r --delete --force --checksum --exclude=uploads /data/prep/* /data/app/ I'm getting the following output: cannot delete non-empty directory: ...
0
votes
1answer
60 views

rsync works one way but not the other

I have a problem with using rsync. When I try to copy a remote file I get the following error: [home ~]$ rsync test.txt qnx: sh: rsync: cannot execute - No such file or directory rsync: connection ...
0
votes
1answer
84 views

rsync doesnt copy all files and folders

I have been scratching my head about this issue now for a few days and some serious googling hasn't uncovered the solution. Basically I am making a full copy of my server, in order to migrate hosts. ...
0
votes
3answers
325 views

Cant understand Rsync errors using ssh

I want to tryout Rsync for the first time but have run into difficulty. I want to transfer files from a remote server to my local server. I login to my local server and type: sudo rsync -avz ssh ...
4
votes
2answers
2k views

How to fix corrupt packet error for with rsync for (relatively) large files?

Trying to update files on a server, with the rsync command: rsync -ravq -e "ssh -o ConnectTimeout=2 -o ServerAliveInterval=2 -ServerAliveCountMax=2" --delete ./local_dir user@$SERVER:/dest_dir ...
1
vote
1answer
145 views

How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) to send log files from several servers to a central server?

Summary How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) and scheduler (cron) to send log files from several servers to a central server? Context Our ...
-1
votes
1answer
734 views

rsync permission fail cannot open directory

i encounter a problem when troubleshooting rsync server and client. rsync: opendir "/." (in pub) failed: Permission denied (13) drwxr-xr-x 4096 2014/01/27 12:02:24 . rsync error: some ...
1
vote
2answers
83 views

How to let rsnapshot continue after backup error?

I have implemented a multi-server backup system, which is working quite effectively. I have a backup server with a large disk-array, and every night it runs rsnapshot to backup relevant data on all ...
0
votes
1answer
62 views

rsync, dd and then add to RAID 1, could cause database corrupted?

Firstly I have a HDD which has been setup as RAID, type Volume, not RAID 0 or RAID 1 ... and I wanna add one more HDD to setup a RAID 1 array. These bellow steps are what I've done. Detach from ...