How to export a package
Export a single package or package tree
Section titled “Export a single package or package tree”- Right-click the package you want to export in the Explorer
- Select Export Package… (or use File > Export Package… with the package selected)
- If the package contains attachments, a dialog asks how to export them (see below)
- Choose a location and filename
- The package and all its descendants (sub-packages, elements, relationships, diagrams, catalogs, board views, property values) are written to the file
The exported file is self-contained — it includes everything needed to recreate the package tree in another project.
Exporting attachments
Section titled “Exporting attachments”If any element in the package carries an attachment — an Image, a document Artifact, or another file — Farkitect asks how to handle it:
| Choice | Result |
|---|---|
| Include attachments | A .farki.zip archive containing the model plus every attachment payload |
| Model only | A plain .farki file with the attachment descriptors stripped (the model still references them, but the file bytes are not included) |
| Cancel | Nothing is exported |
If the package has no attachments, no dialog appears — it exports straight to a .farki file.
See How to attach files, images, and links for what attachments are and how the .farki.zip archive is structured.
What’s included
Section titled “What’s included”The export captures:
- The package and all nested sub-packages
- All elements and relationships within the package tree
- All diagrams, catalogs, and board views
- Diagrams showing elements of other models keep only this package’s shapes: the others can’t be carried by a package file, and the export tells you how many were left out. Export the whole project to keep them
- View links between views inside the package. A link to a view outside the package cannot be carried by a package file; the export tells you how many were left out. Export the whole project to keep every link
- All property values. A relationship joining an element of another model is left out of a one-model export, which can’t refer to another model; the export says how many and the Log names them. A project export, and so Export before delete, keeps them
- Notation and constraint definitions (for M2 packages)
- Package import declarations
- Attachment payloads (when exported as
.farki.zip)
Exporting a metamodel
Section titled “Exporting a metamodel”An M2 metamodel is exported from its root package — right-click the top package of the metamodel and choose Export Package…. The metamodel’s structural sub-packages (Element Types, Relationship Types, Enumerations, Views) are not exported individually; they travel with the root.
Back up and restore a whole project
Section titled “Back up and restore a whole project”- Back up: File › Export Project… writes every model and metamodel of the project, with its diagrams and other views, to one
.farkifile. Deleting a project makes one for you first. - Restore in place: File › Restore Project from Backup… (admins) replaces this project’s contents with a backup’s. The project keeps its members, web links and API keys, and other projects that include its metamodels keep working, because the restored elements keep their permanent ids. Before anything changes, the current contents are saved to a file named “Project (before restore date time).farki”; if you cancel that save, nothing is restored. Type the project’s name to confirm.
- Restore as a new project: Create Project from File makes a new project from a backup, leaving the original as it is.
A project’s backup is one file, so it can be up to about 15 MB: roughly 20,000 elements and relationships with their notes and values. A project larger than that can’t be saved as one file; the export says so before saving anything, and you can export its models one at a time instead. See How large a file can be.
Metamodels the project includes from other projects are included again by both, when that is still allowed: see How to share a metamodel between projects.
- Export an M2 metamodel package to share your custom modeling language with colleagues
- Export an M1 model package to create a backup or transfer it to another project
- The
.farkiformat is human-readable JSON — you can inspect it in any text editor - A
.farki.zipis a standard Zip archive; unzip it to findmodel.farkialongside afiles/folder of attachments .farkifiles can be version-controlled with Git, shared via email, or published to the Farketplace- Deleting a project, organisation, or account automatically exports a
.farkibackup first — you don’t have to remember to do it manually