document how to restore backups

This commit is contained in:
Jörg Thalheim 2024-03-06 23:13:00 +01:00
parent e4c5ee7f44
commit fd39c0e9d7

View File

@ -27,6 +27,9 @@ let
''; '';
}; };
# to restore:
# $ runuser -u postgres -- pg_restore --format=custom -d mediawiki < /tmp/db
wiki-dump = pkgs.writeShellApplication wiki-dump = pkgs.writeShellApplication
{ {
name = "wiki-dump"; name = "wiki-dump";