From f3d9c61e9becccc9ef25f64e5e639d45ea25650a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 11 Jan 2019 15:46:45 +0100 Subject: Improve postgresql: allow replication from backup-1, change root to /run/postgres --- virtual/eldiron.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'virtual/eldiron.nix') 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 @@ enableRollback = true; }; + # Full backup: + # The star after /var/lib/* avoids deleting all folders in case of problem + # rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu: eldiron = { config, pkgs, mylibs, myconfig, ... }: with mylibs; let -- cgit v1.2.3