-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another way. #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the unlikely case that anyone comes across this, there is another way to do this, by appropriating an existing backup. You'll need an another server that can be used as a destination, but then copy it to your real destination. Note that I haven't verified the stability of this, so caveat emptor etc.
System
keychain, associating the encryption password with the sparse bundle and your Hardware UUID. If your server has a password (NOT the sparse bundle encryption password), it will first ask you to login to access the disk. Although this password will be saved in your keychain you can delete it later if required.sudo tmutil setdestination -ap protocol://user[:pass]@host/share
. The-a
flag appends the destination instead of replacing all current destinations. The-p
flag causes the password for the server to be prompted for (NOT the sparse bundle encryption password). Although you can embed the server password in the URL instead (i.e:-a protocol://user:pass@host/share
) you probably shouldn’t. If you’re repurposing an old AirPort Extreme as a server, useafp
as the protocol (it may work withsmb
as well, I don’t know). In the case of AirPort Extreme, where user names aren’t used, use a dummy name (anything will do, for exampleafp://whatever@Airport-Base-Station-Name.local/share
).Backup Frequency
in the Options… page toManually
(you’ll change it back later)tmutil destinationinfo
and make a note of theID
field value for this new destination.System
keychain. Sort byDate Modified
, and you should see 3 new entries. Open the one beginning withTime Machine encryption password for…
. This is the sparse bundle encryption password, but it is still associated with the old destination. Replace the value in theAccount
field with the new destination ID you made a note of in the previous step. Any other text fields (Name
/Where
) seem to not matter.System
keychain. ItsKind
isTime Machine Network Password
. There’s no harm in leaving it there however.The text was updated successfully, but these errors were encountered: