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
2answers
447 views

Rsync-like automatic delta backup of a removable hard drive on windows

Well a lot of questions have been asked on the SE network about using rsync on Windows. But nothing seems to really do the trick so I'd like to expose the specific mechanism I need to setup. Lets say ...
0
votes
0answers
8 views

rsync error - Unexpected remote arg: root@1.2.3.4:/*

I'm trying to migrate centos server to a new box with rsync and I run this command in the destination server: rsync -auHxv –numeric-ids –exclude=/etc/fstab ...
10
votes
3answers
12k views

How to best clone a running system to a new harddisk using rsync?

I have a system running as a server that has a failing harddrive. While all important data is on a RAID and backed up and all that, I don't have an image of the system itself. There is no specific ...
0
votes
0answers
5 views

Sharing and sync multiple VMs with one image on server

I'm building a complex system for my research team. I thought it through a dozen of times an I'm still not sure how to execute it. I'll present my idea and I'd like to hear your suggestions for a ...
0
votes
1answer
3k views

How to set/keep directory permissions?

I'm using CwRsync to connect from my Windows development machine to a linux webserver : rsync -avuz -e ./ssh --exclude=".svn" /cygdrive/c/xampp/htdocs/project123/ ...
0
votes
0answers
23 views

Chain several ssh tunnels

I'm new on this forum. I have the following configuration: my_computer gateway1 gateway2 host_to_reach. I can access gateway1 only with an ssh tunnel which has been created by a server where I ...
0
votes
3answers
4k views

rsync option --log-file seems not to be working

I am using the --log-file option in rsync to see the logs. But when I tried to run, it says: --log-file unrecognized option Here is my command: #/usr/bin/rsync -av -u ...
0
votes
0answers
23 views

How to force rsync to stop if destination disk is full?

I am using rsync (version 3.1.0 on a centos) to do some backup task. I develop a software that monitor my rsync processes to fit the backup configuration to my buisness logic. My software launch some ...
0
votes
0answers
16 views

Can't access Samba shares after moving to another server

Here's the issue: I've recently decided to move whole Samba service to new server without recreating everything again. So, I installed Samba on CentOS 6.7 and overwrote the following: /etc/passwd, ...
0
votes
0answers
20 views

rsnapshot not deleting files from destination

So I made the jump from windows to ubuntu and love it so far. Came across rsnapshot and used it happily for a few weeks until I realised that rsnapshot is not deleting files in the destination folder ...
28
votes
9answers
24k views

Parallelizing rsync

I just moved and discovered after some trial and error that somewhere between my home and my remote server, there is some throttling going on...but the throttling is not very intelligent. It only ...
0
votes
0answers
14 views

rsync based on local timestamps only

Is there a tool like rsync that can record copied files timestamps locally, and upload only changed ones next time? Similar to running the following makefile rule recursively: file.ext.stamp: ...
0
votes
0answers
12 views

rsync, symbols not resolved but libraries found

In an embedded system I can't run rsync: $ rsync /usr/bin/rsync: symbol 'poptHelpOptions': can't resolve symbol /usr/bin/rsync: symbol '_poptBitsN': can't resolve symbol /usr/bin/rsync: symbol ...
0
votes
1answer
37 views

Linux rsync without recursive folders

I have a hierarchy of folders and want to rsync the file contents of one to another. So a simple rsync dirA to dirB However without the recursive element it does not include the files in the folder. ...
0
votes
0answers
22 views

rsync is copying all files

I have 3 servers, two of which share a drive with nfs, and other server and nfs driver share data with rsync. changes made on 3rd server transfered to nfs drive via rsync. earlier it was working ...
0
votes
0answers
31 views

Problems with rsync and ssh-key

I created a ssh-key to log into my CentOS VPS, altered the default port to 2020 and disabled password connection, so I can only log in this VPS using the key (that need a password to be unlocked). My ...
0
votes
1answer
29 views

Rsync --checksum does not catch changed files

I am transferring files from a Linux computer to a Mac. The connection sometimes drops and I restart. This is usually fine, but I check everything for a possible data corruption using md5sum. With ...
0
votes
0answers
11 views

Rsync (-aR) Create a destination subdirectory with same permissions as top folder in source directory?

I'm using rsync to grab some modules within a web platform. I am able to pull things ok, the -aR relative flag works fine, and the structure is correctly replicated into a subfolder called ...
0
votes
1answer
19 views

Can rsync use a remote environment variable?

Say I want to use rsync to copy a remote folder to my local desktop: rsync -av remote:$REMOTEDATA $LOCALDATA But I want to access the $REMOTEDATA environment variable on the remote server, not the ...
5
votes
2answers
1k views

Rsync copying current directory with name

I want to copy current directory to my backup directory: I tried this command rsync -a . ~/backup/ but it just copies the current directory contents instead of creating new directory at the ...
1
vote
3answers
3k views

Is there an rsync alternative, that stores compressed and encrypted?

I'm looking for a suitable off-site backup / file synchronization solution. Both local client and remote server run linux. Storage space on the server is limited, bandwidth between client and server ...
0
votes
1answer
499 views

Files hidden after copying from NAS to NAS using rsync

I have 2 Western Digital NAS: a blue light and a 2TB MyBook latest edition. I enabled ssh on the MyBook and I can use rsync from a terminal to sync files between the 2 NAS. Instead of copying using a ...
0
votes
1answer
275 views

Error message using scp over ssh

I'm not sure what's going on but as of late I can't seem to get any files copied to local from my remote server. I tried rsync from local and get the following error message: mut@mylocalcomputer:~$ ...
0
votes
0answers
30 views

How to make unique dump results?

I am trying to check if my read-only partitions in FreeBSD remains unchanged. I do this using dump: dump -R -h 0 -0Laf /dumps/boot.dump /dev/ufs/boot and then I compute its SHA256. I used -R to be ...
-1
votes
1answer
33 views

Linux - Copy a folder including the subfolders, BUT don't copy any file that is over 5MB

I'm managing 2 linux servers and looking to copy the data from one to the other. I'm looking to just copy these files on one server first then zip it and then scp it over. I need to copy a 100GB ...
0
votes
0answers
46 views

sftp - skipping non-regular file error

I get skipping non-regular file /home/local/dir/dir2 while using: put -P /home/local/dir/dir2 /www/dir3 Sftp connects on non-default port, with ssh key and no-password, transfers normally ...
0
votes
1answer
30 views

cloning hard drive as backup strategy - ensure bootable

I've found a number of similar scenarios on this site and serverfault but still unclear about one thing. Basically I want to rsync from one 2TB drive to another 2TB drive and run this nightly. In ...
-1
votes
1answer
26 views

Ramdisk that persists old files

I've got a program that writes a file to disk, then another processes it. Usually this happens within a second or so, so the file is nearly temporary. To avoid disk IO, I write to /dev/shm. However, ...
0
votes
0answers
18 views

rsync-like encrypted synchronization solution

I'm looking for a open source (or at least trusted free) solution which would allow me to make file synchronization on 5 devices together (running different version of Windows & Linux). However, ...
1
vote
2answers
107 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 ...
2
votes
2answers
7k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
0answers
17 views

Can I check for multiple file extensions in one rsync filter rules file per line?

I have a working rsync script, which recursively traverses our directory structure and loads one .publish file per directory. Each file contains a list of files to be publish. Publish means to copy ...
0
votes
0answers
9 views

Upload only modified part of file using rsync

I am studying rsync to synchronize remote and local folders in windows(using cwrsync). I have a doubt that, is it possible to upload only part of changes ? For example, I have a 100 MB file initially ...
6
votes
6answers
8k views

What is the fastest way to move a million images from one directory to another?

I have a million images totally 30gb of disk space that need to move from one local directory to another local directory. What will be the most efficient way? mv? cp? rsync? Something else? ...
2
votes
2answers
1k views

Can I use Acronis to create and sync a mirror of my main drive?

Having had a complete disk failure the other day, and spending two days getting everything back to normal (read: i had backups of data, but re-installing apps and a million little configs were the ...
0
votes
1answer
29 views

External drive throwing ATA errors. What's the issue?

I have an SSD in my system and an external hard drive (attached via eSATA) as a backup medium. I use "rsync" to synchronize the internal drive to the external drive. My backup drive was once a Seagate ...
7
votes
2answers
404 views

Live rsync/directory monitor for Windows?

Right now, we have a central Linux server and several satellite Windows servers dispersed around the region. Every 15 minutes, the Linux server rsyncs files from the others (which are running the ...
0
votes
1answer
79 views

synology: rsync via ssh requires full path

I found the following behaviour on a Synology RS814+ > ssh backup01 rsync Permission denied, please try again. > ssh backup01 'which rsync' /usr/bin/rsync > ssh backup01 'echo $PATH' ...
0
votes
1answer
11 views

How do you get rsync to load a list of (full rules, not limited like --include-from) filter rules from a file?

rsync has various options for reading various config from files so that you don't have to chain a bunch of individual --include or --exclude options together. All of these options (as far as I ...
1
vote
0answers
12 views

Rsync check available

Hi i have the following mesh from raspberry pi which is with protocol 802.11s. In a pi5 with an ip 10.0.0.15 i have video capture who makes files in /home/pi/Desktop, And i need to make an arhive in ...
0
votes
1answer
25 views

Starting rsync command on every hour

im new in linux just want to asking you : How to add this command to start every hour on the computer : rsync -a --ignore-existing 130.68.124.219:/home/pi/Desktop/* /home/pi/test/ Thanks
0
votes
0answers
7 views

How to migrate symbolic links from two folders?

I made a backup of "zimbra ce" rsync but I just realized that you have not copied symbolic links. I have a clean installation zimbra in /opt/zimbra/ and backup in /opt/zimbra_old/, how I can copy all ...
1
vote
0answers
31 views

rsync/scp without root password and without allowing root ssh login

This is the scenario. We have a multitude of servers, currently we simply ssh in as root using our keyfile and then when we need to rsync we use the root user. All very easy. What we would like to ...
0
votes
2answers
77 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
1answer
21 views

Is running rdiff-backup or rsnapshot save while source directory is written?

I'm wondering if it's safe to use rdiff-backup or rsnapshot on a source directory which is written to while backup is running. Will they backup a snapshot of source or will they eventually backup ...
18
votes
1answer
18k views

which is the rsync command to «smartly» merge two folders?

I have some folders that got duplicated by mistake and I have to merge them together. Let's say folder A contain file X and folder B contains file Y, I would like to get file X copied to folder B. ...
0
votes
2answers
91 views

two-way sync between mac and unix

I would like to work on a directory on two different macs and have access to a unix server that I ssh into. I would like to just start a script at the end of the day that let's me upload all my ...
-1
votes
1answer
193 views

What is Git Bash for Windows anyway?

I have happily been using git and git bash from https://git-scm.com/. There is a page with more information here: https://git-for-windows.github.io/. Yesterday I ran into a problem with rsync and ...
3
votes
0answers
130 views

Unable to rsync to another volume with Git Bash

I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com. Within bash I can copy a directory from /c/ to /e/ (a ...
0
votes
2answers
46 views

Time Machine size explodes when copied to new drive

I'm trying to replace a 640GB USB2 drive which I use as my Time Machine backup device with a 1TB FireWire 400 drive without losing the current backup history. Given that the 640GB drive is nearly ...