diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-11 15:46:45 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-11 16:04:29 +0100 |
commit | f3d9c61e9becccc9ef25f64e5e639d45ea25650a (patch) | |
tree | 4a54120e685e222d6a70c6c4c0ee4bc1d980aac3 /virtual/eldiron.nix | |
parent | 54307da49e9975ca3cce0d45fd12ade016cf90d9 (diff) | |
download | Nix-f3d9c61e9becccc9ef25f64e5e639d45ea25650a.tar.gz Nix-f3d9c61e9becccc9ef25f64e5e639d45ea25650a.tar.zst Nix-f3d9c61e9becccc9ef25f64e5e639d45ea25650a.zip |
Improve postgresql: allow replication from backup-1, change root to
/run/postgres
Diffstat (limited to 'virtual/eldiron.nix')
-rw-r--r-- | virtual/eldiron.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index fa5cb51..2e4ae12 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix | |||
@@ -4,6 +4,9 @@ | |||
4 | enableRollback = true; | 4 | enableRollback = true; |
5 | }; | 5 | }; |
6 | 6 | ||
7 | # Full backup: | ||
8 | # The star after /var/lib/* avoids deleting all folders in case of problem | ||
9 | # rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu: | ||
7 | eldiron = { config, pkgs, mylibs, myconfig, ... }: | 10 | eldiron = { config, pkgs, mylibs, myconfig, ... }: |
8 | with mylibs; | 11 | with mylibs; |
9 | let | 12 | let |