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
0answers
8 views

Distributing website files with local redundancy

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 ...
5
votes
2answers
124 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
24 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
24 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
13 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
1answer
31 views

rsync like backup with multiple harddisks [closed]

I want to backup a NAS (6TB) on USB disks with a rsync like mechanism. I think rsync doesn´t support a backup to multiple disks. Are the any similar backup mechanisms that support multiple disks as ...
0
votes
3answers
45 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 ...
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 ...
0
votes
1answer
13 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
23 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. ...
0
votes
2answers
39 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
54 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
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
0answers
25 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
45 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
29 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
18 views

Rsync to copy only files by date or changed files?

I'm using a freenas server for the office project files accessed by mutliple 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
74 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
1answer
42 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
20 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
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
2answers
80 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. ...
1
vote
2answers
179 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
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. ...
0
votes
3answers
57 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
94 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
74 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
57 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
35 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
33 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 ...
0
votes
0answers
29 views

Ubuntu backup script kills performance

I run a nightly backup, which takes about 1 hour. During that the performance is bad as hell. It looks pretty much like this: # DB dump ionice -c 3 nice -n 20 mysqldump --skip-lock-tables --user=foo ...
3
votes
2answers
100 views

rsync over active ssh connection

Trying to script as clean as possible, I wonder if there is some solution for the following situation: One Linux server running sshd and one android device, with dropbear ssh client and rsync ...
-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
0answers
245 views

Synology NAS - rsync messing up versioning / deduplication

Is it true that Synology DSM 4.3's default rsync implementation is not able to handle "vast" amounts of data and could mess up versioning / deduplication? Could it be that any of the variables (see ...
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 ...
1
vote
2answers
331 views

Ubuntu rsync to synology: IP denied

I am trying to sync my (new) Ubuntu webserver directory to my Synology NAS. Network backup is enabled, when I do a dry run: rsync --dry-run . rsync://root@192.168.1.150 It shows the available ...
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 ...
0
votes
0answers
68 views

Backup archive format for delta syncing to Dropbox?

On an Amazon EC2 server with Linux AMI, I currently have a daily backup cron job be run: TMP_BACKUP_FILE="/tmp/backup.tar" BACKUP_FILE="/home/ec2-user/Dropbox/Backup/backup.tar" rm -f ...
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 ...
1
vote
1answer
34 views

How to avoid mirroring remote directory parents with rsync?

I am running this command: rsync -zavrR --delete --links --stats --rsh="ssh -p 2222 -l user" www.example.com:/home/user/public_html/ /home/user/public_html/rsynctest Current behavior is that I get ...
2
votes
1answer
51 views

Keep unread flags during a cyrus mail migration with rsync

I use rsync to migrate the mails beetween my cyrus 2.3.14 server (source) and 2.3.16 cyrus server (target). However I have a little problem. On the source cyrus server, the mails were stored in ...
1
vote
0answers
38 views

Weird permissions getting set on directories after rsync

I've got a drive on a Mac (OSX 10.7.5) that I'm sharing on the LAN. In the system preferences, the share is set so System Administrator has Read & Write access, System Group has Read Only, and ...
0
votes
3answers
126 views

inotify and rsync on large number of files

I am using inotify to watch a directory and sync files between servers using rsync. Syncing works perfectly, and memory usage is mostly not an issue. However, recently a large number of files were ...
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
44 views

RSYNC only Updated Files

I am running the following script to push information off of a remote server and store it on a local server. The script works but every time it is ran it downloads everything over again. I have tried ...
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 ...