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
7 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
15 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
27 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
8 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
22 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
40 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
8 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
5 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
49 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
87 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
44 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
14 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
12 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
16 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
26 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 ...
0
votes
1answer
78 views

“No space left on device” when writing to NTFS on Ubuntu

I'm on Ubuntu 12.04 and want to backup data to my external hard drive which is NTFS. When running cp -rp or rsync, I get no space left errors like this: `rsync: mkstemp "/media/Expansion ...
0
votes
2answers
44 views

cwRsync permissions on external drive

I'm having problem using cwrsync to backup my data to an external drive as no data can't be opened on other computers because of permissions cwrsync sets. This is my backup batch script: @ECHO OFF ...
1
vote
1answer
28 views

How to rsync the / folder properly?

I have a btrfs snapshot of / and I want to rsync it with my current / folder. As form of "rollback" if you want. My question is what folder should I avoid for instance I should use -x option to ...
0
votes
1answer
26 views

rsync - exlude specific files from directories that are included

I have this script: #!bin/bash AMB="specific_dir*/***" SRC="/path/to/dir/" DST_1="user@host1:~/path/to/dest/" DST_2="virkantas@host2:~/path/to/dest/" DST_3="nodbaltic@host3:~/path/to/dest/" for DEST ...
0
votes
0answers
21 views

Mac won't boot from a mirrored drive

I'm cloning the two internal volumes SSD and HD to one external volume by telling rsync to resolve symlinks and copy the actual files / directories: sudo rsync --acls \ --archive \ ...
1
vote
1answer
45 views

offline incremental backup via thumbdrive? [closed]

I need to mirror one computer's 3 TB directory tree on another computer. The computers share no network [edit: they cannot communicate at all, "air barrier"], but I can transport a 32 GB thumbdrive ...
0
votes
2answers
35 views

Rsync Only Different Files with a Checksum?

Does anyone know if it's possible to run rsync to transfer all changed/new files in a directory (and its sub-directories) from my local OSX 10.9 machine up to a network share? The wrench in the plan ...
0
votes
0answers
29 views

ssh indirectly to root

Is there a way to ssh to root on another machine even if PermitRootLogin is set to no, but ssh to a user is allowed and this user can just sudo -i to become root. For simple commands, I think there ...
0
votes
3answers
41 views

ssh config with sudo

I'm backing up my local machine to a remote server. Because I want to backup the whole local machine, even files that my local user doesn't normally have access to, I'm doing it using sudo, so the ...
0
votes
0answers
24 views

WordPress uploads rsync file ownership issues

I'm running a LEMP stack. Nginx is running as www-data user. It's running a WordPress installation. Every time I upload something the uploaded files belong to www-data as expected. I'm trying to ...
0
votes
2answers
62 views

how does data integrity affect offline backups with rsync?

I am trying to understand the implications of bitrot and data corruption on my data on disks. Currently for my family photos (JPEG and MOVs), aside from storing them on my main pc, I have them on a ...
0
votes
0answers
123 views

Reading SMART results for failing disk

I recently started having trouble with my Dell laptop and would appreciate any recommendations on the next steps for my issue. I have portions of the dmesg log below to show the errors I'm getting. ...
1
vote
1answer
54 views

Issue with rsync/cwrsync on windows

I'm having this batch script which i'm trying to make to backup stuff to my external drive. For some reason, it works just fine when I run it as administrator but not when i run it as a regular user. ...
0
votes
1answer
57 views

can we use unix hardlinks on a mounted windows share?

ln command can create hard links on the mounted windows share, but cp -al fails. Is this expected behaviour? I'm trying to save disk space by creating copy on write style backups using cowdancer, ...
0
votes
0answers
49 views

SecGenericPasswordCreate failed when trying to rsync

Hi I'm trying to rsync my Mac OSX 10.6 to a folder on a server in which I have an account. I have followed the instructions reported on www.rsync.net. I have created the public key (where as ...
0
votes
0answers
21 views

Rsync over NFS I/O error

We have two servers running CentOS 6.4. Both are NFS servers and each have shares mounted from each other. Regardless of which direction the transfer goes (upload or download) it fails after a few ...
0
votes
0answers
24 views

Troubles backing up some files from Linux system to FreeNAS using rsync

I'm using rsync to backup whole system over LAN to freeNAS server with this command: rsync -aAX --delete /* /mnt/backup ...
1
vote
1answer
40 views

Copying files without losing metadata in Linux

How on Linux can I copy things like music files with “Artist” and “Title” tags without losing the tags? Will rsync work? Will cp? Does either one need any specific switch?
0
votes
2answers
48 views

What is the correct way to move a Ubuntu server from one machine to another?

Attempted this three times now and not bee successful, so was hoping someone here could point me in the right direction? I am trying to move my Ubuntu 14.04 Server from one physical machine, to ...
4
votes
2answers
209 views

Behavior of rsync with file that's still being written?

If Apache is in the middle of writing a large file and an rsync cron job runs on that file, does rsync attempt to copy the file? Example Apache-1: Has file large being written to /var/www. ...
2
votes
2answers
212 views

Copy multiple sources to multiple destinations simultaneously

Suppose I need to copy files ~/path/to/file to user@remote:/path/to/file ~/path/to/another/file to user@remote:/path/to/another/file ~/path/alternative to user@remote:/path/alternative Is there is ...
0
votes
1answer
30 views

Resume SCP download when using .pem file with rsync

I have a large file to down form a ssh server, however the connection keeps cutting out. I know that rsync can be used to resume the download however I can not find how to do this when I am using a ...
0
votes
1answer
133 views

Google Compute Engine - SSH or RSYNC without a Password

I have several Google Compute Engine (GCE) instances up and running. I have a few scripts that pull information (log files, etc) from these instances, and a few others that push up files. I would like ...
1
vote
2answers
129 views

Copy ubuntu from one PC to another

I have a very weird scenerio here, I have installed some softwares on my Ubuntu machine, Now I want to move everything (including windows)to another Machine B, notice Machine has no access to Internet ...
1
vote
1answer
55 views

rsync from Solaris to Windows (character encoding on filenames)

I'm trying to use RSYNC to sync files from a Solaris 9 (SunOS 5.9) System to a Windows Server 2008 R2 (via cygwin) There are many Files containing characters like "ä", "ö", "ü" or "ß". Which are only ...
0
votes
0answers
27 views

Is cp -au / cp --archive --update contradictory?

I want to update a directory on a backup disk with new content added to the source, and of course rsync is too slow. cp -a does the trick but is a bulldozer; cp -u should leave existing files alone. ...
2
votes
1answer
37 views

What are the rsync equivalent command/s to mv /a/b /c/d?

What are the rsync equivalent command/s to mv /a/b/ /c/d/, i.e, to move a directory tree from one location to another, possibly on another file system? That is, not just copy, but delete the files ...
0
votes
1answer
39 views

rsnapshot or similar tool for no added size differential backup

I've currently got a backup that backs up all my files to an external hard drive, but currently I am traveling and I want to backup file changes, but without having to duplicate all the files, or ...
0
votes
0answers
12 views

Improve accuracy of rsync's speed reporting

I am doing an rsync from a local SSD (super-fast) to a samba NAS (super-slow). When I sync (e.g.) ~400MB files, it seems to read the first entirely into memory before it does any writing, and thus I ...
0
votes
2answers
44 views

How to migrate a root filesystem to another partition from within running system?

I try to migrate a root filesystem from ext4 to another partition type (zfs) and started with a simple rsync -a --exclude=/boot --exclude=/mnt --exclude=/media --exclude=/tmp --exclude=[all zfs ...
0
votes
0answers
23 views

How to tell if a directory is completely synced by rsync?

I'm rsync'ing some directories from one machine to another, in a cronjob. Each directory is complete set of data files. On the destination machine, is there a sane way to tell if a directory is ...
0
votes
0answers
36 views

Periodic backup of changes on another disk from full backup

I am looking for a backup solution that will enable me to backup only changes to an internal disk after a full backup to an external disk. Also, this should run snapshot backups every day until the ...
0
votes
1answer
28 views

How to wait for 3 mints if the n/w got disconnected while copying in Rsync without failing using perl script?

I have to transfer 2-3 GB using Rsync.Everything is working fine, but my network got disconnected sometimes, and the entire process got failed. I want to retry it for the network for every 3 mints, ...
0
votes
1answer
61 views

Is there any advantage of using rsync over plain cp when copying from a samba share?

I am currently configuring Dirvish on a Linux computer for backing up the contents of a share on a Windows computer. Dirvish creates a new directory every time it is called. It internally uses rsync ...
0
votes
1answer
49 views

Does Killing A Bash Process Affect Children Processes [duplicate]

The Scenario I'm automating backups via a bash script. The script is executed via cron. The script archives directories recursively using tar, and then rsync's them to the remote host. Here is a ...