Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址

1、前言

今天由于公司更换了性能更高的测试服务器,需要对VisualSVN Server进行数据迁移,开发团队需要对原来旧服务器的svn地址进行变更,今天就来做一下记录,方便大家遇到同样的问题可以得到解决;

2、开始迁移

1、在新服务器安装好VisualSVN Server后,停止旧服务器的VisualSVN Server,找到VisualSVN Server的资源目录并压缩打包;
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
2、在新的服务器上,同样找到资源目录,将刚才压缩文件解压并覆盖;
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
3、启动新服务器上的VisualSVN Server,查看对用的项目和用户是否已经存在,如果已经存在则证明项目数据已经迁移成功;
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址

3、IDEA更新SVN项目地址

IDEA打开对应项目,VCS - Subversion - Relocate
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
在弹窗处修改我们新的SVN地址;
From URL : 原SVN地址
To URL : 新SVN地址
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
点击确定后,出现授权认证框,填写SVN账户和密码后即可;
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址

4、Error relocating working copy: Connect to xxxxxx failed: Connection refused: connect 解决办法

注意:如果点击确定后,并未弹出授权框,且报错;
Error relocating working copy: Connect to xxxxxx failed: Connection refused: connect
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
那是因为新的SVN地址并没有授权,解决办法我们可以随意在一个电脑目录,使用本机安装的SVN客户端对新地址进行一次检出或导入操作,让其调出我们的授权窗口,我们用的是 TortoiseSVN;
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
点击确认后,弹出认证授权框,选择永久记住
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址
填写对应的SVN账户密码点击确认即可
Windows上VisualSVN Server迁移服务器 + IDEA修改svn地址

5、结语

以上就是今天博主,进行VisualSVN Server的全部工作内容,希望能帮到大家,谢谢!迁移过程如有问题欢迎留言 O(∩_∩)O~