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
8 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
17 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
492 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
264 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
24 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
30 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
23 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
25 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
25 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
17 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, ...
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
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
25 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 ...
1
vote
2answers
100 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
12 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
7 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
7k 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
28 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
387 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
51 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
10 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
24 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
24 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
69 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
90 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
109 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
82 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
45 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 ...
1
vote
1answer
2k views

Using rsync to backup a Windows-hosted share over Samba in FreeBSD

I am trying to backup a Windows-hosted share, using rsync, from a FreeBSD8.2 box: bash$ sudo -i bash# uname -a FreeBSD zeus.companyname.gr 8.2-RELEASE ...amd64 bash# cat /root/.nsmbrc ... ...
0
votes
0answers
10 views

How to rsync files from machine A to machine C via machine B?

I need to rsync files from machine A which is not accessible from my machine (machine C) and it can only be accessed from machine B. How do I rsync files via another machine? files (machine A) ...
0
votes
0answers
8 views

Is there a faster syncronizing between NAS bays

I'm owning a consumer home 2-Bay NAS (ARM CPU, 512 MB RAM) with both bays containing a 4 TB Harddisk, whereas the first HD is the working one, and the second HD (in the bay) is almost a duplicate of ...
0
votes
0answers
11 views

Link errors with symlinks

I've moved all the files of ./usr to an external drive /home/Linkados/usr (SD card 8Gb) using $rsync --progress -l -r /usr /home/Linkados/usr Then I created a symbolic link from my SD to my flash ...
0
votes
0answers
38 views

Vagrant cant rsync Windows

I have a problem with Vagrant. I'm using a CentOS vm. The vagrant up command sucessfully maps files from Windows to the CentOS vm, and gives no errors when bringing the machine up. EDIT: ...
1
vote
1answer
22 views

Why does rsync not create a hard link in my Backup Set?

I am trying to set up an rsync Backup from my Windows pc to my raspi. On the raspi I have an NTFS formatted usb stick. When I sync files to the target everything works fine, except that rsync will not ...
0
votes
0answers
18 views

Verify integrity of a file BEFORE rsync (preventing propagation of bit-rot)

I've got some ideas on how I could craft something together myself using Python and a utility like hashdeep to do this, but I'm willing to bet I'm not the first person that needed to solve this ...
1
vote
0answers
24 views

Send large files to server through low bandwidth connection

I'm trying to send large files (> 200Mo) to a remote server with a limited bandwidth using rsync. For now, it doesn't even start sending, only dry-runs succeed. My tests are working on other servers ...
0
votes
1answer
24 views

Why is my .bat file doing a infinit loop?

I've created a .bat file for running my cwRsync script. From CMD line, this works great: rsync -avz ./ {destination} --chmod=ugo=rwX --rsh "ssh -i id_rsync -p 9672" --recursive --delete Now, If ...
1
vote
0answers
40 views

I can't rsync to my phone

I have a strange issue, i can connect to my phone using ssh, I can navigate inside its storage but I can't rsync to it. I use Ubuntu as OS in PC, I have an Android (5.0) not rooted phone, with ...
0
votes
0answers
18 views

Can you have a SSH window on a Synology itself?

I was wondering if it's possible to SSH on a Synology itself, instead of on your local machine? I need to merge folders/copy files/ignore already done all data from an USB drive (connected to my ...
3
votes
1answer
31 views

rsync with just a single rule file, exclude some paths but include selected sub-paths therein, recursively

I want to exclude all the contents of a folder but some of its sub-folders, and I want to do it with just a single rule file without adding --exclude or --include command-line options. Is this ...
4
votes
1answer
62 views

How to make rsync actually continue from where it left off?

As a total newbie, after reading tons of questions in SO and the documentation repetitively several times, I came up with this solution: rsync -Pavuh --append-verify source destination Where ...
1
vote
1answer
133 views

rsync without remote having it

I'm wondering whether there's a possiblity of using rsync when the remote server doesn't have it installed (or at least not available to my user). The remote server is a shared host, and while I ...