dump and restore: retry after some time if rename fails