copy/restore cache dir instead of deleting it