mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-08-17 18:41:28 +02:00
document how to restore backups
This commit is contained in:
@ -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";
|
||||||
|
Reference in New Issue
Block a user