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

1
vote
1answer
16 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
0answers
11 views

Mac backup / sync software [on hold]

I'm looking for a mac program that would allow me to work following way: Keep all my files on Windows/Samba Share (on Synology NAS device that can also act as rsync server). When I need to work on ...
0
votes
0answers
11 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
20 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
32 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
votes
0answers
11 views

Automatically pauseing rsync if target is full

I need to transfer 80gb's of unsorted text documents from one computer to another and all I have is a 32gb USB. Is there an option to make rsync automatically pause when the USB is full without losing ...
0
votes
0answers
11 views

rsync a git project to clone it for the first time?

I want to use Git to version our existing magento shop. I initiated git on the production server (which has the most up-to-date code), added all files except for several directories like cache, and ...
1
vote
0answers
24 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
7 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
25 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 ...
1
vote
0answers
14 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
6 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
32 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
15 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
11 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 ...
-1
votes
2answers
22 views

How can I set a count down timer in perl for doing a function repeatedly?

I am copying a file from one file to another. I want to check whether the source file is available or not repeatedly in every 10 secs. How can I check it in between copying?
0
votes
0answers
18 views

How to match the source and destination files using perl

I tried to copy a file from server to local using rsync. How can I check wether the source and destination files are same using a perl script?
1
vote
2answers
20 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
31 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
38 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 ...
0
votes
1answer
55 views

Prevent rsync out of memory

I am trying to rsync 55000 jpg files in 10000 folders (from an Android phone to a Linux box). Usually, I did this: rsync -rOi --size-only --delete --timeout=60 --progress --no-perms ...
0
votes
1answer
31 views

Rsync unhides files when syncing

When I tell rsync to sync 2 folders with -a /source/path/ /destination/path, hidden files become suddenly visible. Is there a way to tell rsync not to unhide those files, but simply copy the folder as ...
0
votes
0answers
49 views

Rsync takes longer time “receiving incremental file list”

I am using rysnc to copy files from remote host to local machine using a cron job. Every time I need the rsync to copy new files only from remote host. But its getting struck at this line "receiving ...
0
votes
0answers
91 views

Run cygwin command from windows command line

I am trying to make PhpStorm run vagrant rsync when files are changed, because built-in rsync-auto fails with my deep directory structure. I am able to setup watcher in PhpStorm settings, but I don't ...
0
votes
0answers
18 views

Is there a simple way to automatically send through scp any file modified in a folder to a remote folder?

Put it simply: I have a folder full of files and subfolders with more files. I would like to have a mirror of that folder in a remote server so anytime a file is modified on my machine it gets ...
0
votes
1answer
30 views

Rsync: Mirror only certain directories based on presence of dotfile

I have a large amount of files on a server and I have a partial mirror of these files on my Mac (i.e. only some folders exist in the mirror). I would like to have a sync from the Mac to server using ...
1
vote
1answer
76 views

Special characters on Synology NAS

I've been backing up my photos and mp3s from my MacBook Pro to a Synology NAS. Many files have names containing special characters like é and ö. I've been copying them with Rsync, as follows: rsync ...
0
votes
1answer
52 views

SSH connection with key, not working with rsync

After creating a key with no password, I can login with SSH to my remote host: $ ssh root@machine.local Welcome to Ubuntu 14.04.1... However when I try to use SSH to rsync to the same remote host: ...
4
votes
0answers
52 views

Does Cygwin support hard links in Windows 8?

I'm working on a backup script that behaves like TimeMachine and uses RSync with --link-dest to create hardlinks to unchanged files. If I run this on a *Nix-based system, of course it works as ...
0
votes
2answers
66 views

“2 way” NAS 'time-machine' backup [closed]

For off-site backup purposes I am looking at putting a NAS in 2 places (my own and another) and having them sync. This can be done with rsync obviously, but I'm looking for a bit more security ...
2
votes
1answer
39 views

Understanding rsync's include / exclude patterns

I want to transfer N files from a remote system, using a pattern: ssh remote ls target/ 2013-08-01.mjson.gz 2014-07-04.mjson.gz 2014-07-09.mjson.gz 2014-08-12.mjson.gz ... I only want the 2014-07* ...
0
votes
0answers
31 views

Is there a tool for syncing changes to individual nodes within HDF5 files?

I'm looking for a tool for efficiently syncing large scientific datasets in HDF5 format: Each file is ~20-30GB in size and contains many large floating point arrays, which are usually chunked and ...
0
votes
1answer
203 views

rsync and symbolic links

I want to backup my home directory to an external drive nightly using a cron job to execute rsync. I am unsure of the exact behavior of rsync's symbolic link flags. rsync's -a flag includes the -l ...
0
votes
0answers
48 views

Backup certain folders to NAS with exFat

Hello everybody who has the same problem, trying to help or just reading! Recently I've bought one of IcyBox IB-NAS5520 NAS with 2 x 1TB drives in raid1. I've tryed to follow this idea: How to set ...
0
votes
1answer
113 views

automatic file encryption on NFS or RSYNC for remote incremental backup?

What solutions should I be looking at to allow an incremental backup via rsync over nfs4 to allow files to be encrypted on the backup host? I have zero control over the backup host's software so the ...
0
votes
0answers
15 views

Check if file is being read by remote rsync

I'm working on a script to copy files from one location to another (both are raspberry pis running raspbian). I have it set so that files are rsynced from one to the other (overnight, transferring ...
2
votes
2answers
97 views

Command line cp or rsync to crawl drive seeking only specific file types and put them somewhere?

Is it possible only using the command line to use something like the cp or rsync command to crawl a hard-drive seeking only image/video files? And maybe in the process of copying them over to another ...
0
votes
1answer
30 views

move files from a list of files

So, I have a list of files in a text file. I believe it's about 100,000 files. The files in said list are spread across many directories, have different sizes, filenames, extensions, ages, etc. I am ...
0
votes
2answers
154 views

CygWin rSync can't access file folder on Windows 7 with Vagrant

Facts- Machine is connected to domain User is a domain user Windows 7 running Cygwin with SSH / Rsync set up multiple times Running the rsync command from Cygwin finds the directory "c:\code" just ...
0
votes
0answers
8 views

Different low uplink machines hold the same data, how to speed up rsync to machine with faster connection?

Two different machines hold the same data (10G+), both with relatively slow upload. I want to transfer the data to a machine that can receive with a much faster speed. Now to speed up transfer of ...
0
votes
0answers
34 views

rsync over ssh tunnel: What does this repeated message mean? debug2: channel 2: window 1966080 sent adjust 131072

I'm rsyncing through an SSH tunnel (with ssh -vv). It's not very fast and I'm getting this message about every second: debug2: channel 2: window 1966080 sent adjust 131072 Once in a while I also ...
0
votes
1answer
31 views

Source host doesn't have access to Internet, but can SSH to host that has; how can I rsync to a third, Internet host?

This is the command I used to run from my SOURCE machine rsync -Rrlt --progress --delay-updates ./my_folder root@machine-on-same-network:/home/me/. Now I need to copy over this same folder to a ...
0
votes
0answers
52 views

Rsync and find filter

I'm trying to use rsync in combination with find to restrict the number of files to copy. My code looks like this: for NODE in $NODES; do echo Processing $NODE ........ for LOGDIR in ...
1
vote
0answers
51 views

Rsync doesn't allow me copy files into mounted filesystems

I configured rsyncd.conf for public access in my rpi: log file = /var/log/rsyncd.log timeout = 600 max connections = 20 uid = nobody gid = nogroup read only = yes list = yes [public] path = ...
0
votes
0answers
38 views

Syncing a static website via WebDAV?

I am running a static website at office and the sysadmins only allow updates through WebDAV(s) (Secure WebDAV) protocol. So, I have a local copy of the files' website on my machine and I upload the ...
0
votes
0answers
26 views

Trying to rsync and use sudo on other end

Scenario: Mac OS X Machine - old computer - user: john.doe Mac OS X Machine - new computer - user: john.doe Goal: Copy /Users/john.doe/Desktop and /Users/john.doe/Documents via rsync Problem: ...
0
votes
2answers
39 views

Syncing directory between Kubuntu and Windows 7

I recently came across an issue on my work computer. I'm running Kubuntu 14.04 as my main development OS and Windows 7 for compatibility with some company software and network stuff. My problem is ...
0
votes
0answers
32 views

Secure copy one folder to multiple destinations in OS X

Sorry for asking what looks like a question that's been asked a few times. I'm very far from being a super user, which makes it very difficult for me to be able to expand on a relatively complex ...
0
votes
1answer
74 views

Do GUI and Terminal execution (of Back In Time/Grsync/other Linux apps) produce the same results?

I've opened Back In Time GUI and copied the whole rsync ... line from the last log into Terminal and executed it in Terminal. Question #1 is: if I were to do it the normal way (click 'Take snapshot' ...
0
votes
0answers
23 views

Terminal 2 way ftp sync

I am looking for a way to sync a directory/path on my computer with an ftp server so that all the files that are newer will be copied and will replace the old files. The files that have been created ...