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
votes
1answer
29 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
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 ...
0
votes
0answers
22 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
22 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
24 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
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 ...
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
5 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 ...
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
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 ...
0
votes
1answer
47 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
23 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
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 ...
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 ...
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 ...
1
vote
1answer
20 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
34 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: ...
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 ...
2
votes
0answers
77 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 ...
-1
votes
1answer
102 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 ...
1
vote
0answers
22 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
39 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 ...
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 ...
4
votes
1answer
61 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 ...
3
votes
1answer
28 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 ...
0
votes
0answers
28 views

rsync is changing my filenames

I use rsync to synchronize remote directory with my local one. My command is: rsync -e"ssh -i /path.to/id_rsa" -aP MyUsername@HostIP:/path/to/host/backup/ /path/to/local/backup --exclude '*.sql' ...
1
vote
1answer
55 views

How can I clone files from OS X to a FAT32 formatted USB pen drive?

I have my music library on my Synology NAS which is an ext4 file system. I copy those files to a V-FAT formatted USB thumb drive ($usbdir), and then use the thumb drive in my car. The problem is the ...
0
votes
1answer
17 views

rsync --delete when destination is remote

I'm using a script that pulls and pushes files from my laptop to my server. The command I use to push any changes is this: rsync -Pravtz --delete /home/username/sync/* ...
0
votes
0answers
27 views

Move files from Linux disk img to Windows to Linux server and keep permissions?

I have a backup disk image that I am trying to upload to my server. The problem is that the disk image is corrupted according to Linux. However, using DiskInternals Linux Reader on Windows I can open ...
0
votes
0answers
31 views

Ubuntu admin can't open a directory - permission denied

Ok, so I have family backing up to my Lubuntu desktop server (ubuntu). They do rsync over ssh and the backup works fine. I then run backintime to make daily backups to another server. I am the admin ...
0
votes
0answers
23 views

rsync via sudo user using ssh not working

I logged in as USER1 and I am trying the below one from shell script. rsync -v -p -t -e "sudo -u USER2 ssh" USER2@HOST2:${REMOTE_FILE_TO_MOVE} \ ${DESTINATION_PATH} It prompts password for USER1 ...
1
vote
1answer
45 views

rsnapshot: What's wrong with my crontab?

I am using Rsnapshot for backups (Linux CentOS 6). Here is my /etc/cron.d/rsnapshot: 30 11 * * * root /usr/bin/rsnapshot nowandthen > /backups/rsnapshot_cron.txt 2>&1 15 11 * * 4 root ...
0
votes
1answer
51 views

Incremental Snapshot Style backups with rsync on NTFS

I've taken over development of an embedded Linux product which needs a reliable backup solution. Backups are to be performed without compression to an attached USB storage device formatted to NTFS. ...
0
votes
0answers
80 views

rsnapshot exclude_file not working for local backup?

I've setup rsnapshot for 2 Ubuntu 14.04 servers. One is over SSH, the other is local. The configs are almost exactly the same, however the local backup seems to not honor the exclude_file. Global ...
0
votes
1answer
106 views

rsync vs cp on Synology NAS

After i was disappointed with the performance of an external USB drive with my Synology DS251j i did some transfer tests on the shell. Interestingly i found that copying a 1GB test file takes over ...
0
votes
1answer
58 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
0
votes
0answers
24 views

Strategy for transporting VM between home and office

I would like to keep a VM work environment that I carry back and forth between home and office. Right now I have the VM on an external SSD. I can think of three approaches: Work off the SSD and open ...
0
votes
1answer
28 views

Rsync over a Network

I can't exchange files between my pcs, when I give the command sudo rsync -av -delete --rsh=ssh localhost/directory remotehost/directory remotehost root password is required but when I type it the ...
1
vote
1answer
33 views

unable to remove symbolic links of rsync copy of /bin and /dev

I accidentally made a rsync copy of my root directory, "/" using the -a option, as follows: user@mycomputer:~$ rsync -a / /backup-dir user@mycomputer:~$ ls -l /backup-dir/ total 10102784 drwxrwxrwx 1 ...
3
votes
1answer
19 views

Rsync: Skip files that are not present locally?

+------+-----+------+ |Local | |Remote| +------+-----+------+ |file01| <- |file01| +------+-----+------+ |- | |file02| +------+-----+------+ |file03| <- |file03| ...
5
votes
0answers
44 views

Make rsync show progress on checksum comparison, even if no difference is being found

I run this command to check the identicalness of two folders and put all differences into a log file: rsync -av --delete --checksum --dry-run --stats --itemize-changes --out-format='%t %i %f ' SOURCE ...
0
votes
1answer
82 views

Rsync hanging on files from client to LAN NAS server via ssh

I'm using rsync to do a backup to a NAS on my local network over SSH. However when running rsync I'm finding that it's getting stuck on certain files. Rsync will completely freeze and refuse to ...