Backup
Everything Turtle keeps is in its data directory: the database, turtle.db, and the Attachments, in attachments/.
Back up Turtle
- Stop Turtle.
- Copy the data directory.
- Start Turtle again.
Where the data directory is:
- With the binary: where
TURTLE_DATApoints, orturtle-datain the directory Turtle was started from. - With Docker: the
turtle-datavolume, mounted at/datain the container.
Keep a backup before each update. See Updating.
An Export is not a backup
An Export as Markdown or PDF holds only the Pages the person exporting can read. It leaves out Versions, the Trash, Members, Roles and Tokens.
More is coming
Backup and restore will be documented in more detail, and tested, before Turtle 1.0. Issue #143 follows that work.