In addition to jhwist correctly from the p4 ( permalink ) manual, I would like to add a few things that I learned while using Perforce for several years.
...
Depending on the size of your repository performing a check in the p4 database, it may take several hours, during which it will be blocked , and no one will be able to fulfill any requests. Blocking a P4 database can have several flow effects for your users, for example: if someone uses or tries to use P4 during this time, the P4SCC plug-in (i.e., for integration with visual studio) will rotate and the user ultimately must be forced to quit smoking in order to regain control.
Decision
- Create a second P4D instance on another port (p4d_2)
- Suspend / terminate the main instance (p4d_1).
- Run
p4 verify //... and the checkpoint with p4d_2. - Backing up physical version files in a storage array.
- Kill p4d_2.
- Reboot p4d_1.
Also:. Since this will be more than likely, an automated process that runs at night or on weekends may not emphasize that you need to read the checkpoint log file carefully to make sure it was successful , otherwise you will be in a difficult place when you need to complete recovery (read the next paragraph). Backup should not be a given and forgotten procedure.
For more information about Perforce backups, see the Perforce document: High Availability and Disaster Recovery Solutions for Perforce .
Hth,
source share