mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Add zfs-snapshot-clean, a tool to sieve ZFS snapshots as per given spec.
This commit is contained in:
parent
871b5917e1
commit
b7f81a6bec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246999
@ -925,6 +925,7 @@
|
||||
SUBDIR += zeroer
|
||||
SUBDIR += zetaback
|
||||
SUBDIR += zfs-replicate
|
||||
SUBDIR += zfs-snapshot-clean
|
||||
SUBDIR += zfs-snapshot-mgmt
|
||||
SUBDIR += zidrav
|
||||
SUBDIR += zisofs-tools
|
||||
|
23
sysutils/zfs-snapshot-clean/Makefile
Normal file
23
sysutils/zfs-snapshot-clean/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# New ports collection makefile for: zfs-snapshot-clean
|
||||
# Date created: 2 January 2010
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= zfs-snapshot-clean
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://download.github.com/
|
||||
DISTNAME= knu-${PORTNAME}-d46cc04
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= A tool to sieve ZFS snapshots as per given spec a la 'pdumpfs-clean'
|
||||
|
||||
NO_BUILD= yes
|
||||
PLIST_FILES= sbin/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/zfs-snapshot-clean/distinfo
Normal file
3
sysutils/zfs-snapshot-clean/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (knu-zfs-snapshot-clean-d46cc04.tar.gz) = 88326ff177e56ff6fc3ddcee80a0feba
|
||||
SHA256 (knu-zfs-snapshot-clean-d46cc04.tar.gz) = c2b3f982eeb4cc5f7051294c792dee333a938c92fc973981edd15f7db771d6d5
|
||||
SIZE (knu-zfs-snapshot-clean-d46cc04.tar.gz) = 2684
|
16
sysutils/zfs-snapshot-clean/pkg-descr
Normal file
16
sysutils/zfs-snapshot-clean/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
zfs-snapshot-clean
|
||||
------------------
|
||||
|
||||
This is a tool to sieve ZFS snapshots as per given spec a la
|
||||
`pdumpfs-clean'.
|
||||
|
||||
Typical usage is as follows:
|
||||
|
||||
for vol in zpool/home zpool/var; do
|
||||
zfs snapshot "$vol@$(date +%Y-%m-%d)" && zfs-snapshot-clean "$vol"
|
||||
done
|
||||
|
||||
Run `zfs-snapshot-clean -h' for details.
|
||||
|
||||
Author: Akinori MUSHA <knu@iDaemons.org>
|
||||
WWW: http://github.com/knu/zfs-snapshot-clean
|
Loading…
Reference in New Issue
Block a user