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
15
votes
5answers
27k 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
12k 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
631 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@...
6
votes
1answer
92 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
3answers
12k 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 ...
5
votes
1answer
4k 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 ...
5
votes
0answers
117 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
5k 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
2answers
3k 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 ...
4
votes
2answers
134 views

How can I back-up an external drive while preserving attributes, folder creation date and showing progress?

Final goal Create a copy of all files one external hard drive to another external hard drive, both formatted as HFS+. Preserve the folder creation date. Preserve finder colour label. During the ...
4
votes
2answers
1k 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
2answers
551 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 ...
3
votes
2answers
4k 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
754 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 ...
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
616 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
71 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 ...
3
votes
0answers
651 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
851 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
156 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
360 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
153 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
179 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
761 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
166 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
664 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
0answers
32 views

How to tell the maximum speed of copying a file using Finder or cp or rsync? [duplicate]

I got a Samsung T7 SSD drive knowing that it can handle 1GB/s read or write, but if I used rsync -a --progress --stats --human-readable file1.m4v /Volumes/T7/file1.m4v to tell the speed of copying a ...
2
votes
2answers
567 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
1answer
397 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
650 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
5k 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
167 views

Copy Mac Time Machine Backup Directories from One External Drive to Another

I decided to stick to the safest approach to make copies of my backups. In other words, my Mac backs up everything to one external drive and then I copy that entire backup directory to the second ...
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
60 views

Rsync keeps copying the same file

I have used rsync for many years between linux filesystems without any problem with a very deterministic behavior. Now I try to use it on mac and experience some problem that some files (a small ...
1
vote
2answers
503 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
2answers
3k 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
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
545 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
178 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
1answer
377 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
1k 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
2answers
106 views

Will Carbon Copy Cloner (CCC) file/rsync-based clones to a “target disk mode” T2 MacBook work?

Summary I want to copy my entire OS/volume/disk (which is FileVault-ed) from on MacBook to another, whose volumes(s) are also FileVaulted. Assuming no OS incompatibilities between hardware, will a ...
1
vote
1answer
263 views

Copy Time Machine backup with rsync

Is it possible to copy a Time Machine backup using rsync to another HFS formatted disk. I am concerned that rsync would not be able to track the hard linked directories that Time Machine uses