To save a KB to a snapshot file:
Execute the g2-snapshot system procedure, as described in the G2 System Procedures Reference Manual.
g2-snapshot system procedure writes the snapshot file with data as of the moment that it is invoked. It does this despite the fact that the task of writing the snapshot file allows interrupts for other processing. Thus, even if you modify or delete significant portions of a KB after invoking g2-snapshot, G2 writes that knowledge into the KB snapshot file as it existed at the time the procedure was invoked. See Warmbooting a KB Snapshot File for information about how to load KB snapshot file and resume running a KB from it.
Contents of a KB Snapshot File
A KB snapshot file records:
A KB snapshot file does not record:
.kb extension. In addition, you should follow naming conventions that distinguish snapshot files from KB files, such as including the suffix -snapshot in the filename. To identify the time at which the snapshot was saved, you might also prefer to include a timestamp in the filename, for example, monitoring-snapshot-29aug93-02-14-23.kb.