nixpkgs/nixos/modules/tasks/filesystems
Ricardo M. Correia 6197fdc02d nixos/zfs: Refactor auto-snapshots and make them persistent
If you power off your machine frequently, you could miss the execution
of some snapshots.

This is more troublesome the more infrequently the snapshots are
triggered. For example, monthly snapshots only execute at exactly
midnight on the first day of the month.  If you only have your
machine powered on at that time with probability 50%, then half the
snapshots won't be triggered.

This means that if you wanted to keep 3 monthly snapshots, then instead
of keeping 3 months' worth of snapshotted data as you expected, you would
end up with snapshots spanning back 6 months.

Adding the "Persistent = yes" option to auto-snapshot timer units makes
a missed snapshot execute when booting up the machine.
2015-03-20 04:37:44 +01:00
..
btrfs.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
cifs.nix Move CIFS support into a separate module 2014-07-30 12:39:35 +02:00
ext.nix
f2fs.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
jfs.nix nixos: Add a filesystem module for JFS. 2014-10-22 08:22:57 +02:00
nfs.nix Fix user-facing typos (mainly in descriptions) 2014-12-30 03:31:03 +01:00
reiserfs.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
unionfs-fuse.nix Mount unionfs-fuse filesystems using the normal fileSystems option 2014-07-30 16:04:15 +02:00
vfat.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
xfs.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
zfs.nix nixos/zfs: Refactor auto-snapshots and make them persistent 2015-03-20 04:37:44 +01:00