Backup

Everything Turtle keeps is in its data directory: the database, turtle.db, and the Attachments, in attachments/.

Back up Turtle

  1. Stop Turtle.
  2. Copy the data directory.
  3. Start Turtle again.

Where the data directory is:

  • With the binary: where TURTLE_DATA points, or turtle-data in the directory Turtle was started from.
  • With Docker: the turtle-data volume, mounted at /data in 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.