Interface CortexBackup


public interface CortexBackup
Snapshots the assertions store to a durable local file.

Implemented in cortex-core by BackupService, which wraps TDB2's own backup; declared here in cortex-api so the capability can be referred to without depending on Jena. Deliberately not part of Cortex: a backup is an operation on the store, not on the knowledge graph, and it exists only for a persistent, on-disk store.

  • Method Summary

    Modifier and Type
    Method
    Description
    Writes a snapshot of the whole assertions store to a local file.
  • Method Details

    • backup

      String backup()
      Writes a snapshot of the whole assertions store to a local file.
      Returns:
      the path of the file written