Fixes for linux backup scripts