A powershell script that implements the nightly backup procedere from the Helix Core Server Administration Guide. It does the following:
- Deletes all old checkpoints (since only the latest one is needed)
- Creates a new checkpoint.
- Checks the MD5 checksum of the created checkpoint against the MD5 file produced by the creation process.
- Creates a new backup directory with the current date.
- Copies checkpoint & journal files + all folders in P4ROOT, except for server.locks.
- Deletes backup folders that are older than 7 days.
This script assumes that you
- Run Helix Core on a Windows (Server) machine.
- Run this script on that same machine.
- Do not have a custom license installed in P4ROOT.
- Do not need this script to cover you need to run p4 verify on a weekly basis.