Fixed up backup function to respect .