about summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-05-12 15:39:25 +0200
committerGitHub <noreply@github.com>2020-05-12 15:39:25 +0200
commit6440000547ca57fe3a05085ec4fbb05d1b6764a5 (patch)
tree0aa271bb139104913df02f9528fd4755dfaf678e /nixos/modules/services/backup
parentfea63944fd4b9afa41e5f91db795765d0f8e5463 (diff)
parent90533bfde2494a8acff9a9f3878b97392c6c5891 (diff)
downloadnixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar.gz
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar.bz2
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar.lz
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar.xz
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.tar.zst
nixlib-6440000547ca57fe3a05085ec4fbb05d1b6764a5.zip
Merge pull request #87599 from helsinki-systems/znapzend-oracle-mode
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/znapzend.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/znapzend.nix b/nixos/modules/services/backup/znapzend.nix
index 134966a5a35f..8098617d11f3 100644
--- a/nixos/modules/services/backup/znapzend.nix
+++ b/nixos/modules/services/backup/znapzend.nix
@@ -358,6 +358,12 @@ in
         default = false;
       };
 
+      features.oracleMode = mkEnableOption ''
+        Destroy snapshots one by one instead of using one long argument list.
+        If source and destination are out of sync for a long time, you may have
+        so many snapshots to destroy that the argument gets is too long and the
+        command fails.
+      '';
       features.recvu = mkEnableOption ''
         recvu feature which uses <literal>-u</literal> on the receiving end to keep the destination
         filesystem unmounted.
@@ -459,5 +465,5 @@ in
     };
   };
 
-  meta.maintainers = with maintainers; [ infinisil ];
+  meta.maintainers = with maintainers; [ infinisil SlothOfAnarchy ];
 }