Is is possible to enable encryption for a Time Machine target disk with a script/using the command line?
Is an encrypted Time Machine disk really just the same as a normal disk, full-disk-encrypted using File Vault?
I'd like to automate as much as is convenient when installing a Mac for a new user. This includes backups. We're using OS X Mountain Lion.
- You can ask a target to be encrypted from the Time Machine preferences GUI. This does not make it show up as such using the
fdesetupcommand. It will however list as encrypted using
diskutil cs list
- If first encrypting a drive, the Time Machine prefs GUI will say "Encrypt backups" for that entry. This would support the method suggested below by Rene (except he suggests doing it on an encrypted image placed on a disk).