added --backup-dir option from Bob Edwards