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
6answers
219 views

Load balancing with rsync

i have 2 server with public ip: SERVER A - 10.10.10.11 SERVER B - 10.10.10.12 both of them are centos 6 in OS, installed nginx with php-fpm, 2 exact same website stored at: /var/www/html. Domain ...
1
vote
0answers
116 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 ...
0
votes
0answers
74 views

How to config rsync on ubuntu so I can deploy my octopress site to the server

I am getting "Permission denied, please try again." when I am deploying to the server. I have created the rsyncd.pass and enter user:password in it. and chmod 755 /home/rsync. I can't find any ...
-4
votes
3answers
671 views

rsync over ssh to esxi

I try to backup esxi via rsync over ssh. I run rsyc but I get error: # rsync -e ssh -av root@ip.esxi:file.txt . sh: rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) ...
0
votes
0answers
21 views

Website is asking for authentication to access uploaded files?

I'm uploading files via Syncrify (Rsyn for Windows), then using a symbolic link to put the files into a folder that is within the folder for the website in IIS. I've given permissions to the folder ...
0
votes
2answers
167 views

What is the best way to transfer large amount of small files from 1 Windows Server to another over the internet? [closed]

I'm trying to one way sync around 100,000 small files for a total of 2GB from a server located in my office to a web server. I'm using Syncrify with some success but the scheduling feature does not ...
1
vote
2answers
468 views

mounting windows shares on linux while keeping windows permissions

I have a windows share on a windows2003 server (WINJOE) which I want to back up to a Linux machine (LINUXJOE) that is properly joined to the domain. My goal is to backup shared folders of WINJOE to ...
2
votes
1answer
610 views

Can't get rsync over sftp to work

I'm trying to set up a backup system from an Ubuntu server to a Synology NAS (DS413j) using rsync and sftp. I have created a user for this that we can call ubuntu-backup. I have a directory in ...
5
votes
1answer
557 views

Why does rsync spawn multiple processes for me?

I am using the following cron statement to backup from one folder to another folder in the same machine: 19 21 * * * root rsync -ac --delete /source/folder /dest/folder When I use pstree, I see ...
-1
votes
1answer
190 views

Run totally silent rsync?

I have a cronjob that runs hourly, and is totally silent unless something goes wrong. Well ... almost ... A part of the job is rsync --del -Cacqrz public/. user@host.example.com:/target/path This ...
0
votes
1answer
133 views

Is there a way to synchronize my distributed storage infrastructure with file changes possible on each location? [closed]

I need a storage device in 3 different location. Each device will have 4TB of storage. At least 2TB should be a 'shared folder' working like Dropbox: when a user change a file in one location, the ...
0
votes
2answers
81 views

Rsync for generating daily backups, with some sort of history

this is probably expanding on Using Rsync to backup to an external drive I usually, manually, back up my data to an external drive. I start by creating a directory on the external drive with today's ...
0
votes
3answers
112 views

How to use `rsync` to securely push to a mirror?

I am using rsync --rsh "ssh" to push to a mirror. Setting the necessary file system permissions on the mirror requires rsync to run with root privileges on the mirror. However, the mirrored files ...
1
vote
1answer
82 views

Rsync - Recursively Include Few of Many Folders in One Statement

For the sake of this post, lets assume I have a folder called "misc" that has 100 sub-folder named 001 to 100. Each folder has many sub-folders and files. I want to write one rsync command that ...
0
votes
0answers
19 views

Rsync backuping and auditd binary logs

We have a process of backuping all paritions of servers to a secondary drive in case of a need to restore system to a know-good state. This is done through canns to rsync mirorring partitions with ...
0
votes
1answer
194 views

Copy Files/Folders on Windows Volumes Created from Mac

We are trying to migrate storage from one volume to another, and we are running into problems with folders and files created from Mac OSX. The current file storage is on windows, and unfortunately ...
0
votes
0answers
72 views

rsyncd post-xfer exec command as daemon

I would like to use rsyncd server to launch a daemon as post-xfer exec command after the synchronization: The problem is that even if the daemon is correctly launched, rsync is still hanging, and ...
0
votes
1answer
110 views

How Can I Automate Windows Rsync to Linux NAS?

Here's the scenario: (2) Windows servers in an office Server 1. Application Server Server 2. Backup Server, PDC, DNS (5) Laptops that backup to the backup server The Backup server has Symantec ...
0
votes
1answer
474 views

How to rsync files / folders from a specific date forward?

I would like to rsync folders from a specific date and forward. for example. I want to rsync my folders that were created from 3 days ago (and of course 2 days ago, one day ago etc.). I know I need to ...
0
votes
0answers
119 views

s3fs rsync ftruncate failed on Input/output error

I'm running CentOS 6.4 and we're running s3fs version 1.73 and fuse 2.9.3. When trying to run an rsync between a local directory and the s3fs mounted directory I get an input/output error and ...
2
votes
1answer
107 views

Is it safe to rsync the same source to the same destination in parallel

My application use rsync to copy files from network driver to local as cache to improve performance. But since my application might be run in parallel, so as the rsync, and there could be a case that ...
0
votes
2answers
677 views

Rsync transfer via SSH is very slow

I am making a remote backup of my website. Whole catalog is about 70GB with about 5,000,000 of files total. Here is the command that I run on my backup server: rsync -ah -e ssh --delete ...
2
votes
3answers
131 views

Rsync-like file transfer with no rsyncd or sshd on remote end

I need to transfer and then update a directory structure from a linux host in my network to another linux host in a customer network. My only access to the customer network is through a Citrix ...
0
votes
0answers
777 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
66 views

Detect running rsync session

I have a remote system, over which I don't have any control, uploading a lot of files over rsync/ssh from time to time. After that I need to process the files. But I can't touch incomplete copy. How ...
0
votes
1answer
54 views

Rsync filter and ignore some directories

I'd like to rsync a directory that contains a Python 3 app on my server. The directory has files I'm interested in: the files that end with .py And there are the files I'd like to be ignored (these ...
2
votes
3answers
696 views

Rsync over SSH getting no tty present

I'm using the following command in root's crontab on Debian. rsync -vqrlHEAXogDtzhi --log-file=${LOG} --progress --rsync-path="sudo /usr/bin/rsync" --exclude-from=$CONFIG_DIR/excludes -e "ssh -i ...
0
votes
2answers
114 views

How to run rsync without staying logged in?

I want to run the following rsync command to transfer a folder from a remote server to my current one sudo -r -a -v -e 'ssh -p portnum' username@serverip:/home/path/* /home/path this directory is ...
0
votes
1answer
76 views

Rsyncable Snappy?

I have some massive Cassandra clusters that I'm maintaining on EC2. Backups offsite take a long time as the snapshots have to be tar-ed and gzip-ed and pushed over the network from the EC2 instance ...
0
votes
1answer
34 views

rsync secure configuration running as daemon

The uid is set to nobody (which should be default anyway), chroot and read only are both enabled. The rsync service is being started over /etc/init.d/rsync. This is the full rsrync.conf: motd file = ...
0
votes
2answers
86 views

rsync in daemon mode: preserve absolute directory structure

I am trying to backup some folders with rsync launched on daemon mode. Basically the client launch this command: rsync --delete -avz -R -e "ssh -i ${KEY}" ${SERVER}::${MODULE} {DST_DIR} the ...
2
votes
3answers
127 views

rsync pull disregards my umask, why?

My umask is 0002. So when I rsync -r me@remote:new ., why aren't the results group-writable? drwxrwsr-x 10 root developers 4096 Aug 22 12:55 . drwxrwsr-x 12 root developers 4096 Jul 14 ...
1
vote
2answers
661 views

Reconstructing cyrus mailboxes with sub-folders

I have a mail server which runs Cyrus-imapd and postfix. I have another server which is to be the backup mail server. I have rsynced one mailbox from the primary server to the backup server to test. ...
1
vote
1answer
72 views

Some files are not transferred by using rsync between 2 servers

I used rsync with -av parameter to migrate a website from one server to another. there was no error displayed but the size of the folders are not the same and the website does not work correctly. so ...
1
vote
2answers
92 views

Selectively synchronize files to multiple servers

I'm administering a medium sized AIX landscape. We have, probably... 40 systems. We are currently using AIX 6.1 which has a command called cfmupdatenode. What this program does is lets you define a ...
1
vote
1answer
123 views

Rsync not working with one server while it does with others using strato hidrive

On a CentOS 6.4 running linux server, I am trying to rsync a folder with strato hidrive (http://www.strato-hosting.co.uk/online-storage-hidrive/advanced/). The server is running rsync version 3.0.9. ...
3
votes
1answer
347 views

Linux server sync to an Amazon S3 bucket

I am looking for a stable solution to replace a classic server backup to another server using rsync. I have to sync a whole filesystem (more than 1Tb) to Amazon S3. Where am I? Solution 1: I mapped ...
4
votes
2answers
2k views

Rsync creates a directory with the same name inside of destination directory

When I run this command rsync -avzp --del -e "ssh -p myport" user@hostname:/var/www/tests /var/www/tests files get synchronized but instead of saving files in /var/www/tests, Rsync creates one more ...
8
votes
1answer
245 views

How to cleanup after failed rsync?

I killed a local "rsync -ah" process. It left junk files like ".abc.vmdk.zxivMN" in the target directory. The junk files do not get deleted on consecutive "rsync -ah" runs. Details: I ran diff on ...
0
votes
0answers
169 views

rsync with wildcard - no such file or directory

I am using below command to sync all suexec.log files including compressed one from one server to another. However, it gives me error message below. rsync -avz --delete "/path/to/suexec.log*" ...
0
votes
2answers
79 views

RSync on Windows including only certain folders

We use rsync to transfer IIS logfiles from our web servers to our analytic server. There are many folders which are currently all being transferred and we now only need certain folders to be ...
3
votes
1answer
334 views

rsync connection closing right around an hour

I am running some command in cron that does an rsync over two data centers. The connection rate between the data centers is around 1Mbps. I noticed that rsync keeps failing around 2.7GB to 2.9GB of ...
2
votes
1answer
316 views

Can I make rsync output summary only?

Because I use rsync to backup a directory which is very big, containing many sub-dirs and files, so I dont want to see the "incremental file list", I want to know the summary in the end only. but if I ...
0
votes
2answers
102 views

Why doesn't rsync over ssh work when placed inside a FOR loop in a batch file?

I've placed the ff. code in rsync.bat: for %%A in (%VAR_REMOTE_HOST%) do ( set VAR_TARGET=%USER%@%%A:%VAR_TARGET_DIR% echo Rsync Source Dir: %VAR_SOURCE% setlocal ENABLEDELAYEDEXPANSION echo ...
1
vote
1answer
293 views

Restore file permissions after rsync on ntfs

When messing around with partitions under Windows when I tried to format empty space of the hard drive to have it in Windows, I messed something up and cfdisk told me that all the partitions did not ...
0
votes
1answer
142 views

BackupPC and rsync, disabling checks on date modified with --size-only not working for Lotus Domino mail archives

We have a BackupPC server that is supposed to be backing up a Lotus Domino 9 server, both on Ubuntu 12.04 64-bit with rsync 3.0.9. Our Domino server is set to archive e-mail messages that are older ...
3
votes
1answer
212 views

rsync copying entire files instead of difference

I have 2 remote folder containing few files. I am using rsync to sync the 2. The thing is that on the first server files are strictly just APPENDED with new data every day. When I call rsync it seems ...
2
votes
1answer
337 views

ssh connection operation timed out using rsync

I use rsync to backup my remote server on my local device but when I combine it with a cron job my ssh times out. Just to be clear, the data is stored on a remote server and I want it stored on my ...
3
votes
1answer
218 views

Linux bidirectional file sync over a WAN with immediate/incremental syncing

Does anyone know of a solution that lets you sync files bidirectionally over a WAN, but also syncs immediately/incrementally? Basically Unison is perfect for the file syncing, but it doesn't sync ...
1
vote
1answer
174 views

Cloning OpenVZ container

I have an OpenVZ container on 1 host and I would like to clone it over to my server. both run SolusVM. I only have root access to my server and would like to host the container on my server now. Can ...