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

5
votes
1answer
63 views

Why does rsync read .bashrc and not .profile?

rsync is a non-interactive program that logs into other machines. It shouldn't need the init file for an interactive shell session, and it should absolutely need the init file for a login shell. Or so ...
0
votes
0answers
8 views

rsync directories with sudo permissions on the remote server

I have one server which has access to a remote server, let's call it as A. I'm trying to rsyncing a remote directory from the remote server and I want to put the synchronized directory in a mounted ...
0
votes
3answers
33 views

Rsyncing directories through ssh tunnel

I have 3 computers/servers, let's call them as computer A, computer B and computer C. Computer A has access via ssh to computer B. Only computer B has access via ssh to computer C. Computer A ...
1
vote
1answer
16 views

Spread rsync over several separate calls

I need to transfer a very large file with rsync (~1TB), but only transfer during a certain times (at night). The transfer takes longer than a single night, so I'd like to spread it across multiple ...
0
votes
0answers
12 views

Why did rsync removed files from my source directories?

I generated a subset of files to copy and saved it into tocopy.txt. Then I ran: rsync --progress -v --checksum --itemize-changes -r -a -z --files-from=/tmp/tocopy.txt user@server:/destination ...
0
votes
0answers
16 views

Multiboot flash drive backup

I have a 16GB flash drive, formatted in FAT32 which contains multiple live linux distros, syslinux bootloader and personal data. I would like to make a backup of it and restore this backup on 64GDB ...
0
votes
0answers
17 views

IO errors from ESXi to OS X Server (NFS or rsync)

Ok, so here is the context. I have a OSX Server 10.8 inside a VM. This VM is attached to an iSCSI volume (from a thecus bay where it is a RAID5). This volume is shared via NFS and AFP. I have some ...
0
votes
0answers
24 views

Clean way to preserve permissions in backups from Linux stored on NTFS

With cygwin, rsync and SSH I have set up a backup mechanism that copies all of the vServers (running Debian) contents to my local NTFS hard drive (running Windows 10) and it works. Partially. I use ...
0
votes
0answers
24 views

rsync: connection unexpectedly closed - Migration from AWS to Digital Ocean

I'm trying to migrate my Django site from AWS to DigitalOcean. I'm following this tutorial My problem is that I can't rsyncmy files. Just as info, I'm able to connect via ssh to my Digital Ocean's ...
0
votes
0answers
16 views

How to kill or abort ssh and rsync reliably by parent process

I am calling rsync from my Qt application which in turn uses ssh to sync data from a remote server. The user of my application however could cancel or abort the sync process but the rsync.exe or ...
0
votes
2answers
39 views

Rsync over SSH and passwordless key security

I need to send files from a group of servers to a remote server. My plan was to use rsync over SSH as it meets my requirement of a secure connection and the ability to delete from source upon ...
2
votes
1answer
40 views

Mac OS - running a bash script for rsync with different network credentials

I want to run rsync to copy files from local mac folders to a corporate network drive. To access the network drive I have to mount it using different credentials compared to my local user account. ...
0
votes
0answers
15 views

How much upstream traffic should a transfer over TCP produce

When a file is downloaded via some TCP-based protocol, there is also data flowing in the other direction – acknowledgement packages etc. Now if I watch some network monitor, I wonder if all of the ...
1
vote
1answer
16 views

Why isn't ownership preserved with “rsync -a” on my Mac?

I am copying files from an internal disk to an external one attached by USB (both are formatted as Mac OS Extended (Journaled)): root# rsync -avi /Volumes/int_hd/ /Volumes/ext_hd/ All directories ...
0
votes
0answers
10 views

Unable to change owner on a mapped drive directory

I am using a script to copy files from amazon instances to a network drive using rsync. After the file copy I am trying to change the owner of these transferred files but am not able to. What is the ...
0
votes
1answer
33 views

How do I make Unison behave like rsync?

I have two roots, /sync and ssh://bob@remotehost//sync. These roots contain three subfolders: paul, bob and sam. I currently sync them using the following script: rsync -a --delete --delete-excluded ...
1
vote
1answer
22 views

Limit rsync to available space on destination

I have a directory, /data/snapshots, which I'd like to archive to an external drive mounted at /mnt. The external is 2tb, /data/snapshots is much more. If I: rysnc -av /data/snapshot /mnt Then ...
0
votes
0answers
30 views

Linux: sync/merge two (or more) directories, but keep older file versions?

got alotta help throughout the time just by simply scrolling and crawling through the vast landscape of qualified answers here from you, now's the time to ask my first question and it looks rather ...
0
votes
0answers
22 views

Making mbuffer faster

I'm trying to transfer files as fast as possible across a 10 gig network connection. Up until now, I've been using rsync to move large files across the network, but I'm trying mbuffer now because I've ...
0
votes
0answers
36 views

How to roll back rsync backup, and having trouble targeting a particular partition for backup

I'm using Linux Mint 17.1. I tried to set up a backup with rsync using the following command: sudo rsync -aAXv --exclude={"/dev/*","/proc/*","/media/*"} /* /media/hex/ I just installed an m.2 SSD ...
0
votes
0answers
38 views

Accessing rsync folder after windows re-install

I am using cygwin to backup my Debian VPS to my Windows PC. All is fine, but if I re-install Windows I can't access the backup folder until I change the owner of the folder and all its children. ...
1
vote
1answer
25 views

How to maintain a remote cloned directory with rsync?

I have SSH access (using a SSH key pair) to a remote machine. I want to keep a directory on the remote machine exactly equal to a given local directory (one way sync). The check for file equality ...
0
votes
0answers
24 views

rsync tree but ignore folders where a .git directory exists?

All I found were questions how to ignore the .git directory when using rsync - my question is a little different: I want to ignore the whole tree from the point where the .git directory exists. ./ ...
0
votes
1answer
20 views

How to properly migrate a constantly changing set of files from one NAS to another?

I am moving 4.4TB of files from one NAS to another, both running Ubuntu. However there is one thing that made me a bit worried whether rsync would work or not: there is a folder whose contents that is ...
0
votes
1answer
43 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
19 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
55 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
11 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
43 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
112 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
62 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
41 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
72 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
62 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
47 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
42 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
30 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
34 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
24 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
19 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
57 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
75 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
22 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
93 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
46 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
47 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
52 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
63 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
75 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
23 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 ...