Trying to start using zfs and I have a question for any of you wizards out there. My current sanoid config is:
services.sanoid = {
enable = true;
interval = "hourly";
templates.backup = {
autosnap = false;
autoprune = true;
hourly = 24;
daily = 30;
weekly = 4;
monthly = 1;
};
templates.short_lived = {
autosnap = true;
autoprune = true;
hourly = 24;
daily = 3;
};
datasets = {
"zpool_os" = {
recursive = true;
useTemplate = [ "short_lived" ];
};
"zpool_extra" = {
recursive = true;
useTemplate = [ "short_lived" ];
};
"zpool_backup" = {
recursive = true;
useTemplate = [ "backup" ];
};
};
};
and my syncoid config is:
services.syncoid = {
enable = true;
interval = "*-*-* 00:15:00";
commands = {
"zpool_extra/critical" = {
source = "zpool_extra/critical";
target = "zpool_backup/extra_critical_replica";
recursive = true;
};
"zpool_os/home" = {
source = "zpool_os/home";
target = "zpool_backup/os_home_replica";
recursive = true;
};
};
};
I'm just replicating specific datasets i care about. (Mind you this is all on a VM which is why it's all localhost pools to test out my setup before I try anything legit).
Is this actually okay? Won't I be missing some hourly snapshots from sanoid when it purges on the hour or am I overthinking this?