读书人

Perforce Server命令行备份及回复

发布时间: 2013-01-09 09:38:15 作者: rapoo

Perforce Server命令行备份及恢复
1 产生CheckPoint文件

SET P4ROOT=C:\Program Files\Perforce\Server //Your P4 server working folderSET P4PORT=1666                             //P4 portSET P4USER=jacky                            //Admin userSET P4PASSWD=******                         //Passwordp4 admin checkpoint                         //backupPAUSE


2 备份相关文件
C:\Program Files\Perforce\Server\depot\*.*
C:\Program Files\Perforce\Server\checkpoint.*
C:\Program Files\Perforce\Server\journal.*

3 复制备份文件到目标服务器目录,例如
d:\Program Files\Perforce\Server\depot\*
d:\Program Files\Perforce\Server\*

4 更新
SET P4ROOT=d:\Program Files\Perforce\ServerSET P4PORT=1666SET P4USER=jackySET P4PASSWD=******p4d -jr checkpoint.5PAUSE

读书人网 >软件开发

热点推荐