mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-06-27 05:01:53 +02:00
document how to restore backups
This commit is contained in:
parent
e4c5ee7f44
commit
fd39c0e9d7
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user