Contribute
Register

EFIClone - automatic backup of the EFI partition

I've checked the log file after doing a backup and I've noticed this:

"Directory hashes differ! file copy unsuccessful"

I'm still running the script in test mode so is this because of that or is the problem elsewhere? Just wondered what it means.
 
I've checked the log file after doing a backup and I've noticed this:

"Directory hashes differ! file copy unsuccessful"

I'm still running the script in test mode so is this because of that or is the problem elsewhere? Just wondered what it means.

If you are running the script in test mode, that would mean the file hashes would remain different after the file copy.

It is a good callout and I'll add an issue to my backlog to update the logging and indicate that this condition is because the script is running in test mode.
 
If you are running the script in test mode, that would mean the file hashes would remain different after the file copy.

It is a good callout and I'll add an issue to my backlog to update the logging and indicate that this condition is because the script is running in test mode.

I didn't run the script in test mode and I got the same error.

There's also another issue - I have 100.13 GB on my source drive, but CCC only copies 80.93 GB.
 
I didn't run the script in test mode and I got the same error.

There's also another issue - I have 100.13 GB on my source drive, but CCC only copies 80.93 GB.


Hmm... can you upload your eficlone log file? I'll be glad to take a look.

As for CCC not copying everything, there are certain classes of data that it does not copy.

Details are found at this URL...

https://bombich.com/kb/ccc4/disk-usage-on-destination-doesnt-match-source-—-did-ccc-miss-some-files
 
Looking at the script in Xcode I see the script should un-mount the EFI partition on successful completion - so am thinking the script has not completed successfully

EDITED to add
First of all I am no expert or anything close on scripts but it occurred to me that the EFICurrent folder was not being created - so I manually created the folder within the EFISystemRestore folder and then rebooted.
After reading the log the script ran all the way through and the EFI partition was unmounted.
On checking the EFICurrent folder it contained a backup of EFI and within the EFISystemRestore folder was the .tar.bz archive.
Same error here. Script seems not to run through completely.
 
Any update on what might be causing this? Just curious to see if things will get fixed.
 
Script does not work for me.
it does not clone the EFI as desired.
Here is a part of the log:
Code:
[Thu May 17 20:25:45 CEST 2018] - Called From Carbon Copy Cloner
[Thu May 17 20:25:45 CEST 2018] - 1: Source Path = /private/tmp/16777223@180517202431
[Thu May 17 20:25:45 CEST 2018] - 2: Destination Path = /Volumes/Hackintosh
[Thu May 17 20:25:45 CEST 2018] - 3: CCC Exit Status = 0
[Thu May 17 20:25:45 CEST 2018] - 4: Disk image file path =
[Thu May 17 20:25:45 CEST 2018] - CCC completed with success, the EFI Clone Script will run
[Thu May 17 20:25:45 CEST 2018] - CCC clone was not to a disk image. the EFI Clone Script will run
[Thu May 17 20:25:45 CEST 2018] - sourceVolume = /private/tmp/16777223@180517202431
[Thu May 17 20:25:45 CEST 2018] - sourceVolumeDisk =
[Thu May 17 20:25:45 CEST 2018] - destinationVolume = /Volumes/Hackintosh
[Thu May 17 20:25:46 CEST 2018] - destinationVolumeDisk = disk4
[Thu May 17 20:25:46 CEST 2018] - sourceEFIPartition = disk0s1 disk2s1 disk3s1
[Thu May 17 20:25:46 CEST 2018] - destinationEFIPartition = disk0s1 disk2s1 disk3s1
[Thu May 17 20:25:46 CEST 2018] - efiBootPartitionUUID =
[Thu May 17 20:25:46 CEST 2018] - efiBootPartitionDisk =
[Thu May 17 20:25:46 CEST 2018] - Source and Destination EFI Partitions are the same. Script exiting.
Any hint to solve the problem?
 
Also did not work. The EFI back-up no longer exist as of 4 days ago, any thoughts about how to get the EFI back-up going again. Just updated Clover to r4497:
[Wed May 23 19:57:25 MDT 2018] - ***** EFI Clone Script start

[Wed May 23 19:57:25 MDT 2018] - working directory = /

[Wed May 23 19:57:25 MDT 2018] - Running /Users/elfcake/Downloads/EFIClone-master/EFIClone.sh

[Wed May 23 19:57:25 MDT 2018] - Called From Carbon Copy Cloner

[Wed May 23 19:57:25 MDT 2018] - 1: Source Path = /Volumes/HackinBigStore

[Wed May 23 19:57:25 MDT 2018] - 2: Destination Path = /Volumes/8Tb Massive

[Wed May 23 19:57:25 MDT 2018] - 3: CCC Exit Status = 3116

[Wed May 23 19:57:25 MDT 2018] - 4: Disk image file path =

[Wed May 23 19:57:25 MDT 2018] - CCC did not exit with success, the EFI Clone Script will not run
 
Hi @wombat94
Very nice post, thank you.
Do I need to install Clover onto Target drive before running the script?
Or will it create a EFI drive for me?
Thanks.
 
Back
Top