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

1
vote
1answer
15 views

Rsync fails to set the proper uids

I try to rsync a folder from server A to server B: rsync -aAXSHPr --numeric-ids --fake-super --delete --delete-after --delete-excluded -e "ssh -i key" root@1.2.3.4:/home/vmail/ /home/vmail/ rsync ...
0
votes
0answers
6 views

Why isn't ownership preserved with “rsync -a” on my Mac? [migrated]

I am copying files from an internal disk to an external one attached by USB (both are formatted as Mac OS Extended (Journaled)): root# rsync -avi /Volumes/int_hd/ /Volumes/ext_hd/ All directories ...
0
votes
0answers
12 views

Solaris run rsync after logadm

I'm trying to get this logadm configuration running. '/dir1/*/*/alert*.log' -C 8 -c -s 10m -t '$file_%Y-%m-%d' -z 0 -a '/usr/bin/rsync -qp /dir1/*/*/alert*.gz ...
0
votes
2answers
20 views

unison or Rsync for session files

In my cheap config I am using 2x app servers and 1x DB server. My question now is what I should use in order to sync session files between the servers for my php app? Is unison or Rsync good here, ...
0
votes
0answers
10 views

Can rsync be made to write to the target of a symlink on the destination?

If I'm rsyncing a directory, like this on the source: foo/ (real dir) bar (real file) and on the destination, bar is actually a symlink to <some other file>, like: foo/ (real dir) bar ...
-1
votes
0answers
65 views

Sync files between two web servers

How can we sync files between two web servers? First web server is primary and second is used for failover. We need to sync (rsync?) from primary to secondary. If we primary fails and come back ...
0
votes
1answer
38 views

How to rsync to remote machine with user1 for ssh and user2 as remote rsyncer?

UPDATE: it seems I have to use rsync modules. So I created a very simple rsyncd.conf in the home of user2 on the remote server with: [test] path = /dest It does not work, but the problem seems ...
0
votes
1answer
26 views

bash rsync is Killed by signal 2

Problem: I am trying to prevent the user to cancel the script by using ctrl + c. The following script executes completely, except rsync that insists on dying, displaying the error "Killed by signal ...
0
votes
2answers
42 views

rsync - How can I exclude from all instances of a file while using relative paths for each file?

I am coding a deployment script that uses rsync to sync cloned repository files with a website target directory. I am trying to allow my users the ability to place a .exclude file anywhere in their ...
0
votes
3answers
54 views

Multiple servers Rsync into one NAS simultaneaus

Scenario: 1 NAS at our main office (Synology Cubestation CS407) 20 remote servers in various physical retail stores (1 server per store) Network between HQ and stores are in an MPLS/VPN. I have ...
1
vote
0answers
56 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 ...
0
votes
0answers
13 views

prevent rsyslog to duplicate logs

my rsyslog writes on secure and on messages i have this *.info;mail.none;authpriv.none;cron.none /var/log/messages authpriv.* ...
-1
votes
0answers
29 views

rsync error: syntax or usage error

I'm trying to back up two root directories: /data and /files. This command line works as planned: rsync -Rv \`find /files/ -type f -newer /data/utilities/RecentBackupDate.txt\` /backup/ For the ...
-1
votes
1answer
25 views

Rsync, logging the names of files sent

I'm sending files using rsync from server A to B. Server B has limited storage, so once the files are sent, they are copied and deleted. So using rsync's --ignore-existing won't work in this case. I ...
0
votes
2answers
57 views

rsync --update --> warn if local file is newer

We use rsync --update to update files from a server to a laptop. The files on the laptop should not be modified. But the laptop gets used by several people, so a newcomer might think he can change ...
0
votes
0answers
10 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? ...
1
vote
4answers
44 views

test when directories are in sync using rsync

Is there any way to know from a bash script when a rsync command does not download anything (aka the folder is in sync)?, I've tried using the exit code, but is only different when an error happens. ...
1
vote
0answers
16 views

Backup with local manifest [duplicate]

I use rsync to backup files to a remote server in a UNIX environment. As my local machine is the only one with write access to the backup files, I know the status of the backup files on the remote ...
0
votes
0answers
25 views

Limit Rsync bandwidth usage within Galera Replication

I would like to know, how can I limit the bandwidth usage of rsync within my MariaDB Galera Replication to avoid network choking. P.S. I can't find the rsyncd.conf in my Ubuntu 14.04. Is there any ...
1
vote
1answer
91 views

Dropbear equivalent to rsync with ssh proxy command

I am trying to guess the dropbear equivalent to this regular rsync command (using ssh with a proxy) rsync -avz --delete -e "ssh -o 'ProxyCommand ssh user@proxyhost exec nc %h %p 2>/dev/null'" ...
2
votes
1answer
39 views

How to capture Rsync temp files? [closed]

I want to use Rsync to do incremental backup, and my aim is to store the latest change separately. I found Rsync has a temp file path to store the change, but it automatically delete the temp file ...
1
vote
2answers
123 views

Copy files from guest to host the first time with rsync using Vagrant

When doing vagrant up a "shell" provision download some files into the synced folder. Those files should be also copied to the host machine synced folder, so that the project would be available from ...
1
vote
2answers
38 views

Bash script rsync --include-from fail

I have writted a bash script to backup folders and files from a machine to our backup server. My goal is to exclude all the files older than 6 months from this weekly backup. To do that, I used a find ...
1
vote
1answer
39 views

Rsync over ssh folder depth limit?

i'm working on a server migration and run into the following problem: I'm running rsync to migrate all the data but for some reason there is a folder depth limit... This is done via rsync over ssh ...
0
votes
0answers
30 views

rsync: --compare-dest on remote folder

I have: DirA (local folder) (/data/*) DirB (local diff folder) (/tmp/diff) DirC (remote folder) user@XX.XX.XX.XX:/data/ DirA is always the most up to date. I rsync from DirA to DirC, but now ...
0
votes
1answer
44 views

Remote Ubuntu Server Back-up

I want to move all my data(incl. software and settings) from one VPS to another. I'm currently using a remote Ubuntu server. How can I make a full system image back-up and restore it in a new Ubuntu ...
0
votes
1answer
56 views

Ubuntu 12.04 LUKS/dmcrypt disk to disk copy freezes

I have 2 external USB hard drives encrypted with LUKS in Ubuntu 12.04. Generally, the both drives are very slow with LUKS/dmcrypt, e.g. 7 MB/s for both read/write, but I could live with this. ...
0
votes
1answer
13 views

rsync: syncing source folders with deletion, leave existing destination folders alone

I am dealing with the following folder structures on both ends of the rsync: Source Controllers Plugins - Plugin1 - Plugin2 - Plugin3 Models Destination Controllers Plugins - Plugin4 - Plugin5 - ...
2
votes
1answer
71 views

Cobbler import failing

I've been playing with Cobbler lately (on a CentOS 7 distrib), and I've gone through an error while importing a CentOS 7 iso. I've been able to find a work around to the problem, and I thought it'd be ...
0
votes
0answers
14 views

rsync copy > server unreacheable

I'm using rsync to copy around 500GB of data (Nexus repositories). The idea is to run it every hour to backup the "delta" and in case of issues we can easily switch the disks. Now, for two days in a ...
0
votes
0answers
16 views

Permissions for copying files between datacenter machines?

I frequently run experiments in EC2 where e.g. I will check out a VM similar to our database and will want to load the production dataset into it for experimentation. I have to copy the dataset onto ...
0
votes
1answer
18 views

Exception reporting with rsync backups?

I run rsync in the cron every 4 hours. This works well for backups, but it generates six messages a day to root for each successful backup. I know I can put the output to /dev/null not to get any ...
0
votes
1answer
165 views

Why is FileZilla SFTP file transfer max capped at 1.3MiB/sec instead of saturating available bandwidth? rsync and WinSCP are even slower

I'm downloading from a server and downloads are maxing out at 1.3MiB/second with FileZilla but I can start concurrent downloads and they will download at 1.3MiB/second also. So why can't I download ...
0
votes
1answer
56 views

rsync with --backup

I'm trying to rsync a single directory of files and store timestamped revisions at the destination. This is what I'm using at the moment: rsync --verbose --progress --stats --compress --no-whole-file ...
-2
votes
2answers
98 views

How to make rsync delete destination directories no longer existing at source? [closed]

I have hard drive that I back up with rsync to a network-attached storage. There are some non-empty directories at the destination (the nas) that do not exist on the source anymore. It is not a ...
1
vote
1answer
62 views

What rsync options to use for the below mentioned scenario?

Greetings !!! This is regarding a specific requirement about rsync that we are trying to achieve. We have tried to achieve this by using various rsync options. However, we are encountering different ...
0
votes
0answers
34 views

backing up millions of files and 1 tb [duplicate]

I'm trying to find a fast solution that can transfer about 3 million files taking up about 1tb of space. So far after a bit of research my choices seem to be lftp and rsync. Which option would work ...
0
votes
1answer
31 views

Maintaining rsync log file

I have a cron running rsync for backup purposes, and rsync logs the output to a file via --log-file. This script will keep on running for a quite long time and I am worried that the log file will keep ...
0
votes
3answers
182 views

rsync : write failed - No space left on device (28)

I want to rsync a folder from one server to another. But rsync synchronization fails: $ rsync -zr --compress-level=9 --delete /var/www/mywebsite/current/web/js login@192.168.1.4:/srv/data2_http ...
1
vote
1answer
165 views

sync millions of files with rsync and inotify

I just think of one scenario when using rsync and inotify to sync millions of files. Assume I have 1 million files to sync to another server and the file list may has 20M size. When I just add one ...
0
votes
1answer
53 views

rsync snapshots backup when process is running [closed]

I have a directory which I wish to backup. However, a process is constantly writing to files in that directory and I cannot shut down this process, do the backup and restart the process. The backup ...
0
votes
0answers
34 views

Pulling Read restricted files from a remote system with rsync and sudo

A remote system generates statistics files every 5 minutes and places them in a certain directory. At any given time there are 1000+ files in that directory. Every 5 minutes I want to copy the ...
0
votes
1answer
28 views

Freshly cloned mirrored drive with Acronis true image and rsync wrongly detects changed files, windows rsync 3.0.7 cygwin windows

Is there a way to help rsync better detect that files are identical? I did a fresh full disk "clone" mirror with Acronis TrueImage and after did an rsync to test and it detected a bunch of files as ...
1
vote
0answers
42 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
1answer
37 views

Using Unison / rsync over SSH to synchronize sites where full file system access is required yet root login is disabled

Assume two sites A and B with file server at either end. The contents of /storage should be synchronized between the sites, preserving ownership and permissions. There's no all encompassing group that ...
-1
votes
1answer
29 views

Pushing file to server more efficiently [closed]

I have a cluster of daemon running on Mac that generate a lot of jpg in a folder like this content/categoryname. The category name is considered as unique across multiple machine. So what is the ...
1
vote
1answer
65 views

Can rsync ignore a directory's atime entry when creating it's file list?

I am using rsync to copy data from a local LVM drive to a locally-mounted glusterfs mount. I'm trying to bring them in to sync and eventually cut over to just using the glusterfs mount. Here is the ...
1
vote
3answers
25 views

rsync for backup but don't want to wipe ( not erase ) drive

I am not sure how to even ask this question without explaining. Say I use rsync to backup drive-a to drive-b. Drive-a fails and all data is lost when the rsync went off it saw that drive-a had been ...
2
votes
0answers
119 views

Fastest ways to do backups: FTP, rsync, Robocopy, SMB/CIFS, etc? [closed]

Im looking for methods to do (incremental) backups and sync from and to NAS over LAN and VPN. Im having trouble finding couple implementations between Linux and Windows. My Linux NAS boxes have ...
1
vote
0answers
43 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 ...