From 85c129701bba3a3af9fa94e4e2ea184f13cfd0a5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jun 2025 23:39:20 +0100 Subject: [PATCH] Clarify how to migrate db_flatfile databases to db_json. --- data/anope.example.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/anope.example.conf b/data/anope.example.conf index b5d4df45a..55d8d4f40 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -1103,10 +1103,12 @@ mail /* * db_flatfile * - * Stores your database in a custom flatfile format. This was the recommended - * database format in Anope 2.0 but it is now recommended that you use db_json - * instead. You can import your db_flatfile database from 2.0 by loading this - * module after db_json. + * Stores your database in a custom flatfile format. + * + * This was the recommended database module in 2.0 but it is now recommended + * that you use db_json instead. You can migrate your db_flatfile database to + * db_json by loading db_flatfile BEFORE db_json, sending SIGUSR1 to force a + * database write, and then unloading db_flatfile. */ #module {