Copy database config for testing