Questions tagged [rsync]
For questions about the rsync tool, which is a Unix utility for synchronizing files across computer systems.
109
questions
0
votes
0
answers
38
views
how to rsync data to JAMF-controlled MacBook OSX 12.2?
I have an old and a new laptop - both are JAMF controlled. The new computer already has a account with the correct user name.
Which rsync --exclude parameters do I need, to copy over the user account ...
1
vote
0
answers
16
views
When using rsync to sync a sparsebundle are --delete and -X for extended attributes options recommended?
I have scripts that rsync Time Machine sparsebundles to a remote server for offsite backups. I've always assumed that extended attributes are a function of the internal image filesystem and not the ...
1
vote
1
answer
77
views
Maintain Finder's file lock during rsync?
I'm using rsync to keep two drives in sync. I use the --archive flag which is meant to maintain permissions. However, files which are "locked" in Finder do not show as locked after the rsync ...
0
votes
0
answers
29
views
Disk clone for encrypted external disks
I have an external hard drive that has APFS encrypted volumes on it.
I want to clone the entire hard drive bit for bit to a second external drive.
What is the best tool to do this, and can it be done ...
0
votes
1
answer
489
views
rsync 2.6.9 crashing on macOS Monterey
On Big Sur I had an rsync command running daily to backup files from a network drive to an external harddrive. I've recently upgraded to Monterey and now it's crashing the mac, even if I just try a ...
1
vote
0
answers
32
views
How to schedule and run a cron/launchctl job that will wake computer if asleep
I have a script that performs a backup of my PhD data using rsync. The rsync is performed between my laptop and a home server I have running. The broad idea here is that I normally use my server to ...
0
votes
0
answers
45
views
Sparsebundle issues: rsync fails and bash completion shows files that don't exist
The strangest thing is happening right now, so I'm just going to do my best to explain:
I have two hosts: a MacBook Pro ("MBPro"), and an iMac ("iMac"), both running Mojave 10.14.6....
1
vote
2
answers
426
views
Which files should be excluded in an rsync backup (with macOS Big Sur / version 11.5.1)?
Context:
I've been backing up my MacBook Pro with rysnc (now version 3.2.3, protocol version 31) to external hard drives formatted with NTFS. I'd like to continue with this procedure if possible.
...
2
votes
3
answers
659
views
rsync 3.2.3 keeps crashing on Mac mini M1
Trying to use rsync on a Mac mini M1 to backup from an external hard drive(formatted as APFS) to a NAS (shared as smb/cifs). I've tried a number of rsync commands but this was the most recent
rsync -...
-1
votes
1
answer
181
views
Updating rsync through Homebrew vs updating through .tar download
What are some of the advantages and disadvantages of updating the version of rsync installed using Homebrew vs downloading a .tar file and installing it this way https://hargitai.co.nz/upgrade-rsync-...
2
votes
1
answer
1k
views
How to disable "ignore ownership" option on an external volume on Mac OS X El Capitan?
I'm using a MacBook Pro 13'' mid-2012 running Mac OS X El Capitan (10.11.6).
My problem is similar to https://serverfault.com/a/402216/616473.
I use rsync to create backups from my internal drive to ...
0
votes
2
answers
72
views
How to delete a backup of /dev/fd?
For extra safety, I recently decided to make a second backup of my Macbook's HD. Initially I did so with rsync, because I was already using Time Machine for my first backup. But then I realized Time ...
1
vote
1
answer
74
views
Transfering file and folder permissions to a clean install with rsync?
I'm periodically backing up my Mac user-folder to a remote machine by running rsync with a cron job on my machine. I'm thinking that anything useful will be in the user-folder and I can always ...
1
vote
1
answer
215
views
Problem with rsync in AppleScript
Im facing a problem with AppleScript/Rsync.
I try to copy various folders from various drives to one HDD.
The following shows a part of the Apple script which is more or less always the same part of ...
0
votes
1
answer
320
views
rsync on macOS Catalina : filename overflows max-path len by 2
I am trying to use rsync to transfer files to a Macbook Pro, like this :
rsync -avn --delete /Users/name/ fab@remote.local:/Users/home_name_from_old/
Unfortunately, I get the following errors on some ...
3
votes
3
answers
1k
views
Copy home directory from one Mac to another both running macOS Catalina
I have a new 16" and an older 15" MacBook Pros both running macOS Catalina. I want to transfer all my the content in my home directory to the new MacBook Pro while retaining the same ...
1
vote
1
answer
176
views
Permissions errors when using launchd to run rsync between local drive and afp network drive
I am trying to sync a local directory to my NAS that is mounted via the afp protocol as a drive. I am using rsync. When I run the command from the terminal, it works fine. However, when I try to run ...
1
vote
0
answers
157
views
Migration Assistant, rsync, cp and Catalina: How to copy everything in `/Users`
So I just got a brand new 13" MBP and I started with the migration assistant, but it doesn't copy enough from the ~/Library folder. For example, I'm missing my Apple Notes from that machine and ...
2
votes
1
answer
599
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 ...
2
votes
0
answers
40
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 ...
1
vote
0
answers
536
views
Rsync is terribly slow (0,5MB/S) on Catalina but the same rsync job is much faster (50MB/S) running from a Debian VM on the same mac?
i'm reaching out to you guys because i'm at my wits end.
I've been trying to figure out why using rsync over ssh is so slow on my macbook (15inch from 2015).
Basically i'm trying to backup my home ...
1
vote
3
answers
2k
views
Using rsync with path names containing spaces
I am trying to use rsync (on macOS Catalina) but have trouble with spaces in file path names. I have used -s or --protect-args but they do not do anything (when I look at the help for rsync, these ...
2
votes
0
answers
164
views
problems resulting from launchd script running when computer is sleeping
I have a Bash script that copies a specified set of files/directories to a remote server via rsync. It is run by launchd as a Global Daemon every day at 3am. The computer is sleeping most of the time ...
1
vote
0
answers
59
views
Automator Run Shell Script - Wrong output
I'm using Rsync for backing up a server. I thought I would make use of Automator to create easy backup-executables.
And as the server has large amounts of data I need to split the data across multple ...
1
vote
1
answer
212
views
Can't authenticate using SSH key when running script via launchd
I have a Bash script that executes an rsync command to sync files with a remote server.
#!/bin/bash
rsync -auvzP --exclude=.bundle --exclude=node_modules --exclude=tmp '/Volumes/Norman Data/me/....
4
votes
2
answers
734
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 ...
0
votes
1
answer
228
views
Creating Rsync script to copy files for multiple users and the shared directory
I want to copy files to an external drive to use as a backup using RSync. I have installed OpenMediaVault to serve as NAS. I installed RSyncOsX to have a GUI to set parameters for Rsync to execute. ...
1
vote
2
answers
448
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 ...
0
votes
0
answers
58
views
Does remote copy with scp support the -E flag?
In this documentation page section titled "Copy a file or folder remotely", Apple says scp supports the -E flag, which preserves extended [file] attributes, resource forks, and ACL information.
On ...
11
votes
1
answer
4k
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.
1
vote
0
answers
71
views
How to copy Time Machine directory when rsync can see files but ls can't?
I recently used GNU ddrescue to save a 6TB drive that was having troubles. When I would try to mount the drive, fsck_hfs determined it couldn't be fixed (it was trying to rebuild the catalog b-tree, ...
1
vote
1
answer
503
views
rsync errors, but only when run in launchd
I have a script which runs rsync on my ~/Library/Preferences/ folder:
#!/bin/zsh -f
SOURCE="$HOME/Library/Preferences"
TARGET="$HOME/Dropbox/Backups/Preferences/$HOST"
LOG="$HOME/logs/$HOST/${NAME}...
2
votes
2
answers
657
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 ...
6
votes
2
answers
2k
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 ...
3
votes
0
answers
121
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 ...
5
votes
0
answers
339
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 ...
0
votes
1
answer
513
views
How To Keep 2 Folders In Sync Real-Time?
I would like to keep Keybase data folders backup up to my local computer with some kind of real-time file sync solution.
Every time Keybase is opened, any local files sync to Keybase associated ...
3
votes
1
answer
2k
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 ...
1
vote
0
answers
62
views
Why would running rsync cause the Date Modified value on a particular folder on the source volume to change?
I ran rsync last night to backup some of my drive. When I woke up, the source folder (which is sorted by Date Modified, descending) had a particular sub-folder at the top which I haven't touched in ...
1
vote
1
answer
35
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 ...
5
votes
2
answers
2k
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?
4
votes
2
answers
6k
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 ...
0
votes
0
answers
188
views
How to repair, merge, or "update" (using rsync ?) partially downloaded/backed up duplicate icloud archives?
When I used icloud drive on my mac, and then disabled it, it moved all of my desktop files and documents to an archive. This happened multiple times. Now, I am no longer using this feature and I want ...
2
votes
1
answer
223
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/...
1
vote
1
answer
453
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 ...
0
votes
1
answer
184
views
Transferring data to a new external hard drive without breaking links
I'm trying to migrate my data from an old external hard drive to a new one. When I copy and paste from within Finder, the data seems to expand to take up much more space, so I'm assuming some link ...
1
vote
1
answer
327
views
rsync -a not preserving file ownership or group
I'm rsyncing from a remote linux box to my local solid state hard drive on my mac running High Sierra. I'm using the -a switch (archive) which is supposed to preserve the ownership of the group but ...
4
votes
2
answers
4k
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 ...
2
votes
1
answer
486
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 ...
6
votes
1
answer
903
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@...