fix import and date format in backup script