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
33 views

Cannot delete file on Linux

After backuping with 'rsync --archive --update' my home directory from ext4 to btrfs, rsync reports errors like this: rsync: ...
0
votes
1answer
14 views

CentOs 6, rsync/scp of big file stop at 40% (2.4G)

I'm trying to download from the remote server to local laptop a big file (~5G), but the download stops at 40% of the size (2.4G). I'm using this rsync command: rsync --bwlimit=1200 -rh --progress ...
1
vote
0answers
13 views

rsync glitches with -X (extended attributes) flag

When I rsync files from ext4 file system to btrfs with the following set of flags: rsync --update -DHAXErlptgo the first copy of the backaped directory is done OK, but when this same command is ...
2
votes
2answers
2k views

How can I get rsync to ignore missing files?

I'm executing a command like the following to several different systems: $ rsync -a -v foo@machine.company.com:'/path/to/first/*.log path/to/second.txt' /dest/folder/0007/. Sometimes *.log does not ...
-1
votes
1answer
18 views

Why can't I use a specified port in /etc/ssh/sshd_config for remote transfers?

I have just setup a vps server on Ubuntu 14.04, for security reasons, I changed the allowed port for ssh connections in /etc/ssh/sshd_config. So far I've been able to connect remotely via this new ...
0
votes
1answer
20 views

rsync variables script syntax error

Really struggling with getting a command argument variable to work with rsync. The behavior i'm seeing is this error from the script: rsync: connection unexpectedly closed (0 bytes received so far) ...
0
votes
0answers
14 views

Cannot rsync 2 qnaps over ssh

Here is my case and question. Me and my dad both have a Qnap NAS. And I would like to back-up to him (and he to me) using rsync. On both sides we can reach each other over rsync and ssh. But as soon ...
0
votes
0answers
8 views

rsync a folder ignoring sud-dirs which has with circular symlink

I am trying to rsync a folder as below: rsync -ahLz ./src /tmp/ Dir "./src" has circulr symlink as: $ ls -l src/cpp/blddir lrwxrwxrwx 1 lnxbuild users 16 May 27 02:16 src/cpp/blddir -> ...
1
vote
1answer
191 views

Debian: rsync and cp is corrupting contents of CSV files

I have a weird problem. I wrote a script that scans a directory on a samba share (a OpenSUSE server on the LAN) and uses cp to copy certain CSV files to the local Debian server web root at /var/www. ...
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/ ...
0
votes
1answer
500 views

Caveats with gzip --rsyncable - no speedup

I am using (trying) gzip to compress an SQL file in an rsyncable way in order to transfer the backup with minimal delay. However it appears that this is not working, since the speedup is always 1.00. ...
0
votes
1answer
18 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 ...
0
votes
1answer
28 views

Rsync - resending all files, because files have different timestamp (off by 1 second!)

I am using rsync to backup files from my Mac laptop to a usb drive (exFAT) on my Windows laptop. The usb drive is shared within my home network, and mounted on my Mac. I noticed a weird problem when ...
1
vote
2answers
38 views

Backing up linux server on ntfs harddrive

I'm looking for a way to backup my debian server. For the data partition I have a solution using rsync, the backup goes to an encrypted ntfs-drive. NTFS because I often take the drive with me to watch ...
1
vote
0answers
10 views

How to set permissions and ownership when using rsync?

I'm using capistrano-wpcli (link), a program that uses 'rsync' to synchronize folders between development and testing servers. I've set the uploads folder's permission on the remote server to 777 ...
0
votes
1answer
29 views

Make my NAS send me a notification when it receives a new public IP

In order to keep my most valuable files safe(r) I have a remote NAS setup. Every night I use rsync to send my changed files from my local server to the NAS and this is working somewhat okay. My ...
1
vote
1answer
24 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
33 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
31 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
22 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
13 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 ...
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
44 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
73 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
59 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
30 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
39 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
991 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
6k 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
19k 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. ...
1
vote
1answer
227 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
21 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
124 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
13 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
124 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
27 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
54 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
19 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 ...