adding some flexibility in htobackup