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

Incremental Snapshot Style backups with rsync on NTFS

I've taken over development of an embedded Linux product which needs a reliable backup solution. Backups are to be performed without compression to an attached USB storage device formatted to NTFS. ...
0
votes
0answers
3 views

rsnapshot exclude_file not working for local backup?

I've setup rsnapshot for 2 Ubuntu 14.04 servers. One is over SSH, the other is local. The configs are almost exactly the same, however the local backup seems to not honor the exclude_file. Global ...
0
votes
0answers
13 views

rsync vs cp on Synology NAS

After i was disappointed with the performance of an external USB drive with my Synology DS251j i did some transfer tests on the shell. Interestingly i found that copying a 1GB test file takes over ...
0
votes
1answer
11 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
0
votes
0answers
19 views

Strategy for transporting VM between home and office

I would like to keep a VM work environment that I carry back and forth between home and office. Right now I have the VM on an external SSD. I can think of three approaches: Work off the SSD and open ...
0
votes
1answer
22 views

Rsync over a Network

I can't exchange files between my pcs, when I give the command sudo rsync -av -delete --rsh=ssh localhost/directory remotehost/directory remotehost root password is required but when I type it the ...
1
vote
1answer
23 views

unable to remove symbolic links of rsync copy of /bin and /dev

I accidentally made a rsync copy of my root directory, "/" using the -a option, as follows: user@mycomputer:~$ rsync -a / /backup-dir user@mycomputer:~$ ls -l /backup-dir/ total 10102784 drwxrwxrwx 1 ...
3
votes
1answer
16 views

Rsync: Skip files that are not present locally?

+------+-----+------+ |Local | |Remote| +------+-----+------+ |file01| <- |file01| +------+-----+------+ |- | |file02| +------+-----+------+ |file03| <- |file03| ...
3
votes
0answers
12 views

Make rsync show progress on checksum comparison, even if no difference is being found

I run this command to check the identicalness of two folders and put all differences into a log file: rsync -av --delete --checksum --dry-run --stats --itemize-changes --out-format='%t %i %f ' SOURCE ...
0
votes
0answers
12 views

Rsync hanging on files from client to LAN NAS server via ssh

I'm using rsync to do a backup to a NAS on my local network over SSH. However when running rsync I'm finding that it's getting stuck on certain files. Rsync will completely freeze and refuse to ...
0
votes
1answer
22 views

Bash expands array where it should just use one element

My simple bash script to fetch images of a Raspberry Pi that are older than one minute: #!/bin/bash time=`date +"%FT%H_%M_%S"` imagedir="/root/pilapse/images/" files=`ssh pi find ...
1
vote
1answer
17 views

create an alias to rsync local directory with a remote server - is it bad practice?

disclaimer: I am no superuser. question: I find myself writing out this beast every time I want to sync up my server with my dev directories on my machine: rsync -chavzP --stats user@host:/remote/ ...
0
votes
1answer
18 views

Cygwin and automated SSH Login - one user works, the other does not

Ok, so I have two windows computers and one linux computer. I setup cygwin and installed the ssh package. I then opened up the cygwin terminal on each computer and ran ssh-keygen -t -N '' I then ...
3
votes
1answer
59 views

Killing rsync softly

Is there a way of tell rsync to stop whenever possible in a clean way? Two options: tell rsync to stop transfering the current file, clean any temp file and exit; or let rsync end the transfer of ...
1
vote
1answer
21 views

backing up Linux (CentOS) to rsync.net

I'm doing a full backup of a server using /usr/bin/rsync and it seemed to hang. The problem was that the /proc directory has a huge file -r-------- 1 root root 140737477877760 Jan 24 ...
0
votes
0answers
12 views

ignoring No data available (61) errors with rsync

Is there a way to supress a warning where the prigin changes during the rsync? $ rsync --archive server::somemodule/ /dest/dir rsync: read errors mapping "/somefile" (in somemodule): No data ...
0
votes
0answers
9 views

No modules listed by rsync server

I have an rsync server running on a Windows 7 machine as part of a BackupPC install. I was able to install the server and run it, because I can telnet to the server/port and receive the proper ...
1
vote
1answer
25 views

How do I move hard links to new server properly?

I have a server with 4 drives in it and am getting pretty full. I run the drives in a raid 5 and they are all 3tb drives. I then run backintime and have it run my daily backup. My data set is about ...
-1
votes
1answer
16 views

How to use rsync to copy files changed in dirB compared against dirA to dirC? (Repost from Stackoverflow)

I posted the below question to stackoverflow, but people suggest I posted here instead: I have two directories, dirA and dirB. I want to move everything in dirB that are different from dirA (checksum ...
0
votes
1answer
39 views

rsync to/from tar archive

Is it possible to rsync a real filesystem (remote) with a tar archive (local)? If so, how? Problem is I need to correctly backup user/group/permission settings and, while I have root access on remote ...
0
votes
2answers
24 views

Moving data across environments

I have a very lame situation at the moment about moving data across environments at work. These data are database dumps, Solr indexes or simple images. Our process is: "tarball the data" + ...
0
votes
0answers
15 views

rsync error: Bad file number (9)

I looked everywhere to find a solution...I keep on getting this error: rsync: change_dir "/cygdrive/C/Users/mloch/Desktop/sites/drupalsite1/" failed: Bad file number (9) rsync: mkdir ...
0
votes
0answers
16 views

Script repeatedly runs when USB mounted on Ubuntu

First post so bear with me if I don't give enough info first time around. I have a script set to run when either of 2 USB drives are plugged into my Ubuntu server. I have FSTAB set correctly for the ...
1
vote
1answer
91 views

Copying large files using Rsync on Mac between a NAS and a local hard drive

I am running a regular backup using Rsync for one of my data servers. I am backing up the data which is on my Synology NAS Storage to an External Hard drive over the network and using a gigabit ...
1
vote
1answer
24 views

Synchronize identical files' timestamps across directory trees?

In January of 2015, I transferred some files from a dd created backup image to a new hard disk. This transfer did not preserve timestamps, so basically every file shows a timestamp of January 20th. ...
0
votes
1answer
16 views

Which options to rsync from vfat to vfat

I rsync local mounted vfat partitions. If I use the -a option I get these messages: rsync: chown "/media/new64gb/bar" failed: Operation not permitted (1) rsync: mkstemp "/media/new64gb/Tryo/Grain de ...
0
votes
0answers
28 views

rsync unexplained error (code 255) at io.c(820)

Out of the blue, upon vagrant up, rsync started throwing the error below: There was an error when attempting to rsync a synced folder. Please inspect the error message below for more info. Host ...
0
votes
0answers
21 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
53 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
24 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
18 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
20 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
18 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
26 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
31 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 ...
0
votes
1answer
25 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
5 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
40 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
9 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
67 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
60 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.
2
votes
1answer
33 views

Will rsync preserve owner between servers if the usernae is equal but UID not

I have the following case: Server A have an user 'marco' with UID 10001 Server B have an user 'marco' with UID 10004 I'm copying a file test.txt, owned by marco, from server A to server B, with ...
0
votes
1answer
273 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
56 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
21 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
44 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
1answer
178 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
16 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
71 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 ...
1
vote
0answers
18 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 ...