+

Search Tips   |   Advanced Search

Archive or delete checkpoints

To reduce clutter and free up disk space, we might need to archive or delete old checkpoints periodically. The number of checkpoints stored to disk especially adds up when automatic delta checkpoints are enabled and checkpoint depth is high. The product automatically deletes delta checkpoints when the number of checkpoints reaches the checkpoint depth. To preserve delta checkpoints, we must archive checkpoints before they are automatically deleted.

We have full or delta checkpoints stored to file system locations and want to archive checkpoints to save the configurations or delete checkpoints that you no longer need.

The product does not have an automated function for archiving. However, we can archive checkpoints as needed by moving checkpoint directories to a separate disk or location.

Two locations in the product installation hold information for configuration repository checkpoints:

These locations contain subdirectories, one for each checkpoint. Subdirectories for full checkpoints have the user-specified checkpoint name. Delta checkpoint subdirectories are named Delta-sequence_number, where the sequence numbers increase with time of creation. Older delta checkpoints have smaller sequence numbers and newer delta checkpoints have larger sequence numbers.

We must archive both the checkpoint metadata and content directories to store a checkpoint for later restoration. Similarly, we must delete both the checkpoint metadata and content directories to delete a checkpoint.

We can delete checkpoints using the Delete option on the administrative console Repository checkpoints page. To access the page, click...

We can also use the wsadmin deleteCheckpoint command to delete checkpoints. See the topic about the RepositoryCheckpointCommands command group for the AdminTask object.


Tasks


What to do next

When recovering a delta checkpoint from an archive location, start with the most recently archived delta checkpoint. Move or unzip the checkpoint directories back to their original locations. To use delta checkpoints for recovering changes or for tracking changes, we need an unbroken chain of delta checkpoints. Do not lose any archived checkpoints and only recover them in the reverse order in which they were archived.


  • Restore checkpoints
  • Configure checkpoints
  • Repository checkpoint collection
  • RepositoryCheckpointCommands