]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - virtual/eldiron.nix
Improve postgresql: allow replication from backup-1, change root to
[perso/Immae/Config/Nix.git] / virtual / eldiron.nix
index fa5cb5123c95b9b5609fddb3ffc03e77993c3562..2e4ae1272cfb46265b5b09d7d1ff1635e9f4cee5 100644 (file)
@@ -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