modified backup_ex