svn commit: r544814 - in head/sysutils: . py-zfs-autobackup
Serhii (Sergey) Kozlov
skozlov at FreeBSD.org
Thu Aug 13 15:25:04 UTC 2020
Author: skozlov
Date: Thu Aug 13 15:25:02 2020
New Revision: 544814
URL: https://svnweb.freebsd.org/changeset/ports/544814
Log:
New port: sysutils/py-zfs-autobackup
A tool to make replicating ZFS datasets easy and reliable.
Testing:
- `portlint -AC` - OK
- `poudriere testport` - OK
- Live test - OK
Sponsored by: Intel
Added:
head/sysutils/py-zfs-autobackup/
head/sysutils/py-zfs-autobackup/Makefile (contents, props changed)
head/sysutils/py-zfs-autobackup/distinfo (contents, props changed)
head/sysutils/py-zfs-autobackup/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Thu Aug 13 15:09:32 2020 (r544813)
+++ head/sysutils/Makefile Thu Aug 13 15:25:02 2020 (r544814)
@@ -1032,6 +1032,7 @@
SUBDIR += py-upt-rubygems
SUBDIR += py-uptime
SUBDIR += py-zdaemon
+ SUBDIR += py-zfs-autobackup
SUBDIR += pydf
SUBDIR += qchroot
SUBDIR += qdirstat
Added: head/sysutils/py-zfs-autobackup/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-zfs-autobackup/Makefile Thu Aug 13 15:25:02 2020 (r544814)
@@ -0,0 +1,21 @@
+# Created by: Sergey Kozlov <skozlov at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= zfs-autobackup
+DISTVERSION= 3.0rc12
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= zfs_autobackup-${DISTVERSION}
+
+MAINTAINER= skozlov at FreeBSD.org
+COMMENT= Periodicly backup zfs filesystems to other locations
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/sysutils/py-zfs-autobackup/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-zfs-autobackup/distinfo Thu Aug 13 15:25:02 2020 (r544814)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1597330355
+SHA256 (zfs_autobackup-3.0rc12.tar.gz) = 933ad0e93d0a07d34559151ac41f9b6c605365a7edaa15a747df7541eb2645bb
+SIZE (zfs_autobackup-3.0rc12.tar.gz) = 61646
Added: head/sysutils/py-zfs-autobackup/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-zfs-autobackup/pkg-descr Thu Aug 13 15:25:02 2020 (r544814)
@@ -0,0 +1,22 @@
+This is a tool written to make replicating ZFS datasets easy and reliable.
+
+You can either use it as a backup tool, replication tool or snapshot tool.
+You can select what to backup by setting a custom ZFS property. This allows you
+to set and forget: Configure it so it backups your entire pool, and you never
+have to worry about backupping again. Even new datasets you create later will be
+backupped. Other settings are just specified on the commandline. This also makes
+it easier to setup and test zfs-autobackup and helps you fix all the issues you
+might encounter. When you're done you can just copy/paste your command to a cron
+or script.
+Since its using ZFS commands, you can see what its actually doing by specifying
+--debug. This also helps a lot if you run into some strange problem or error.
+You can just copy-paste the command that fails and play around with it on the
+commandline. (also something I missed in other tools)
+An important feature thats missing from other tools is a reliable --test option:
+This allows you to see what zfs-autobackup will do and tune your parameters. It
+will do everything, except make changes to your zfs datasets. Another nice
+thing is progress reporting: Its very useful with HUGE datasets,
+when you want to know how many hours/days it will take. zfs-autobackup tries to
+be the easiest to use backup tool for zfs.
+
+WWW: https://github.com/psy0rz/zfs_autobackup
More information about the svn-ports-head
mailing list