Skip to main content
A newer release of this product is available.

snaplock log file archive

Contributors
Suggest changes

Archive Active Log Files in Log Volume

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snaplock log file archive command archives the currently active log file by closing it and creating a new active log file. If base-name is not provided, the command archives all active log files associated with the Vserver. Otherwise, the command archives the active log file associated with the base-name provided.

Parameters

-vserver <vserver name> - Vserver Name

Specifies the name of the Vserver for which active log files need to be archived.

[-base-name {privileged-delete | system | legal-hold}] - Base Name of Log File

Specifies the log base-name, whose active log file needs to be archived. The base-name is the name of the source of log records. Valid base-names are system , privileged-delete and legal-hold . Each base-name has its own directory in which log files containing log records generated by base-name are stored.

Examples

cluster1::> snaplock log archive -vserver vs1
        [Job 48] Job succeeded: SnapLock log archived for Vserver "vs1".