modified backup process logic