Validate backup filename.