Linux

Where Does WriteFreely Store Config and Posts?

WriteFreely config file and key upload paths on Linux for federated single user blogs. And restore steps.

Last updated

WriteFreely keeps settings in config.ini in the working directory. That file holds database passwords, mail options, and federation keys paths. Posts themselves live in MySQL or SQLite per that config.

Binary installs default to SQLite beside the config. Larger blogs point at MySQL. Back up config.ini with the database file or dump. Keys in the config sign federated messages. Drafts stay private by default. Collections group blogs. Custom CSS brands pages. RSS feeds syndicate posts. Pinned posts stay on top.

Where WriteFreely stores this, by platform

Linux
/var/writefreely/config.ini

Database, mail, and federation settings for the blog. Restrict read access since secrets live here. Keep with the database for moves.

Linux
/var/writefreely/writefreely.db

Post database for SQLite installs beside the config. MySQL installs keep equivalents externally. Copy with the blog stopped.

Frequently asked questions

what do i back up for a WriteFreely move

Copy config.ini with the keys folder and a database dump. The config holds database and mail settings. Keys sign federated posts. All three restore blogging.

where are WriteFreely posts stored

Open config.ini in the working directory to read database and uploads blocks. Drafts live in the database per that config. The file decides the backend. Test restores first.

Notice an outdated path? Let us know.