From 493654d6ce004598154804b842c2fdc63e98739d Mon Sep 17 00:00:00 2001 From: Esemudeo <30651422+Esemudeo@users.noreply.github.com> Date: Mon, 10 Nov 2025 20:44:17 +0100 Subject: [PATCH] clarify to bootstrap the newly created database --- Using-the-PostgreSQL-Backend.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Using-the-PostgreSQL-Backend.md b/Using-the-PostgreSQL-Backend.md index 97f87a6..1831223 100644 --- a/Using-the-PostgreSQL-Backend.md +++ b/Using-the-PostgreSQL-Backend.md @@ -37,8 +37,8 @@ CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword'; ```sql CREATE DATABASE vaultwarden OWNER vaultwarden; ``` -3. Configure vaultwarden and start it, so diesel can run migrations and set up the schema properly. Do not do anything else. -4. Stop vaultwarden. +3. Configure a (new) vaultwarden instance to use the new database and start it, so diesel can run migrations and set up the schema properly. Do not do anything else. +4. Stop your new vaultwarden instance. 5. install [pgloader](http://pgloader.io/) 6. [disable WAL](https://github.com/dani-garcia/vaultwarden/wiki/Running-without-WAL-enabled#1-disable-wal-on-old-db) of the SQLite database. 7. create the file bitwarden.load with the following content: