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

Fastest way to duplicate encrypted hard drives?

I used hard drive duplicator to do the sector-by-sector duplication of hard drives. I think it took about 5 hours. Pros: easy unattended, computer-free operation Cons: hard drive size ...
1
vote
1answer
13 views

Rsync behaviour/differences & newbie

From my understanding, rsync over SMB tries to build a file list each time on source/destination to check any changes have been modified before a copy takes please. I’m trying to understand the ...
0
votes
1answer
28 views

How to safely synchronize two folders without duplicates?

I have an account on mega and I want to synchronize it with a folder on my computer. The problem is, that this account is public to some extent so I can't just use rsync with --delete in case someone ...
0
votes
0answers
4 views

Use rsync on bare device

Is it feasible to use rsync on bare device files, like rsync /dev/sdb user@remote:/dev/sdb or even rsync /dev/sdb user@remote:images/sdb.img to sync two drives or a drive image?
1
vote
0answers
26 views

How to rsync root files over non-root ssh?

I have two machines, both providing no root login, but provide sudo root access. Now I like to initate a rsync transfer of root files over ssh. Is there an easy way make the the root access given by ...
0
votes
1answer
29 views

Rsync-like automatic delta backup of a removable hard drive on windows

Well a lot of questions have been asked on the SE network about using rsync on Windows. But nothing seems to really do the trick so I'd like to expose the specific mechanism I need to setup. Lets say ...
0
votes
0answers
25 views

Synchronize two folders over sftp?

I have a cloned git repository in a directory and a sftp server, I want the server to be in sync with my repository. I've been trying multiple Atom/Sublime Text plugins with no luck, they only upload ...
0
votes
1answer
24 views

How to delete folder and files in the destination that are missing in the source (before copying)?

I sometimes have the problem that rsync tries to transfer a new file from the source to the destination (both have the same space) when there's already not enough space left, which causes this error ...
3
votes
2answers
63 views

How do I efficiently move a large, empty disk image to another system

I'm currently trying to move a fairly empty, fresh qcow2 image from one system to another that's far away. I've basically got a fresh install of ubuntu LTS (real size 6gb, apparent size 200gb). Most ...
1
vote
1answer
54 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
26 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
22 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 ...
-1
votes
1answer
26 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
25 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
18 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
12 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
50 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
45 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
13 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
45 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
35 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
39 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
36 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
29 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
37 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
18 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
28 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
56 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
34 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
47 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
66 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
26 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
187 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
14 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
178 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
41 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
72 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
43 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
35 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
23 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
23 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
95 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
15 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
23 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
71 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
79 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
28 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
35 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
22 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
36 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 ...