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
0answers
45 views

rsync dry run not showing differences

I'm copying some directories between 2 remote servers (using FileZilla). To make sure everything had copied correctly, I wanted to use rsync to make sure there were no differences. FileZilla had ...
1
vote
2answers
489 views

How can rsync fail due to missing permissions if remote login occurs with root?

I can't think of any reason why the transfer of a simple file with rsync -e 'ssh -p 19' -vvv /path/to/file root@192.168.179.3: fails with opening connection using: ssh -p 19 -l root 192.168.179.3 ...
0
votes
1answer
49 views

Rsync between KVM VPS and VirtualBox

I need advice how to rsync via ssh (and what directories need to be synced) between a KVM VPS (Debian Jessie) and VirtualBox to effectively make the VirtualBox a clone of the VPS. I use the term "...
0
votes
0answers
66 views

rsync “file has vanished” for broken symlinks when --del is used

I'm using rsync on a Synology NAS to make daily hardlink-snapshots from all shares. To have a off-site backup, I'm copying the local backup away. Due to performance, only the newest backup is copied ...
0
votes
1answer
24 views

network old mac to use as rsync backup

The goal: Be able to run my rsync backup on my local machine "X" (Ubuntu 13.1) to a remote machine, a currently un-networked mac "Y" (OSX 10.2.8). What I've done so far: Flew to the old mac ...
0
votes
0answers
21 views

How to Synchronize Full Content of Mail Account and Local Directory via IMAP?

Is there tool which facilitates one-way synchronization of a mail account's content (accessible via IMAP) and a local directory? For example: An email with attachment is received - then that email is ...
1
vote
2answers
45 views

Retrying failed command that is run with xargs

I have a script that rsync's files over in parallel using xargs and rsync daemon mode. I occasionally get errors with rsync due to writes happening on the source. I want to be able to retry the rsync ...
0
votes
1answer
49 views

User can't delete file owned by user with w permission

I've a backup system based on rsync. Get a problem when try delete one file srv106@storage10:~$ rm -vf /srv/storage/homes/srv106/daily/files/daily.32/root/.my.cnf rm: cannot remove `/srv/storage/...
0
votes
1answer
33 views

Best method to copy big partition contents with many hard links

We had a LVM of almost 16TB with ReiserFS. We now want to add more disks, but we cannot continue using ReiserFS, as it has a maximum capacity of 16TB. This volume is being used to make incremental ...
0
votes
0answers
6 views

rsync does not ignore open tmp files

file~ // <--- example of file I do not want to copy And the command: rsync -r --exclude '*~' /from/my/dir/ root@server.com:/to/my/dir/ I am trying to exclude tmp files that I am currently ...
1
vote
2answers
43 views

List of linux paths which are 'virtual' files

I don't know the correct terminology, and that's probably the reason I can't find a related question here on Superuser. I have a backup script that syncs my linux server to a remote location. My ...
0
votes
0answers
14 views

What happens when you try to rsync a mounted file system that has gone stale/online

I am using rsync to make sure a primary and secondary mounted file system stay in sync. The live in separate data-centers and am using the --delete option so that the sync doesn't at some point fill ...
1
vote
2answers
203 views

Linux command line to create a log file for rsync

I am trying to create a log text file after doing an rsync. I've tried using a command line: rsync -av /source/ /dest/ > log.txt The text file that was created only shows the file names that are "...
0
votes
2answers
162 views

what is the default speed in rsync to send from local to remote machine?

I want to know the default speed of rsync command to send data from local machine to remote machine. Is that depend on network or rsync has default speed is set for rsync command.
3
votes
1answer
83 views

Will rsync preserve owner between servers if the username is equal but the userid is not

I have the following case: Server A has a user marco with userid 10001 Server B has a user marco with userid 10004 I'm copying a file test.txt, owned by marco, from server A to server B, with rsync -...
2
votes
1answer
652 views

Possible to rsync to Amazon Glacier?

I have an Ubuntu 14.04 server that I need to incrementally backup nightly, preferably with rsync. Amazon's Glacier looks like a good option but none of the online tutorials I'm finding do incremental ...
0
votes
1answer
118 views

AUTO SYNC with rsync

Hi guys that's my first post here so be cool, so I have a Mac with Rsync, and I have a VPS with Debian 8 on it, I want to do something but I don't know how. So I want to create a folder name SHARE on ...
0
votes
0answers
40 views

running rsnapshot with hardlinks only?

We are running rsnapshot as a backup mechansim for long time but we manage also very huge systems which already take enough care about hardware failiure but don't have a convenient snapshot mechanism. ...
0
votes
0answers
76 views

rsync --append-verify with a very unstable source

I'm trying to salvage files from a hard disk that is about to die (or it's the USB-SATA dock that's about to die, I can't be sure). The disk is GPT partitioned and has one HFS+ volume. I'm pretty much ...
0
votes
2answers
514 views

Backup of a Linux desktop on a Synology NAS (DS 5.2) using backintime

I am trying to setup a backup of my Linux desktop machine on a Synology NAS with backintime. However, I am stuck with the following error message: Entfernter Rechner <nas.ip.address> ...
0
votes
1answer
37 views

Why do I sometimes have to double escape spaces in rsync paths?

When referring to paths with spaces, e.g. Steve Jobs, I can either backslash escape, or surround with quotes, when the path is the local directory: rsync Steve\ Jobs user@remote:/ or rsync "Steve ...
0
votes
2answers
195 views

Rsync with SSH prompting for remote password

I have followed the following guide to setup Rsync with SSH between my local machine and a remote server: I performed the below as root: rsync -avz -e ssh /home/user/dir root@192.168.200.10::Backup/...
1
vote
0answers
37 views

Make rsync honor directory setuid

I have a destination dir with id bit set, i.e. -rwxrws--- If I mkdir within this dir, it creates new dirs with the dir bit set. But when I rsync into it, rsync creates new dirs without the dir bit set....
0
votes
0answers
32 views

Restrict rsync operations to a subset of files

I have 2 directories that timestamped files are written to. At the end of the day, I would like to synchronize the directories so that they look exactly the same. I have something like this: dir1/ &...
0
votes
0answers
134 views

How to capture packets of rysnc using tcpdump

I am trying to do rysnc a 4G file to another directory and want to capture rsync packets using tcpdump. I tried listning to port 873 which is used for rsync but did not find anything captured. I ...
0
votes
0answers
39 views

Syncronizing with some variables

We have three product image folders on our server and their locations on server are also different. For making it clear i'll call them A,B,C here. The "A" folder have sub folders of different ...
0
votes
2answers
80 views

Using multiple rsync processes with --remove-source-files

Let’s say that I have data on the order of terabytes, in files on the order of megabytes, to move away from a server that’s over 500 ms away. Due to the nature of TCP, the command below works but ...
0
votes
1answer
71 views

Why is Rsync is only sending an incremental file list via SSH?

I’m trying to copy clean Arch Linux installation and send it to other VPS trought SSH. It doesn’t do anything else than send out an incremental file list. rsync -axH --delete -e ssh --stats -P build/ ...
0
votes
0answers
19 views

How to copy/sync pictures with certain xmp tags only

I want to copy jpg pictures to a matching folder structure (one way syncing) only when they include a certain XMP tag. For example: I have ALL my pictures in a folder structure on drive A. Within the ...
0
votes
1answer
47 views

How to tell if Rsync transfer has finished from the remote computer?

If I am transferring a file or a directory form Computer A to Computer B, is there a way for me to tell (when SSH'd in to computer B) that the transfer is A. Complete or B. Finished with an error ...
0
votes
1answer
42 views

Linux script to move files from muilple directories

I am trying to create a script to move files once they are placed in a directory into sub directory Example Files placed in /home/userA/directory1 get moved into /home/userA/directory1/directory2 I ...
2
votes
1answer
74 views

Set up MySQL slave to slave replication

I have two machines with MySQL servers instances A and B. I want to add another MySQL server C which should replicate from B rather than from A. I may stop B but not A. These are the steps I tried: ...
0
votes
3answers
113 views

Syncing Large, Rarely Changing Files

I have a home server containing a fair amount of (legally-obtained) media files. When additions are made to this set when I am away, I would like to be able to sync these files to the remote copy on ...
0
votes
0answers
11 views

ftp or rsync equivalent on windows 7 to acquire entire directory [duplicate]

I am not a Windows User, I am much more comfortable in Linux. My institution blocks ftp and rsync from my local Apple machine, and forces me to log on to a Windows 7 Virtual Machine. I want to ...
0
votes
2answers
32 views

Copy drive A to drive B on mount

I need some help with the problem of an automatic copy from drive A --> drive B. I want to detect a drive on mount as A - 1st mounted drive is A, as source drive. Detect the 2nd mounted drive as B - ...
3
votes
1answer
527 views

Rsync backups on btrfs very slow

My environment is Ubuntu 15.04 with kernel 3.19.0-28-generic and Btrfs v3.17. I have two identical external USB hard disks that I use with my backup script. One of them is formatted with btrfs and ...
1
vote
2answers
348 views

Rsnapshot --exclude-from file not working for sub directories

I am doing a remote backup. This are my rsnapshot config. config_version 1.2 snapshot_root /data/sbackup/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh ...
0
votes
1answer
58 views

Bash Script for mounting share and starting rsync

There is a need to migrate data from one server to another as we begin decommissioning the first server; the first server is an OS X 10.9.5 machine. I would like to devise a script that, when launched,...
1
vote
1answer
268 views

Proper rsync flags for backuping from ext4 to ZFS

I have a home server running Ubuntu 14.04.3 LTS with an ext4 file system, to which I regularly backup data from various devices. Now I have set-up an external USB HDD with ZFS file system and would ...
6
votes
1answer
204 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
1answer
264 views

rsync directories that need sudo permissions on the remote server

I have one local server, let's call it as A, which has access to a remote server. I want to synchronize with rsync a directory from the remote server to the local one, and I want to put the ...
0
votes
3answers
69 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
18 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
16 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
22 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
72 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
197 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 ...
1
vote
1answer
292 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
115 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 ssh....
0
votes
2answers
206 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 ...