From bbd57a747348727cb8fbb4bbbe6b530d03707ec7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 24 Dec 2023 22:37:59 +0100 Subject: Updated miniflux's docs --- content/blog/nix/migrating-vaultwarden.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/blog') diff --git a/content/blog/nix/migrating-vaultwarden.md b/content/blog/nix/migrating-vaultwarden.md index a095070..1a960c0 100644 --- a/content/blog/nix/migrating-vaultwarden.md +++ b/content/blog/nix/migrating-vaultwarden.md @@ -189,11 +189,11 @@ mv srv/vaultwarden /srv/ export BORG_RSH="ssh -i /etc/borg-vaultwarden-db.key" borg list ssh://borg@gcp.adyxax.org/srv/borg/vaultwarden-db borg extract ssh://borg@gcp.adyxax.org/srv/borg/vaultwarden-db::dalinar-vaultwarden-db-2023-11-19T00:00:01 +psql -h localhost -U postgres -d vaultwarden ``` Restoring the data itself is done with the psql shell: -```sh -psql -h localhost -U postgres -d vaultwarden +```sql ALTER USER vaultwarden WITH PASSWORD 'XXXXX'; \i tmp/vaultwarden.sql ``` -- cgit v1.2.3