首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

Perforce Server命令行备份及回复

2013-01-09 
Perforce Server命令行备份及恢复1 产生CheckPoint文件SET P4ROOTC:\Program Files\Perforce\Server //Yo

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

热点排行