<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><span style="background-color: rgba(255, 255, 255, 0);"><font>Dear rsync users,</font><br><br><font>I'm trying to copy my Time Machine Backup from my old USB hard drive to a new one. I got error messages, because rsync don't create group and other permissions.</font><br><br><font>I use rsync 3.1.3.</font><br><br><font>Did I use the correct parameters? Who has an idea, what mistake?</font><br><br><font>Thanks!</font><br><br><font>Best, André</font><br><br><font>--</font><br><br><font>The bash script:</font><br><br><font>#!/bin/bash</font><br><br><font>source=/Volumes/LaCie\ d2\ Quadra\ v3/Backups.backupdb</font><br><font>destination=/Volumes/G-DRIVE\ Thunderbolt\ 3</font><br><br><font>#rsync_test=-n</font><br><br><font>rsync_opt=-aHEAXXN</font><br><br><font>echo "Kopiere Time Machine Backup ..."</font><br><font>echo</font><br><br><font>sudo /usr/local/bin/rsync \</font><br><font>$rsync_test $rsync_opt --fileflags --fake-super --delete --stats \</font><br><font>--log-file=/Users/andre/Desktop/log/rsync-$(date "+%Y%m%d%H%M").log \</font><br><font>"$source" "$destination"</font><br><br><font>exit 0</font><br><br><font>--</font><br><br><font>The error messages:</font><br><br><font>iMac:~ andre$ /Users/andre/Desktop/Skripte/rsync_tm</font><br><font>Kopiere Time Machine Backup ...</font><br><br><font>rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac/Latest": Operation not permitted (1)</font><br><font>rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac/2016-04-11-130912/Macintosh HD/Handbücher & Informationen": Operation not permitted (1)</font><br><font>rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac/2016-04-11-130912/Macintosh HD/etc": Operation not permitted (1)</font><br><font>rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac/2016-04-11-130912/Macintosh HD/tmp": Operation not permitted (1)</font><br><font>rsync: failed to set times on "/Volumes/G-DRIVE Thunderbolt 3/Backups.backupdb/iMac/2016-04-11-130912/Macintosh HD/var": Operation not permitted (1)</font><br><font>^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(700) [sender=3.1.3]</font><br><font>rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.3]</font><br><font>rsync: [receiver] write error: Broken pipe (32)</font><br><br><font>--</font><br><br><font>My search:</font><br><br><font>iMac:~ andre$ ls -la /Volumes/LaCie\ d2\ Quadra\ v3/Backups.backupdb/iMac</font><br><font>total 16</font><br><font>drwxr-xr-x@ 61 root  staff  2074 16 Mär 21:02 .</font><br><font>drwxr-xr-x+  6 root  staff   204  2 Jun  2012 ..</font><br><font>drwxr-xr-x@  7 root  staff   238 11 Apr  2016 <a href="tel:2016-04-11-130912" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3">2016-04-11-130912</a></font><br><font>drwxr-xr-x@  7 root  staff   238 16 Mär 21:02 <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="5">2018-03-16-210209</a></font><br><font>lrwxr-xr-x   1 root  staff    17 16 Mär 21:02 Latest -> <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="7">2018-03-16-210209</a></font><br><font>iMac:~ andre$ ls -la /Volumes/G-DRIVE\ Thunderbolt\ 3/Backups.backupdb/iMac/</font><br><font>total 16</font><br><font>drwxr-xr-x@ 61 root  staff  2074 16 Mär 21:02 .</font><br><font>drwxr-xr-x@  6 root  staff   204  2 Jun  2012 ..</font><br><font>drwxr-xr-x@  7 root  staff   238 11 Apr  2016 <a href="tel:2016-04-11-130912" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="11">2016-04-11-130912</a></font><br><font>drwx------   2 root  staff    68 18 Mär 19:11 <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">2018-03-16-210209</a></font><br><font>lrwxr-xr-x   1 root  staff    17 18 Mär 19:11 Latest -> <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="15">2018-03-16-210209</a></font><br><font>iMac:~ andre$ ls -n /Volumes/LaCie\ d2\ Quadra\ v3/Backups.backupdb/iMac</font><br><font>total 16</font><br><font>drwxr-xr-x@ 7 0  <a href="tel:20%20%C2%A0238%2011" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="16">20  238 11</a> Apr  2016 <a href="tel:2016-04-11-130912" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="17">2016-04-11-130912</a></font><br><font>drwxr-xr-x@ 7 0  <a href="tel:20%20%C2%A0238%2016" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="18">20  238 16</a> Mär 21:02 <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="19">2018-03-16-210209</a></font><br><font>lrwxr-xr-x  1 0  20   17 16 Mär 21:02 Latest -> <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="21">2018-03-16-210209</a></font><br><font>iMac:~ andre$ ls -n /Volumes/G-DRIVE\ Thunderbolt\ 3/Backups.backupdb/iMac/</font><br><font>total 16</font><br><font>drwxr-xr-x@ 7 0  <a href="tel:20%20%C2%A0238%2011" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="22">20  238 11</a> Apr  2016 <a href="tel:2016-04-11-130912" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="23">2016-04-11-130912</a></font><br><font>drwx------  2 0  20   68 18 Mär 19:11 <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="25">2018-03-16-210209</a></font><br><font>lrwxr-xr-x  1 0  20   17 18 Mär 19:11 Latest -> <a href="tel:2018-03-16-210209" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="27">2018-03-16-210209</a></font><br><font>iMac:~ andre$ mount</font><br><font>/dev/disk0s2 on / (hfs, local, journaled)</font><br><font>devfs on /dev (devfs, local, nobrowse)</font><br><font>map -hosts on /net (autofs, nosuid, automounted, nobrowse)</font><br><font>map auto_home on /home (autofs, automounted, nobrowse)</font><br><font>/dev/disk1s2 on /Volumes/G-DRIVE Thunderbolt 3 (hfs, local, nodev, nosuid, journaled)</font><br><font>/dev/disk2s2 on /Volumes/LaCie d2 Quadra v3 (hfs, local, nodev, nosuid, journaled)</font></span><br></body></html>