Filesystem data backup and restore

Link uses several file system directories to store design data. They are shown below using JSON Pointer strings to refer to a mapping value in the Link config.yaml file:
  • server.persistence.files
  • server.persistence.modules
  • server.persistence.libs
  • rest.persistence.files

Backing up filesystem design data consists of creating a backup of these directories. The backup process varies depending upon the configuration of the filesystems used to store these directories and their contents.

Restoring filesystem design data consists of populating these directories with their backed-up contents. A change in the location of one or more of these directories during a restore operation might be desired. As for a change in the Link configuration for accessing a MongoDB server instance, such a change in location is allowed, and is handled by the general Link installation configuration update operation.