Table of ContentsView in Frames

Archiving log files

You can archive a single active log file or all active log files on a volume.

Steps

  1. To get the maximum permissible size of the log file, enter the following command: options snaplock.log.maximum_size
  2. To archive the file, enter the following command: snaplock log archive vol [basename]
    vol is the name of the SnapLock volume that contains the active SnapLock log files.
    basename is the base name of the log file that needs to be archived. Currently, there are only two log files—system_log and priv_delete. If you do not specify the base name, all active log files in the SnapLock volume are archived.
    Note: If the archiving operation fails, the snaplock log status command displays the following error message:
    Log files on volume are inconsistent. Use snaplock log archive command or change the log volume.