FreeBSD UFS/ZFS Snapshot Management Environment

November 11th, 2007 by Ralf S. Engelschall

Based on various feedback I’ve now improved my FreeBSD Snapshot Management Environment. The new version 20071111.2 is now available. In the past this was an abstraction layer for UFS snapshots only. Now it is an abstraction layer for both UFS and ZFS snapshot management and this way allows one to deal with snapshots during daily work independent whether one works on UFS or ZFS.To recap, this abstraction layer mainly provides three aspects:

  1. common snapshot management frontend snapshot(8) for creating, destroying, listing, mounting, unmounting and temporarily visiting snapshots manually.
  2. optional, automatic, periodic and flexible backup snapshot creation via periodic-snapshot(8) and a /etc/periodic.conf configuration, modeled after the NetApp Data ONTAP “snap sched” syntax.
  3. optional, abstracted and easy access to backup snapshot data via amd(8) and the /snap hierarchy (not a big deal for ZFS but important for convenient access to UFS snapshots).

The full functionality requires FreeBSD 7 or 8, of course. But FreeBSD 5 and 6 or also supported through the reduced UFS-only functionality. For more details please visit the webpage about my FreeBSD snapshot management environment.

Leave a Reply