aboutsummaryrefslogtreecommitdiff
path: root/content/blog/nix
diff options
context:
space:
mode:
authorJulien Dessaux2023-12-24 22:37:59 +0100
committerJulien Dessaux2023-12-24 22:37:59 +0100
commitbbd57a747348727cb8fbb4bbbe6b530d03707ec7 (patch)
tree2713371e27650d3a264a95c39aad190f78fa9057 /content/blog/nix
parentSmall fixes (diff)
downloadwww-bbd57a747348727cb8fbb4bbbe6b530d03707ec7.tar.gz
www-bbd57a747348727cb8fbb4bbbe6b530d03707ec7.tar.bz2
www-bbd57a747348727cb8fbb4bbbe6b530d03707ec7.zip
Updated miniflux's docs
Diffstat (limited to 'content/blog/nix')
-rw-r--r--content/blog/nix/migrating-vaultwarden.md4
1 files changed, 2 insertions, 2 deletions
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
```