automatic guess backup dir