First archives the current db version.