Hi all,

I am trying to backup a MacOS 12 system. At least the user data, not the full system.

I was able to allow access from remote through rsync. My backuppc user can do a ssh username@macbook without any issues.

I configured the mac in Backuppc to exclude the directories which appear not to be accessible for my user. Just do a backup of /Users/username/, not the full system.

I had an issue with the "-s" parameter just as described in an old post four years ago in this list. So I just removed the "-s" (--protect-args) from the client configuration and the rsync backup finally went fine.

Well "fine". It did not show any errors but when checking my backup it really looks strange. Some directories are empty in backup where the Mac has files in it. Other directories I excluded as above have files stored in backup. Strange.

So what I have:
/user@macbook ~ % du -hs * >log//
//user@macbook ~ % cat log //
//172M    Applications//
//1,0M    Desktop//
// 57G    Documents//
//3,0G    Downloads//
//5,8G    Library//
//172K    Movies//
// 12M    Music//
//4,7G    Pictures//
//  0B    Public

////user@macbook ~ % ls -lh //
//total 8//
//drwx------   3 user  staff    96B 29 Nov 10:30 Applications///
//drwx------+ 11 user  staff   352B  6 Dez 08:44 Desktop///
//drwx------@ 95 ///user/  staff   3,0K  4 Dez 21:57 Documents///
//drwx------+  9 ///user/  staff   288B  6 Dez 08:41 Downloads///
//drwx------@ 87 ///user/  staff   2,7K  5 Dez 06:44 Library///
//drwx------   5 ///user/  staff   160B  4 Dez 22:41 Movies///
//drwx------+  4 ///user/  staff   128B 29 Nov 06:19 Music///
//drwx------+  5 ///user/  staff   160B  4 Dez 13:18 Pictures///
//drwxr-xr-x+  4 ///user/  staff   128B 28 Nov 18:16 Public///
//-rw-r--r--   1 ///user/  staff   123B  6 Dez 09:01 log//
/
And this is how my backup looks like (let only important information there):
Name     Type     Mode     #     Size     Date modified
   Applications     dir     0700     0     0     2021-11-29 10:30:18
   Documents     dir     0700     0     0     2021-12-04 21:57:11
   Downloads     dir     0700     0     0     2021-12-05 10:38:47
[...]

So you notice these directories have files in them. But not in the backup. The logfiles stays everything was fine:

2021-12-06 08:21:20 full backup started for directory /Users/user
2021-12-06 08:29:12 full backup 0 complete, 9214 files, 44660018 bytes, 9 
xferErrs (0 bad files, 0 bad shares, 9 other)

The missing files within the directories should be fine by permissions:
user@macbook ~ % ls -alh Downloads | head
total 6024
drwx------+    9 user  staff      288B  6 Dez 08:41 ./
drwxr-x---+   22 user  staff      704B  6 Dez 09:01 ../
-rw-r--r--@    1 user  staff      766K  5 Dez 08:31 some_file.pdf


The "+" sign indicates some extended ACLs on the directories which I checked, too: /user@macbook ~ % xattr Downloads/2018_10_17_Mobil-O-Graph_DE_VerB_Website.pdf//
//com.apple.lastuseddate#PS//
//com.apple.macl//
//com.apple.metadata:kMDItemWhereFroms//
//com.apple.quarantine//
/
Anyone having an idea how to get my files properly synced?

Thanks!

/KNEBB

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to