![]() |
|||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
#1
|
|||
|
|||
Encrypted APFS clones
I have several questions regarding encrypted clones and APFS.
The reason for question 3 is that macOS account passwords usually need to be memorized by a human, and therefore tend to have much lower entropy than truly random long passphrases. Furthermore my backup drives are transported to, and stored in, various offsite locations. For this reason I want this additional level of protection on my backups, compared to my actual computers which stay at home. Before APFS came along, I was able to create clones which were both bootable and encrypted using SuperDuper, and which required a unique passphrase which was totally distinct from any of the macOS account passwords. I did this by using Disk Utility to first create an HFS+ volume encrypted with a unique high-entropy random passphrase, and then cloning to it using SuperDuper. When I booted from the clone, the following happened:
When I tried to do the same thing with APFS using the latest SuperDuper 3.1.4, I found that SuperDuper replaced my encrypted APFS volume with a plain old non-encrypted APFS volume - which is not what I wanted. Has the capability to generate bootable encrypted clones that require a distinct passphrase vanished with the move to APFS? Last edited by wildthing; 02-04-2018 at 03:19 PM. Reason: Minor edits for clarity |
#2
|
||||
|
||||
1. You don't have to do anything special with APFS encrypted clones. It's easiest to copy unencrypted, boot from the backup and turn encryption on, but you can also format as encrypted and Smart Update to it.
2. You wouldn't, since it's not an issue with APFS. 3. Yes, format as encrypted with your own passphrase before copying...with Smart Update. I believe that will work. It certainly won't make it *unencrypted* (don't erase!).
__________________
--Dave Nanian |
#3
|
|||
|
|||
Aha! So if you use Smart Update, it still works even though the target volume is empty - and it preserves your existing APFS volume which was earlier encrypted with a unique passphrase. Whereas if you use Erase then Copy, it replaces your encrypted APFS volume with a non-encrypted APFS volume.
That certainly makes sense and is very logical! I will give it a go and see if it works! ![]() |
#4
|
|||
|
|||
Quote:
These don't really need to be bootable but I'd rather all clones be done the same way and my primary clones are bootable on HFS+ volumes. I prepared these by installing High Sierra to fresh APFS volumes, logging on and activating FileVault, then doing Smart Updates. (version 3.1.4) Two questions: 1. I'm getting UpdatePreboot errors After Successful Copy, which I believe you have mentioned previously. Code:
( 01:01:39 PM | Info | UpdatePreboot: Exiting Update Preboot operation with overall error=(0=success)=-69568 | 01:01:39 PM | Error | Error: -69568: An APFS crypto user was not found in the Open Directory user database 2. When I can I tend to avoid copying first and encrypting after, fearing that the plaintext files might not be sufficiently wiped in the process. Is this concern not justified? Might copying first solve the Preboot issues? Thanks |
#5
|
||||
|
||||
You need to erase the destination from the hardware - the very top of the drive - so it creates a new APFS superblock and container.
__________________
--Dave Nanian |
#6
|
|||
|
|||
Success
OK, I tried using Smart Update on an empty pre-encrypted APFS volume - and it worked perfectly
![]() When SuperDuper completes the backup, the target volume is preserved as "APFS (Encrypted)" - and when I boot from it the following happens:
This is the exact behaviour I wanted - a bootable, encrypted clone that requires a distinct passphrase. It's interesting that the prompt for the disk passphrase says "Disk Password" rather than login for user "[Update Needed]". Looking back at my notes, when I was using HFS+ the disk passphrase prompts were very inconsistent. Sometimes it was "Disk Password", sometimes it was both "Disk Password" and "Guest User", and other times it was both "Updated Needed" and "Guest User". It seemed to be random which one appeared. I've no idea why. I wonder if it's more consistent now with APFS. Last edited by wildthing; 02-05-2018 at 04:51 AM. Reason: Minor edits for clarity |
#7
|
||||
|
||||
Yep, it should work. That's what the Preboot volume is for (well, one of the things). The whole thing is much better managed with APFS...now if they can only improve the performance, etc...
__________________
--Dave Nanian |
#8
|
|||
|
|||
Hmm, after doing these APFS clones, Time Machine is now running for the first time since running SuperDuper - and it's suddenly decided it needs to re-copy everything, instead of the usual delta.
As there is nearly 900 GB on my primary drive it's taking more than a day, and is making my laptop very hot. Is this a coincidence? |
![]() |
Tags |
apfs, encrypted |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mountain Lion, FileVault 2 and Encrypted Backup Drives | Kampernaut | General | 7 | 09-30-2012 01:46 PM |
Security of Encrypted Disk Images | CharPatton | General | 6 | 01-18-2011 06:09 AM |
Multiple Bootable Clones | clcgit | General | 7 | 04-30-2010 01:12 AM |
Is it possible to create an encrypted disk image file with SuperDuper? | Bob | General | 6 | 04-24-2010 12:16 AM |
SuperDuper Backup of AES 128 Encrypted Disk Image | rwg4 | General | 3 | 11-30-2005 10:28 AM |