rename_dbname when restoring does not have to be defined.