5
votes
3answers
145 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 ...
0
votes
0answers
22 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 ...
-1
votes
0answers
16 views

rsync:How could I get the incremental files/dirs only in the result message?

I am not familiar to rsync, so could I get the incremental files/dirs only in the result message? I just get all files/dirs listed in the message, which are not changed at all. e.g., rsync -rvn ...
1
vote
1answer
49 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
1answer
48 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
66 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
1answer
35 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
64 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. ...
-2
votes
1answer
65 views

Rsync and ssh script

I really dont need ssh keys. The server has good security implemented. I need the script to input the password without user usage/interaction. How can I make this? Its CentOS release 6.5 (Final) ...
1
vote
1answer
150 views

Rsync command issues, owner and group permissions doesn´t change

I´m trying to set owner and group via rsync and it doesn't seem to be working. This is the command: sudo rsync -rlptDvz --owner=cmsseren --group=cmsseren /home/serena/public_html/ -e ssh ...
0
votes
1answer
32 views

File system for rsyncing to loop mounted file?

As a backup, I want to rsync a system partition to a loop mounted file (which is stored in Dropbox). The size of the partition is ca. 2GB and growing, and the backup is scheduled to happen once per ...
1
vote
1answer
76 views

Configure SElinux to allow rsync from a remote machine

I've set up a Debian machine with SElinux and except rsync from a remote machine everything works fine. I already created some module with additional rights using audit2allow, and now all errors in ...
2
votes
3answers
137 views

Should I use ec2 as a file server?

I need to be able to share user uploaded content across multiple EC2 application servers. I have looked at rsync, mounted NFS, and S3 as potential options of being able to share this data in almost ...
0
votes
0answers
30 views

rsync redownloads everything

I am having trouble understanding rsync. I need to make a backup over LAN of >1TB of files. Hoping that it's faster I decided to use the rsync deamon as a first step and then get all the missing ...
0
votes
1answer
64 views

rsync freebsd client, rsync linux server

Many hours to check this script but nothing of good... I've a linux rsync server and with linux client I use: rsync --password-file=/usr/home/user/.rsync.pass --log-file=/var/log/docs.log --progress ...
0
votes
3answers
288 views

Sync directory across two servers using rsync (or alternative for syncing directories)

I have two VMs that should have identical files in this directory: /var/www/owncloud/data/admin/files/ I initially thought that I could use rsync with cron to copy the files every two minutes: On ...
-1
votes
1answer
51 views

Rsync backup - detect new directory and backup only from that directory

New cpanel daily backup is creating separate directories for daily backup. This creates problem when I try to user rsync to do an offsite backup since I would like to rsync only latest data. E.g. On ...
0
votes
2answers
142 views

why rsync is not working with crontab?

when I run the following manually it runs perfectly: /usr/bin/rsync -arvth -e "ssh -i /watch/scripts/word.pem" 1.1.1.1:/opt/ /opt when it runs using crontab. I get: Permission denied ...
0
votes
6answers
165 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 ...
0
votes
0answers
54 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
1answer
196 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 ...
0
votes
0answers
36 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
70 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
161 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 ...
2
votes
1answer
87 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 ...
1
vote
3answers
75 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 ...
2
votes
3answers
360 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
66 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 ...
1
vote
1answer
89 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 ...
1
vote
1answer
210 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 ...
3
votes
1answer
125 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
170 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
171 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 ...
0
votes
1answer
121 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 ...
0
votes
0answers
48 views

How can you do dynamic, key-based SSH similar to GitHub?

I wan't to provide SSH/RSYNC like features to users of my app. I'd like them to just be able to paste/save an SSH key into my app similar to how GitHub does: So, my question is, once I let users ...
0
votes
1answer
74 views

FreeNAS - how to “Exclude from file” in Rsyncd (GUI)

I am trying to set rsync tasks to Pull user profiles from 11 Windows machines running DeltaCopy Server and then configure ZFS periodic snapshot tasks for a backup solution. So far this has been ...
0
votes
2answers
66 views

What is your approach on sync two linux server in AWS

I have the following: Linux Apache Server A = /var/www/webroot Linux Apache Server B = /var/www/webroot How do you sync the two webroot Server A -> Server B in just one direction? If you are using ...
1
vote
1answer
116 views

Controlling rsync bandwidth usage by percentage of available bandwidth, in userspace?

I often use rsync on a OSX-based laptop to synchronise some files from it to a Linux server. The laptop can be connected to different networks with greatly varying bandwidths (office ethernet, wifi, ...
0
votes
1answer
52 views

Moving linux server to another hoster

I have a task to move linux server from 1 dedicated server to another. In general my plan following: night time - turn off httpd and mysql. RSYNC via SSH. day time - turn on http and mysql. night ...
0
votes
2answers
237 views

RSync files or Map Network Drive in Windows Server?

I have to create a backup plan, from my machine .155 to .156. In .155 my files are in C:/MySQLServer/backup and should be copied daily to .156 at I:/MySQLServer/backup, so I was looking over the ...
2
votes
1answer
72 views

Limited SSH access for log retrieval

I want to have limited access to a Linux server to be able to grab a certain set of logs. Ideally, I would like to be able to run rsync locally to grab the logs from the server and for security ...
0
votes
2answers
82 views

Using rsync to copy files from one server to another, pertaining users and permissions

I'm backing up user uploaded files from my primary server to my failover server using rsync. If I use rsync -a to mirror an /uploads directory from server A to server B, can I expect programs using ...
5
votes
3answers
1k views

compare 2 directories and copy differences in a 3rd directory

Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
0
votes
0answers
29 views

How to make rsync copy symlinks to files, but leave symlinks to dirs as links?

I'm doing some system maintainence work that requires things like this. Putting simply, I want symlinks to files to be replaced with the files they point to, but symlinks to dirs left as links. How ...
0
votes
1answer
126 views

Date variables within rsync filters?

I have an rsync script that syncs logs files from a remote server. The log files are always named YYYY-MM-DD-HH-MM-SS. At the moment, I have a filter in place to only get the current year's logs: ...
0
votes
1answer
55 views

Rsync a directory from a local server to a remote server without losing permissions

I need to transfer a directory from my local server to a remote server on the exact same place on the remote server. In the directory, there are a lot of different users involved and I want to ...
1
vote
1answer
112 views

Rsync Backup from XFS to ZFS

I currently have a backup solution in place that uses rsync to backup all out Linux servers from remote sites, to an XFS drive in our HQ. I am now trying to rsync the folder from the XFS drive in our ...
0
votes
1answer
86 views

Space requirements when running rsync

I have two partitions, /disk1 and /disk2, each with 100GB of space, and both of them are 45% full now. I want to rsync /disk1 to /disk2/backup/, is it safe to use rsync for this purpose? rsync -avc ...
2
votes
1answer
231 views

Using rsync to copy from HFS+ to HFS+ on Linux

I have a small linux server. I have data on several HFS+ drives that I'd like to consolidate to another HFS+ drive. The drives will be connected to the server via a USB HDD dock. I'm running Ubuntu ...
2
votes
2answers
253 views

rsync not deleting folders

I have a problem rsyncing my folders. In my home there is folder named "workspace". Recently I changed its content a lot, creating new directories, deleting old ones. New folders were successfully ...