From owner-svn-ports-all@freebsd.org Thu Aug 13 15:25:03 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB51137CAB6; Thu, 13 Aug 2020 15:25:03 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BS9Nv5zg8z4QT4; Thu, 13 Aug 2020 15:25:03 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B09531F514; Thu, 13 Aug 2020 15:25:03 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07DFP39Q045969; Thu, 13 Aug 2020 15:25:03 GMT (envelope-from skozlov@FreeBSD.org) Received: (from skozlov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07DFP3NY045966; Thu, 13 Aug 2020 15:25:03 GMT (envelope-from skozlov@FreeBSD.org) Message-Id: <202008131525.07DFP3NY045966@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: skozlov set sender to skozlov@FreeBSD.org using -f From: "Serhii (Sergey) Kozlov" Date: Thu, 13 Aug 2020 15:25:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r544814 - in head/sysutils: . py-zfs-autobackup X-SVN-Group: ports-head X-SVN-Commit-Author: skozlov X-SVN-Commit-Paths: in head/sysutils: . py-zfs-autobackup X-SVN-Commit-Revision: 544814 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2020 15:25:04 -0000 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 +# $FreeBSD$ + +PORTNAME= zfs-autobackup +DISTVERSION= 3.0rc12 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= zfs_autobackup-${DISTVERSION} + +MAINTAINER= skozlov@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 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