One obvious way would be to backup the DB -- but this does not help when migrating from a MySQL backed instance to a TDB2 one.