services.znapzend.zetup

Znapzend configuration.

Type
attribute set of (submodule)
Default
{ }
Example
{
  "tank/home" = {
    # Make snapshots of tank/home every hour, keep those for 1 day,
    # keep every days snapshot for 1 month, etc.
    plan = "1d=>1h,1m=>1d,1y=>1m";
    recursive = true;
    # Send all those snapshots to john@example.com:rtank/john as well
    destinations.remote = {
      host = "john@example.com";
      dataset = "rtank/john";
    };
  };
};
Declared
<nixpkgs/nixos/modules/services/backup/znapzend.nix>