Verify files before and after a server upgrade

Both before and after you upgrade the server, we recommend that you use the p4 verify command:

  1. Before the upgrade, verify the integrity of:

    1. submitted file revisions by running:

      $ p4 verify -q //...

    2. shelved files (if any) by running:

      $ p4 verify -qS //...

  2. Take a checkpoint.
  3. Copy the checkpoint and your versioned files to a safe place.
  4. Perform the server upgrade.
  5. After the upgrade, verify the integrity of

    1. submitted file revisions by running:

      $ p4 verify -q //...

    2. shelved files (if any) by running:

      $ p4 verify -qS //...

See also p4 verify and p4 shelve in Helix Core Command-Line (P4) Reference.