remove bashism from backup script