Rsync is an open source command line tool for Unix and Windows systems that provides fast incremental file transfer to copy files and synchronize directories locally or between remote hosts. It is widely used for mirroring and backup.

learn more… | top users | synonyms

0
votes
1answer
10 views

rsync multiple files with colons in their names

rsync interprets colons in file names as indicators that preceding is a remote machine name. When you try to rsync a file that has a colon in it's name, rsync typically gets confused, producing errors ...
1
vote
1answer
13 views

Trouble negotiating rsync protocol versions

I am trying to rsync between a Linux box and a MacOS box. The MacOS (yosemite) seems to come with an old version of rsync so I've updated that using homebrew. OK, I seem to have perfectly matching ...
2
votes
0answers
26 views

USB 3.0 Trouble

I am using a WD Elements Portable 1TB USB 3.0 2.5" disk bought in May 2014 to backup data of my desktop machine. rsync runs smoothly without any error messages. However upon restoring data from the ...
1
vote
1answer
18 views

rsync doesn't copy file with different attributes but same modification time

I am using rsync to take a backup. This is my command line: sudo rsync -avuh --delete --stats --log-file=$LOGFILE --exclude-from $EXCLUDE $SOURCE $DEST This works for the most part. However, today, ...
0
votes
0answers
16 views

rsync is missing files

I'm trying to get rsync working between Win7/cygwin source and CentOS 7 VM destination. My command: rsync --dry-run -r -a -v -i -h -x --ignore-times --checksum --progress --delete --delete-before ...
6
votes
2answers
4k views

rsync complaining about `missing trailing-"` in a Bash script

Trying to rsync files from one server to the other in a screen session. Instead of writing the long command every single time, I decided to put in a Bash script. However, when I run it, I get a ...
1
vote
2answers
5k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
8
votes
5answers
25k views

How to use rsync from Windows PC to remote Linux server?

How do I use the rsync command from a local Windows 7 machine to a remote Linux server? What software is needed on the Windows 7 machine to use rsync? The remote Linux server is using Amazon's Linux ...
0
votes
0answers
12 views

Use Rsync to create folder based on filename

I am currently using an rsync command to move files into a remote server based on 2 things, the file extension and how old it is: rsync -avx --timeout=30 --ignore-existing --include '*.txt' --exclude ...
0
votes
1answer
21 views

rsync two EC2's using AWS

I’m new to rsync and AWS. We are migrating our project to the cloud and will have an Oracle EC2 and another EC2 to host our application. In what way can two EC2 instances talk with teach other? What ...
9
votes
3answers
2k views

How to copy Time Machine volume to another disk using rsync while preserving ACLs?

Recently I had to change my Mac's filesystem from case-preserving to being fully case-sensitive. I did that by using CCC and copying data to another disk, then returning back to newly formatted main ...
0
votes
1answer
24 views

How to edit one file, but have it update in two places?

What I'm trying to do is make my computer automatically update my backup files when I edit my local files. For example. I have a directory of websites I work on. Each site is its own directory. I ...
4
votes
5answers
30k views

How to configure and use rsyncd?

I have a server configured to run rsync as demon /etc/rsyncd.conf file: log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [documents] path = ...
0
votes
1answer
40 views

How to fix corrupted NTFS

I was trying to backup my linux box (ext4) into an external NTFS HDD using rsync I got some failure errors and then I deleted the backup on External HDD using "rm -r" & "rm -rf" which was not able ...
0
votes
3answers
4k views

rsync option --log-file seems is not working

I am using the --log-file option in rsync to see the logs. But when I tried to run, it says: --log-file unrecognized option Here is my command: #/usr/bin/rsync -av -u ...
2
votes
1answer
2k views

Rsync to a WebDAV filesystem on OS X copies all files regardless of being changed or not

I am trying to sync from my (Mac) desktop to an iPad and an iPhone. MacOS X mounts WebDAV as a native file system, but syncing results in all files in my directory structure being copied again. This ...
0
votes
0answers
64 views

Rsync takes very long time to return after completing file transfer

I’m using rsync to transfer all the files from a folder to a remote machine. I usually have between 1 and 3 files, all around 1 Mb. I am using the following rsync command: rsync -ac -Ph ...
2
votes
2answers
56 views

Container with in-built compression, which automatically adjust its size

I try to find an efficient way of rsyncing contents of an ext4 file system as a part of a regular backup, yet I consider a decent compression and a minimal required space. I can just use plain rsync ...
0
votes
0answers
28 views

How Does rsync access files unavailable to other processes?

I'm using cwRsync 3.1.0 to backup my Windows 7 Users directory. I recently learned that Windows 7 uses NTFS "Junctions" to maintain compatiblility with old apps looking to the prior system locations. ...
0
votes
0answers
33 views

How to configure rsync to backup a windows XP partition while running linux

I have a dual boot configuration with an XP partition and a Linux partition. The linux partition is my primary one and the XP one is just for gaming/running Windows-only software that's pretty much ...
1
vote
3answers
984 views

Update a bootable OS X drive clone with rsync?

The question: is it possible to keep a boot-able backup drive clone of OS X updated with rsync? If rsync is not a viable option are there alternatives? The Setup: My situation is as shown above. ...
2
votes
2answers
2k views

rsync fails after server restart

Usually I use the command rsync -av --delete someroot/somedir user@remote_server_ip:/someroot/. on my development server to synchronize somedir to a remote server. It worked fine. But after the ...
1
vote
3answers
2k views

Are periodic full backups really necessary on an incremental backup setup?

I intend to use an old computer I have as a remote backup server for myself and a few other people. We are all geographically separated, and the plan is to do incremental daily backups using rsync and ...
7
votes
2answers
5k views

rsync and symbolic links

I want to backup my home directory to an external drive nightly using a cron job to execute rsync. I am unsure of the exact behavior of rsync's symbolic link flags. rsync's -a flag includes the -l ...
18
votes
4answers
18k views

rsync file permissions on windows

I have an rsync service that syncs files from remote machine to a machine that drops them on a network drive. I need the copied files to take on the native permissions of the destination folder. ...
0
votes
1answer
3k views

How to set/keep directory permissions?

I'm using CwRsync to connect from my Windows development machine to a linux webserver : rsync -avuz -e ./ssh --exclude=".svn" /cygdrive/c/xampp/htdocs/project123/ ...
1
vote
1answer
215 views

Rsync incredibly slow in Cygwin - am I doing something wrong?

I am trying to back up my C: and D: drives (each 1 TB, C: has around 210 GB of data on it, D: has around 345 GB on it) onto a 3 TB external HDD using Cygwin in Windows 8. I am doing this with ...
0
votes
2answers
72 views

two-way sync between mac and unix

I would like to work on a directory on two different macs and have access to a unix server that I ssh into. I would like to just start a script at the end of the day that let's me upload all my ...
0
votes
0answers
19 views

Raising a processes' memory limit on FreeNAS

I am using BackupPC, which is a Free Software backup tool based on rsync for transfers, to back up a FreeNAS box. Recently, with more files being added to the NAS, this has stopped working. I get ...
4
votes
2answers
111 views

Rsync copying current directory with name

I want to copy current directory to my backup directory: I tried this command rsync -a . ~/backup/ but it just copies the current directory contents instead of creating new directory at the ...
0
votes
0answers
9 views

How to manage complexe rsync safely when some files have moved and when the source is not complete?

My use case is the following: one working system unused for a while (say a partialy broken system) a second system with partial copy of system #1 content (say a partial copy because system #2 is ...
0
votes
0answers
107 views

How can I copy my Apple Photos Library and Aperture Library to a new drive preserving the hard links?

Due to low disk space on my internal drive I had to carry out the migration of my 300GB Aperture Library to the new Photos app on an external drive. The libraries currently reside in the following ...
0
votes
0answers
20 views

normal user to rsync between two systems as root

How can I change the user permissions so that the user will be able to rsync between two systems as a root. I added the user in visudo. paru ALL = NOPASSWD: /usr/bin/rsync then I typed the ...
0
votes
1answer
48 views

Rsync delete only remove older source files

Ok, I could probably spend a lot of time writing a complex set of bash scripts that would accomplish this, but I'm hoping this functionality already exists somewhere. I have a device in my car which ...
0
votes
1answer
33 views

Merge .AppleDouble forks with original files

I used to place my iTunes’s media folder on a NAS accessed through AFP and, as you may know, the OS also placed several .AppleDouble files on it. Now, my NAS isn’t working as expected and the only ...
1
vote
1answer
29 views

Rsync ask for password even though I can SSH in without a password using a key

This is the command I'm using: sudo rsync -rvz -e 'ssh -p 1111' ******@111.111.111.111:/home/sql/ /media/disk1/bd92a143-c4d7-4b70-bb6a-6576678fa96b/user/Backups/sql/4-6-2015 Any advice?
0
votes
1answer
18 views

How to rsync a folder and subfolders using filenames only?

I would like to synchronize files from the folder /media/alex/Disk1/Movies to the folder named /media/alex/Disk2/Movies. I want to copy each file from /media/alex/Disk1/Movies or a subdirectory to the ...
0
votes
0answers
17 views

rsync created directory permissions (Windows to Linux)

I am trying to rsync a directory from Windows (cygwin) to a Linux server. After googling a bit, I found out how to properly set the file permission of the remote files. However, the directory that is ...
0
votes
0answers
12 views

rsync --exclude option with wildcards and slashes

I have an rsync command that looks like this: /usr/bin/rsync -e ssh -prLtvz --ignore-errors --progress --exclude "/*/*/*" --stats --chmod=u+rwx,g+rwx,o+rx /foo/bar/baz targetloc:/root_path/dest ...
2
votes
2answers
712 views

How to rsync via gateway ssh?

I want to rsync my local files with a backup which I have on a server which allows access from where I am right now only via a gateway. So I came up with the following rsync -avz -r --stats ...
1
vote
2answers
2k views

Is there an rsync alternative, that stores compressed and encrypted?

I'm looking for a suitable off-site backup / file synchronization solution. Both local client and remote server run linux. Storage space on the server is limited, bandwidth between client and server ...
6
votes
3answers
6k views

RSYNC Does Not Delete Source Directories

I'm using rsync to essential fetch files off a server, then delete the files from the server once I have them locally. The full command I'm running is below. This does successfully delete the files ...
0
votes
0answers
17 views

rsyncd daemon - how to minimize logged information?

I backup my synology NAS to a linux Debian server that runs rsyncd daemon. A typical backup session will write hundreds of thousands useless messages (sample below) to the daemon log file. Q: How can ...
0
votes
0answers
48 views

Rsync with extended attributes

I'm using command rsync -aAX --delete /src/ /dest/ on linux to backup data from samba share to external disk. When rsync backup symlinks for the first time everything goes smoothly, but when I run the ...
0
votes
0answers
59 views

How to do a nightly Rsync from Windows Client to Ubuntu Server with Cygwin and Task Scheduler?

I do this with the OS X machines in the office but I wish to do this with the Windows PC too. On OS X, I created SSH keys and cron jobs to rsync certain folders to specific user folders on our Ubuntu ...
0
votes
1answer
132 views

How to output file sizes in human-readable format in an rsync logfile

I know that the -h option outputs file sizes in human-readable format when, for example, displaying the transfer progress with --progress. But is it possible to get this same file size formatting in ...
0
votes
0answers
17 views

running rsync from vmware player vm using NAT to new server

I have been searching for days. I am trying to run rsync to a new server from a guest VMware Player VM using Ubuntu 14.04 NAT on the host Win7 pro server. I cannot setup a shell connections to the new ...
1
vote
2answers
606 views

How to back up server with rsync, preserving ownership/permissions without root login

I am setting up a backup server on which I want to run rsync over ssh to backup content on other servers every night. I would like to set up ssh keys to make it password-less, but I want to preserve ...
1
vote
4answers
3k views

Rsync root files between systems without specifying password

This seems very tricky to me. I've set up my two systems so that I can rsync files between them as me, without specifying password. Now the the problem is to rsync files that belong to root. On both ...
0
votes
1answer
30 views

How to estimate the time needed for transferring files between internal and external drives?

My laptop usb port is usb 2.0. my external hard drive is usb 3.0. Wikipedia says Due to bus access constraints, the effective throughput of the High Speed signaling rate is limited to 35 MB/s or ...