On this page you can export your data for backup, or import to restore a project.
On this page you can export your data for backup, or import to restore a project.
Export the current project to a file for backup, reset (empty) the project, or import (restore) a previously exported project.
This page has the potential to affect every other page in your project. Use it carefully.
As you work in NarraFirma, the software saves every action you take using "messages" that together form a history. The purpose of such a "journaling" data storage system is to avoid data loss or corruption. Journaling also makes it easier to implement an undo system (which we have not yet implemented).
A project snapshot does not include these historical messages; it simply saves the current state of each element in the project. Because we haven't yet implemented any project-level undo functionality, it doesn't (yet) make any difference if you save a project snapshot or a project history, but in the future it might matter.
The one exception to that "it doesn't matter" statement is that, if you are exporting a project so you can reset it and then restore it without disconnected stories (see below), you do need to choose the snapshot export. The full-history export does not purge disconnected stories.
A project history is a record of everything that took place since you started the project, including the addition of stories, changes to stories, and references to stories. It would be hard (and possibly damaging to a potential future undo system) to pull the story-related messages out of that history.
Yes. You can export the project (with or without collected stories) to a file, then create a new, empty project and import the data into it.
Yes. The file format is independent of either back end. Just export the project, create a new (empty) project in your other installation of NarraFirma, and import the project into it.
Don't do that. It will have unpredictable results. You should always import a project file to an empty project.
No. You can export your stories, and your story forms, as CSV (spreadsheet) files from the Export stories or story forms page.
Projects are exported in JSON format. You can open a project file in any browser or text editor and see the elements defined in it.
You could, but the better way is to go to the project-administration Print page and print a project report.
Yes. Just be careful, and make a backup copy before you make any changes.
Some tips for editing NarraFirma JSON files:
For two reasons: to reload a project changed outside of your NarraFirma installation, or to remove disconnected stories.
You can export a NarraFirma project to a JSON file, change the JSON file using a text editor or another installation of NarraFirma, reset the project, and import the changed JSON file into it. This will recreate the project, applying any changes you made to the JSON file.
To avoid accidentally losing stories, NarraFirma does not delete stories when you delete a story collection. It just removes the container they were in. Most of the time this will not matter, since you might only delete one or two story collections, ever.
However, if you've been importing the same data over and over to get it right, and in the process you've been creating and deleting many story collections, you could end up with many disconnected stories floating around in your project. Because NarraFirma loads everything into memory when it runs, these extra stories can cause NarraFirma to run slower or even run out of Javascript memory. This is not likely to be a problem if you have dozens of stories, or even a hundred. But if you have loaded several hundred stories several times, you might notice a slowdown. In that case, you can use the export-reset-import process to trim out the hidden stories and speed things up.
This will restore the project without the disconnected stories.
No. You can still get them back. When you reset a project, NarraFirma makes a backup copy of it first. To restore the backup:
[your WordPress prefix]narrafirma_reset_backup_[date/time]
You should now be able to start NarraFirma, access the restored backup project, recreate the deleted story collections, and get the stories back.
That's easily done. If you are using WordPress, delete the backup table. If you are using node.js, delete the backup folder.