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

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
18 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
21 views

Suggestions for backup system to copy from Windows Server to Linux [closed]

Currently we have a backup system in place called BackupAssist (GUI for rsync over cygwin) to copy files from Windows to Linux. However for some reason after carrying out the backup a lot of the files ...
0
votes
0answers
28 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
6 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
22 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
10 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
17 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
45 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
33 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
48 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
13 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
6 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
58 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
145 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
45 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
15 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
16 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
29 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
37 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
138 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
60 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
30 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
30 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
22 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
56 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
39 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
31 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
50 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
27 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
67 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
148 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
66 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
78 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
63 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
25 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
32 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
52 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
56 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
256 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
293 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
36 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
170 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
209 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
70 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 ...
1
vote
0answers
35 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
41 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
46 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
13 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 ...