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
2answers
11 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
9 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
6 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
2answers
35 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 ...
0
votes
1answer
21 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
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
23 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 ...
0
votes
1answer
14 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 ...
2
votes
0answers
28 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
23 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
18 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 ...
1
vote
1answer
18 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 ...
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 ...
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 ...
0
votes
1answer
42 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
0answers
29 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
36 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 ...
2
votes
2answers
57 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
20 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
118 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
11 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
117 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
23 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
51 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
18 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
70 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
19 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
50 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
63 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
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 ...
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 ...
0
votes
0answers
16 views

scp/rsync through a SSH gateway using authorized_keys

My Network layout is similar to the diagram in this post (SCP through SSH gateway connection). With respect to the answer by Ash Vince in that post, I am would like to know if it is possible to ...
1
vote
1answer
28 views

How can I quickly compare two directories skipping hard linked files that exist in both directories in linux

I have two directories that I would like to compare. The first directory contains an rsync backup of many thousands of folders and files. The second directory contains hard links to all of the files ...
0
votes
1answer
95 views

How to disable rate limit on SSH connections in UFW?

I've got a dev server to which I constantly sync my code using rsync. To secure the dev server a bit more I now activated UFW, which seems to work fine. The problem is that it works a bit too well, ...
0
votes
0answers
9 views

Bash/Cygwin synchronize two directories

I have small problem with synchronization of two git repositories. In first directory for example localRepo is only two subdirectories: localRepo/ dirA/ dirA1/ ...
0
votes
0answers
74 views

cwrsync on Windows 7 and setting PATH variable

The rsync command rsync.exe -av -riz -e "ssh -p 2222 -i d:/vagrants/rails-dev-box/.vagrant/machines/default/virtualbox/private_key" --delete --delete-excluded --exclude ".git" --exclude "cwrsync.*" ...
0
votes
0answers
63 views

Why is there no difference in file transfer speeds using 802.11ac adapter?

My 2012 MacBook Pro is connected to my Netgear R7000 802.11ac router via 2.4 GHz Wi-Fi connection. I can transfer a large file from my Wi-Fi connected to my iMac using rsync at about 90MB/s. Then I ...
0
votes
0answers
32 views

Rsync over intermediate computer with autossh tunnel

I have two laptops with dynamic IP and I am trying to copy directly from one to the other. Lets call them, worklaptop, homelaptop, workserver Worklaptop has a perminant tunnel to workserver by way of ...
0
votes
0answers
8 views

Rsync doesn't respect --exclude-from; --exclude works

Any idea as to what the problem might be? --exclude works just fine, but when I stick the same line in a file and use --exclude-from=that_file, the exclude pattern no longer registers. (==the files do ...
0
votes
1answer
116 views

cannot rsync via ssh from crontab

I'm having issues transferring files with rsync via ssh. If I just run rsync -avz devel@10.10.10.83:/home/devel/ $/home/user/rsync/servidor it works as expected since the public key is stored in ...
1
vote
1answer
268 views

How can I make hourly backups from my Synology NAS to my LaCie NAS?

I have a Synology DiskStation DS215j and a LaCie Network Space 2. The LaCie has firmware >2.2.3, which allows it to function as an rsync server. Of course, normal network shares are also available. ...
0
votes
1answer
50 views

Use shell provided by non-root user

What is a good way for a non-root user to use an executable that is not in the system's list of shells as if it were the user's actual shell? I'm trying to do this with two different versions of ...
0
votes
1answer
23 views

Delete old backups alike Apple Time Machine does

Time Machine saves hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for everything older than a month until the volume runs out of space. At that point, Time ...
1
vote
1answer
18 views

rsync ignoring partition directory

I use rsync to clone my internal hdd to an external disk. My system is Arch Linux. I have two partitions: / /data I am using the following rsync command: rsync -avzxt --progress --delete ...
0
votes
0answers
45 views

Rsync file has vanished error on OS X

I'm trying to rsync between two shared drives. For the most part this works fine, however any file with international characters reports the following error: file has vanished: ...
1
vote
1answer
70 views

restoring files after doing rsync with compression

I understand that you can rsync with arg -z and -a for compress and archive. Can someone tell me with these options, does it affect the files being backed up in any way if ever they need to be ...