Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b0a51de6c10a7a1aba70c0a4aabe33a41bfb4c2c
      
https://github.com/NixOS/nixpkgs/commit/b0a51de6c10a7a1aba70c0a4aabe33a41bfb4c2c
  Author: Ricardo M. Correia <rcorr...@wizy.org>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M nixos/modules/tasks/filesystems/zfs.nix

  Log Message:
  -----------
  nixos/zfs: Keep zero-sized auto snapshots by default

Otherwise, in certain cases, snapshots of infrequently-modified
filesystems can be kept for a much longer time than the user would
normally expect, and cause a large amount of extra disk space to be
consumed.

Also added flag to snapshot filesystems in parallel by default.

I've also added a configuration option for zfs-auto-snapshot flags, so
that the user can override them.

For example, the user may want to append --utc to the list of default
options, so that the snapshot names don't cause name conflicts or
apparent time reversals due to daylight savings or timezone changes.


  Commit: 6197fdc02d20763e10beb73c0b6384c255f142b2
      
https://github.com/NixOS/nixpkgs/commit/6197fdc02d20763e10beb73c0b6384c255f142b2
  Author: Ricardo M. Correia <rcorr...@wizy.org>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M nixos/modules/tasks/filesystems/zfs.nix

  Log Message:
  -----------
  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.


  Commit: db7b4fb073d25832ecc4e216d410ad2dde153c43
      
https://github.com/NixOS/nixpkgs/commit/db7b4fb073d25832ecc4e216d410ad2dde153c43
  Author: Rok Garbas <r...@garbas.si>
  Date:   2016-07-21 (Thu, 21 Jul 2016)

  Changed paths:
    M nixos/modules/tasks/filesystems/zfs.nix

  Log Message:
  -----------
  Merge pull request #6846 from wizeman/u/zfs-auto-snap-flags

nixos: ZFS auto-snapshot improvements


Compare: https://github.com/NixOS/nixpkgs/compare/83bdc8e8583d...db7b4fb073d2
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to