A key feature of these scripts is that the results of the backup procedure are saved in XML format. These results include information about the Perforce connection, environment, the backup procedure steps and commands, the output of those commands, sizes of files created, start and end times of steps and the backup procedure as a whole. This information can then be used by other scripts or web servers to extract and display information about the health of the backup procedure and Perforce server.

This results file and other output is saved in the log directory. If errors occur when running these scripts, the files in the log directory can be used to help diagnose the problems. The backup files (archives) can, and should, be saved in a separate backup directory.
The steps in the procedure are:
If any of the previous steps do not succeed, the remaining steps are skipped. If they all succeed, the scripts continue as follows.