delete and recreate the data directory on restore.