Comment 7 for bug 220654

Oops. $password should be $backup_pass in that example. I did test it and it otherwise works as far as I can tell. Hope that helps.