Backups
Swarm stores all of the information it requires to operate within the Helix Versioning Engine. This includes project definitions, code reviews, comments, followers, and more. Code reviews are largely built on top of Perforce's shelving feature, and most other records are stored in custom counters called keys.
Therefore, the standard recommendations for backing up your Helix Versioning Engine also apply when backing up your Swarm data.
Tip
For more information, see:
Helix Versioning Engine Administrator Guide: Fundamentals: Backup and Recovery
In addition, your Swarm configuration and any modifications you might make
to the provided modules, templates, CSS, JavaScript, etc. also need to be
backed up. The
directory contains the
configuration, as well as temporary working files and browser session
storage.
SWARM_ROOT
/data