Benches macOS

1

Time Machine unknown password

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

At the end of last month, Time Machine started to give me warnings. It said that it had verified my backups and that it needed to start over to improve reliability. I tried to fix my sparsebundle with a plethora of the tutorials that can be found online, but none of them worked. I put the issue aside to investigate at a later time.

Yesterday, I wanted to reinstall macOS because of another issue. So I copied the old backups to somewhere safe, and I let Time Machine create a new backup. That took the whole night to complete. This morning, I reinstalled macOS without restoring the backup because I wanted to cherry-pick what to restore later.

After the installation had finished, I wanted to enable Time Machine with the backup that I created last night. However, it wouldn't let me, because the backup is encrypted apparently.

Now, I'm 100% sure that the original backup didn't have a password. I tried all passwords that I could possibly have used without saving them in Dashlane. I checked all of my secure notes in Dashlane, but none contained a password for Time Machine. I have never written a password on paper, so there's no way that I could have lost it that way. I even made a copy of my keychain, because I have some app-passwords in there that are hard to recover if I lose them (I didn't store those in Dashlane). I restored that copy of the keychain, but no Time Machine passwords are to be found in there either.

I really started to panic at that point, so I checked the old backups (the ones that were corrupted) and that sparsebundle mounts fine, I can see all my files. However, it misses some important files because it's almost half a month old.

To finish my rather lengthy question: is there some way to decrypt the backup or to fool Time Machine into thinking that it isn't encrypted (assuming that it isn't encrypted by a password that I set)?

Edit: I'm aware of the fact that lost passwords can't be recovered, but since I didn't set a password, the backup must either be encrypted with a blank password ('', which I can't test because the dialog box requires at least one character to enable the decrypt-button), or with a string that probably originates somewhere in Time Machine…

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    nielsvandepas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I got lucky this time, I've solved my problem with the help of John the Ripper and hdiutil. I used John to crack the password, which completed so fast that I thought it didn't work. Then I asked it to show all possible passwords, and a blank line appeared on the terminal. I already knew that the Time Machine GUI needs at least one character to enable the decrypt button, so I tried using hdiutil attach instead. That worked flawlessly, so now I'm decrypting the sparsebundle so that I can use it with Time Machine again.

    So in short, if this happens to you, enter the following command in a terminal window:

    hdiutil convert path/to/sparsebundle -format UDSB -o /path/to/decrypted/destination
    

    And just press enter when it asks for a password. That should remove the empty password from the backup.