Questions tagged [rsync]

For questions about the rsync tool, which is a Unix utility for synchronizing files across computer systems.

Filter by
Sorted by
Tagged with
13
votes
5answers
24k views

Using rsync to backup

I currently back up the contents of an external hard drive A by (1) deleting everything in the destination external hard drive B and (2) copying everything from A to B (in Finder). The external hard ...
10
votes
5answers
2k views

What program should I use to transfer 20TB data across the network?

I need to copy 20TB of data onto a thunderbolt array. The box where the data exists does not have a thunderbolt connection, so I will need to utilize the local 1GB network for this. (Yes, it will take ...
10
votes
4answers
11k views

Are there any up-to-date rsync frontends or similar for OSX?

For my work as a media professional I have been using the rsync frontend arrsync to back up my work, as time machine doesn't have the features I need. Arrsync, however, has not been in development for ...
6
votes
1answer
84 views

Trying to copy archive from one network share to another while ignoring the tilde character

I've been trying to copy an archive volume from one network share to another. Because most of these files are Mac files, I am using Mac Terminal to do so. I've tried every combination of cp, rsync, ...
5
votes
3answers
12k views

Use rsync to automatically copy a file to another folder

I found this command to copy the content of source to a destination folder. rsync -r source/* destination What I would really like is to have this command run automatically each time a file is added ...
5
votes
1answer
444 views

How to use rsync via ssh with IPv6 LLA (link local address) addresses on OSX?

I'm using OSX High Sierra and bash. I'm trying to use a backup script based on IPv6 LLA (so I always reach the server, without DHCP, names etc). With IPv4 this works: rsync -e ssh /src/dir/* user@...
5
votes
0answers
82 views

Why is finder copy faster than Rsync for local volumes?

I routinely find that the finder is faster for local disk to disk copy operations than Rsync. For instance Rsync on a large directory (100gb with 14000 files) can take many times longer than the ...
4
votes
2answers
4k views

Rsync with Linux server: special character problem

I have a problem with using rsync for backuping files on my remote linux machine to my Mac. The first time all is well, but apparently there is a problem with special characters between the mac and ...
4
votes
2answers
3k views

How do I grant root access to user files in Mojave?

I upgraded my laptop to Mojave. For years, my backup strategy has included using rsync (MacPorts rsync 3.1.3) to copy files to a file server. This stopped working properly, now showing some errors ...
4
votes
3answers
10k views

How to keep original “date created” when copying via Terminal?

There are many questions online asking how to make the commands rsync and cp go about copying a file while keeping the "date created" attribute the same as the original instead of the time of copy. I ...
4
votes
1answer
3k views

Rsync not copying some files with extended attributes

I am attempting to rsync from a network mounted volume to my Desktop. However some but not alll of the files are not copying because of an rsync error. I am using rsync 3.1.1 from Brew. I'm using ...
3
votes
2answers
2k views

Using Rsync For Exact Copy

I've used rsync before, on Linux, many times, but also many years ago and I also don't know if there are any differences or issues between using it on an iMac and on Linux. I have a drive with a ...
3
votes
2answers
3k views

copyfile errors and dot files using rsync

I read @SwisherSweet's question of the fastest and safest way to copy massive data from one external drive to another, along with @GrahamMiln's excellent answer. I'm in a similar situation where I ...
3
votes
2answers
503 views

update rsync in high sierra

I want to update rsync in high sierra. After I installed it using homebrew, it is installed in /usr/local/Cellar/rsync/3.1.3_1 rsync --version still shows 2.6.9. how can I fix that?
3
votes
1answer
1k views

bug with rsync changing modification dates even with the -a option

I have been testing rsync and found a weird bug when copying files and folders from a partition to another: If I do this: rsync -avE --delete '/Volumes/disk1/origin/' '/Volumes/disk2/destination/' ...
3
votes
2answers
586 views

Using `rsync` as more advanced `cp`

For copying large files (and/or large quantities of files), especially across disks, I prefer to avoid using the Finder as it often fails with some meaningless error message and/or complaint about ...
3
votes
0answers
593 views

rsync doesn't copy some files - failed to open /tmp files

I am trying to copy everything from one disk partition to another, so I have used: > time sudo rsync -aE --progress /Volumes/Files/ /Volumes/xxxx\ archive The copy takes almost 10 hours for ...
2
votes
2answers
774 views

Rsync to macOS Sierra fails

I have a directory in my Ubuntu computer with the following sub directories: emacs.d/el-get/python-mode/ ├── extensions ├── EXTENSIONS ├── INSTALL ├── INSTALL-INFO-FILES ├── ... └── website When I ...
2
votes
1answer
131 views

Safest rsync command options?

What are the safest commands to use with rsync to copy from one hard drive, all its content to a new hard drive, both external through my Mac. The important thing is I want to be sure permissions ...
2
votes
2answers
303 views

Back up Mac using CarbonCopyCloner with command line only?

Background: I never expected to have only command line access to my Mac, but the day has arrived! :) Due to a video card problem, any attempt to boot the normal OS or recovery partition results in ...
2
votes
2answers
3k views

Which directories should I back up to save all of my data?

Would backing up my home directory be enough or does OS X saves important files outside of it I should be aware of? This is not supposed to be a full OS backup, I only want my data. Applications' ...
2
votes
1answer
99 views

System using old version of rSync instread of new version

I have a Mac computer and would like to send backups to a Synology NAS. Apple has rSync 2.6.9 pre-loaded with the operating system. I installed rSync 3.1.3 using HomeBrew as Synology Active Backup ...
2
votes
1answer
101 views

Cannot load rsync daemon in Sierra. Log shows: “assertion failed: 16G1408: libxpc.dylib”

I'm trying to start rsync --daemon on Sierra (10.12.6), using launchctl. It used to work fine (last time in Mavericks, I think). But now on Sierra, the daemon does not start and grep rsync /var/log/...
2
votes
1answer
2k views

Keep bootable backup with rsync [closed]

I've ditched Carbon Copy Cloner now that it went commercial, well I felt guilty about using a closed source application anyways. What rsync options do you prefer when maintaining your bootable ...
2
votes
1answer
161 views

Permanently disable Spotlight on disk that is used with rsync

I'm using rsync to mirror files from my internal drive to an external USB hard drive. This is the command I'm using: /usr/local/bin/rsync --archive --exclude='.DS_Store' --delete-after --progress --...
2
votes
2answers
731 views

Backup a bootable partition with rsync

I use rsync to create a backup of my boot partition (Mavericks). Everything is OK (during the backup) but the backup partition does not boot (it seems to loop infinitely). I think I used the correct ...
2
votes
1answer
1k views

merge folder trees on OSX by moving, not copying them

It's backup time, and I've been trying to merge two big directory trees on the same (physical) partition, with lots levels of depth. The first one is the base containing all my projects up to 2014, ...
2
votes
2answers
147 views

Unexpected results from rsync

I am trying to use rsync for back up using this command: rsync -vaE --progress --delete /source /destination My goal is to have the destination be an exact copy of the source. I have updated rsync ...
2
votes
1answer
610 views

Safest way to copy files to AirPort Disk from the command-line?

I have just started using an AirPort disk (a Drobo connected by USB to the AirPort Extreme). I am trying to decide what is the ‘safest’ way to copy files to the Drobo from my MacBook Pro, which ...
2
votes
1answer
7k views

Explanation for Ridiculously Slow Copy Speed

I am backing up data files from one encrypted image to another. They're text files ranging in size from a few hundred kilobytes to a few megabytes. The process has become excruciatingly slow and is ...
2
votes
2answers
715 views

Git vs rsync when resource fork must be preserved

I have some ancient files that I need to share between Macs. There are over 100,000 of them. I need to keep the directory containing these files in sync. I thought Git would be a good solution, and it ...
2
votes
2answers
62 views

Will rsync copy extended attributes, ACLs, etc. reliably enough for Time Machine?

I am copying a TM backup to a new drive over USB by drag&drop per Apple’s recommendation. But since it is more than two terabytes, I am concerned about the risk of interruption. If I try to ...
2
votes
0answers
16 views

rsync denied to access directory when run with launchctl

I have mounted samba share in "/Volumes/Samba" with full read/write access right to it. I created simple script to rsync files from smb share to folder on my disk, when I lunch script from terminal ...
2
votes
1answer
310 views

User input in Automator's “Run Shell Script”

I have a Folder Action on a /Volumes folder. I'm checking when a specific disk is mounted (folder in /Volumes created), checking ssh to remote computer. If all present I run rsync there. It was OK ...
2
votes
2answers
594 views

Sudden proliferation of 'Too many open files in system' errors. Can't do backup [duplicate]

My computer is showing signs of impending hard drive disaster. Time Machine recently killed all my backups and has not cooperated since. I tried backing up with Super Duper, but it quit after about a ...
2
votes
2answers
4k views

Synchronise folders on different Macs using rsync

I am trying to synchronise two different folders using rsync. I have copied all the data worth 4Tb from a network share to an external hdd using rsync -v -r /source /destination. Now I need to run ...
1
vote
2answers
398 views

I canceled (control+c) rsync transfer on a large file; will it be picked up if I start over?

I am coping a about 5TB of data from a Drobo attacked to a Mac Mini running macOS Sierra to a NAS (FreeNAS). Here's the command I am using: sudo rsync -a --stats --progress "/Source" "/Destination" ...
1
vote
1answer
2k views

Are copies using rsync faster than using Finder?

So - I have a question about using rsync in Terminal. I need to move a Time Machine backup off of an external drive in order to reformat it. The 'backups' folder is nearly 300 GB. At first I tried to ...
1
vote
1answer
28 views

Rsync mishap .. OS hdd is now full

I attempted to use the command: sudo rsync -vaE --progress /Volumes/1-mate /Volumes/Hired-Hand .. to move the contents of one connected drive to another. This was going great until my boot drive ...
1
vote
2answers
427 views

rsync cron job for backup not working

I'm trying to run a backup from one HDD to another at 10pm everynight on a Mac Pro. I have tested the rsync and it backups just fine outside of the cron table. Here is what I have and it's not running ...
1
vote
1answer
152 views

Terminal command that is the same as copy paste in Finder?

I'm curious. As far as cp and rsync I see all these different options. Correct me if I'm wrong, but if you copy + paste in Finder, lets say from one hard drive to another, it should preserve: All ...
1
vote
2answers
2k views

Automator gets stuck at shell script

I am building an automator script to do automatic backups to a network drive via rsync. The shell script works perfectly fine in terminal and completes and everything, but when i run it from automator,...
1
vote
1answer
363 views

How to mirror one folder to another using rsync 3.x?

I have compiled rsync 3.0.9 just because the one included in Mavericks is so old. Anyway, I am trying to mirror a folder in my main HDD in another HDD. I don't think it matters but both are connected ...
1
vote
2answers
965 views

RSYNC recursive over Time Machine Backups identify unique files

i have an issue with my Time Machine Backup. To fix the mess i thought about waling recursively over all TimeMachine Backup folders. Oldest Backup RSYNC to NEW_TARGET Recursively go over every ...
1
vote
1answer
309 views

duplicate a folder/file structure using a placeholder file

I have a large library of digital media. Most of it is kept "offline" but the library software I use (Plex) uses media files to build the library and so I need to use placeholder files. Using 30 ...
1
vote
1answer
316 views

Error messages in rsync

When I run rsync -avz --exclude-from=exc ~/ /Volumes/Backup/home/ I get the message sending incremental file list ./ .DS_Store ...<snip>... (lots of files).... End of list of files sent 72,...
1
vote
1answer
2k views

Run a command on a schedule and verify that it has run

I want to run an rsync command each day or more often to back up a raspbery pi on my network to a drive attached to my mac. I see launchd, but I'm very confused about how to get it to work, and I ...
1
vote
1answer
1k views

Rsyncd: unable to bind any inbound sockets on port 873

I'm running OS X El Capitan. I want to run rsync in daemon mode but I'm unable to do it. Here is the error from /var/log/system./log: rsyncd[1329]: unable to bind any inbound sockets on port 873 ...
1
vote
1answer
4k views

Where is Rsync's default temp directory?

I'm using rsync to backup files to an external hard drive; my boot disk is pretty full. Rsync keeps failing due to not enough disk space to build the temporary file list, and unfortunately doesn't ...
1
vote
1answer
2k views

how to debug configure.sh errors when compiling rsync on Yosemite

I am trying to build myself a new version of rsync 3.1.1 under Mac OS 10.10.3, as the mac comes with an older version, and the project does not distribute binaries. I followed this simple script but ...