Cherry pick example fix from master

fix example of rotate with edit_backup

rotate is inside 'edit_defaults' body, not inside 'rename'