From 7814d48a592140ad4e310ec9df79aa750e8672c8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 28 Dec 2021 21:53:32 +0100 Subject: vidhar: samba: shadow_copy2 --- hosts/vidhar/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 3b089460..6913b9da 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -351,6 +351,12 @@ "read only" = "no"; "create mask" = "0700"; "directory mask" = "0700"; + "vfs objects" = "shadow_copy2"; + "shadow:snapdir" = ".zfs/snapshot"; + "shadow:sort" = "desc"; + "shadow: format" = "-%Y-%m-%d-%Hh%MU"; + "shadow: snapprefix" = "^zfs-auto-snap_\(frequent\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\}"; + "shadow: delimiter" = "-20"; }; }; }; -- cgit v1.2.3