FIX: proper exit status code for backup/restore scripts