Add BACKUP_EXISTS flags. Fix #7