Perforce: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
#p4 admin stop | #p4 admin stop | ||
#p4 verify -q //... | #p4 verify -q //... | ||
#cd into an empty folder (this is where checkpoint files will go) | |||
#p4 admin checkpoint | #p4 admin checkpoint | ||
#use app "LaunchControl" to unload p4d global daemon | #use app "LaunchControl" to unload p4d global daemon | ||
Revision as of 03:14, 6 November 2018
How to do a checkpoint and / or update perforce server to latest
- p4 admin stop
- p4 verify -q //...
- cd into an empty folder (this is where checkpoint files will go)
- p4 admin checkpoint
- use app "LaunchControl" to unload p4d global daemon
- delete db.* files
- upgrade p4 & p4d
- p4d -jr checkpoint.xx <-- fill in number
- ensure the journal file has write access
- p4d -J journal -xu
- start / load p4d
- p4 counter lastCheckpointAction
- p4 verify -q //...
- p4 admin restart
Using LaunchControl to manage the p4 server daemon
import this file into LaunchControl as a Global Daemon, ensure it's running.
It should look like this: