---
name: freebsd-snapshot
version: 20091208.1_1
origin: sysutils/freebsd-snapshot
comment: Convenience frontend tools for the management of UFS2 snapshots
arch: freebsd:9:x86:64
www: http://people.freebsd.org/~rse/snapshot/
maintainer: gtodd@bellanet.org
prefix: /usr/local
licenselogic: single
flatsize: 29495
desc: "freebsd-snapshot is a set of convenience frontend tools to mount(8)\nand mdconfig(8)
  for the management of UFS2 snapshots.  It is\nalso the under-lying tool used in
  the periodic snapshot\nscheduler periodic-snapshot(8) and the mounting/unmouning\ncommand
  in the amd(8) map /usr/local/etc/amd.map.snap. It\nprovides the making, expiring,
  visiting, mounting and\nunmounting of filesystem snapshots.\n\nAuthor:\tGraham Todd
  <gtodd@bellanet.org>\nWWW:\thttp://people.freebsd.org/~rse/snapshot/\n"
categories: [sysutils]
files:
  /usr/local/etc/amd.map.snap: 86543f35d3cfa9bc5de5a205453e0600130a7f81409604b569a7ef97f4910f9e
  /usr/local/man/man8/periodic-snapshot.8.gz: 47835505602b06cd75ef6d40499ae059e61effc7c1c6675356872892fbf1bb2c
  /usr/local/man/man8/snapshot.8.gz: 652dd1353c9140ecb9c4a0ca7cb43b81fece650be08e8e53aacc04b32a657538
  /usr/local/sbin/periodic-snapshot: c1457e3916f71477d684791809c440fe2a18a3b002b9a10ea6be0841c109375b
  /usr/local/sbin/snapshot: 2a435fbcb7e193baeb25bdfbc8650f699527172324d66336abfdae07d6fc1800
scripts:
  deinstall: "#!/bin/sh\n#\n# $FreeBSD: ports/sysutils/freebsd-snapshot/files/pkg-deinstall.in,v
    1.2 2012/11/17 06:01:30 svnexp Exp $\n#\n\ncase $2 in\n\tPOST-DEINSTALL)\n\t\techo
    \"If you completly remove this port, do not forget\"\n\t\techo \"then remove lines
    included by you in:\"\n\t\techo \"\"\n\t\techo \"crontab\"\n\t\techo \"periodic.conf\"\n\t\techo
    \"rc.conf\"\n\t\techo \"\"\n\t\t;;\nesac\n"
message: "\nUsing periodic for flexible snapshot backup creation\n----------------------------------------------------\n\nEdit
  your crontab and include this:\n\n# Perform hourly/daily/weekly maintenance (FreeBSD
  UFS2/ZFS snapshots only).\n0\t*\t*\t*\t*\troot\t/usr/local/sbin/periodic-snapshot
  hourly\n0\t0\t*\t*\t*\troot\t/usr/local/sbin/periodic-snapshot daily\n0\t0\t*\t*\t0\troot\t/usr/local/sbin/periodic-snapshot
  weekly\n\nand edit your periodic.conf and include this:\n\n# UFS2/ZFS Snapshot Creation\nsnapshot_enable=\"YES\"\nsnapshot_schedule=\"/,/usr:2:1:0
  /var:0:2:4 /home:2:6:8@8,12,16,20\"\n\n----\n\nUsing auto-mount for easy access
  to snapshot data\n--------------------------------------------------\n\nEdit your
  rc.conf and include this:\n\n# UFS2/ZFS Snapshot Access\namd_enable=\"YES\"\namd_flags=\"-a
  /.am -c 1800 -w 60 -l syslog /snap /usr/local/etc/amd.map.snap\"\n"
