databases/timescaledb-backup: New port

timescaledb-backup is a program for making dumping and restoring a
TimescaleDB database simpler, less error-prone, and more performant.
This commit is contained in:
Kevin Bowling 2021-10-15 09:12:33 -07:00
parent 84ef8189de
commit 8754bb5812
4 changed files with 134 additions and 0 deletions

View File

@ -1026,6 +1026,7 @@
SUBDIR += tile38
SUBDIR += tiledb
SUBDIR += timescaledb
SUBDIR += timescaledb-backup
SUBDIR += timescaledb-tune
SUBDIR += tinycdb
SUBDIR += tokyocabinet

View File

@ -0,0 +1,58 @@
# Created by Kevin Bowling <kbowling@FreeBSD.org>
PORTNAME= timescaledb-backup
DISTVERSION= 0.1.1
CATEGORIES= databases
MAINTAINER= kbowling@FreeBSD.org
COMMENT= Tool for performing TimescaleDB backups across versions
LICENSE= TSL
LICENSE_NAME= Timescale License Agreement
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= timescale
GH_TUPLE= Microsoft:go-winio:v0.4.11:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \
Microsoft:hcsshim:v0.8.6:microsoft_hcsshim/vendor/github.com/Microsoft/hcsshim \
cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \
containerd:continuity:aaeac12a7ffc:containerd_continuity/vendor/github.com/containerd/continuity \
docker:distribution:0d3efadf0154:docker_distribution/vendor/github.com/docker/distribution \
docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \
docker:go-units:v0.3.3:docker_go_units/vendor/github.com/docker/go-units \
gogo:protobuf:v1.2.0:gogo_protobuf/vendor/github.com/gogo/protobuf \
golang:crypto:0ec3e9974c59:golang_crypto/vendor/golang.org/x/crypto \
golang:net:74dc4d7220e7:golang_net/vendor/golang.org/x/net \
golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \
golang:sync:112230192c58:golang_sync/vendor/golang.org/x/sync \
golang:sys:c7b8b68b1456:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
golang:xerrors:a985d3407aa7:golang_xerrors/vendor/golang.org/x/xerrors \
google:go-genproto:c66870c02cf8:google_go_genproto/vendor/google.golang.org/genproto \
grpc:grpc-go:v1.17.0:grpc_grpc_go/vendor/google.golang.org/grpc \
jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chunkreader/v2 \
jackc:pgconn:v1.5.0:jackc_pgconn/vendor/github.com/jackc/pgconn \
jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \
jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \
jackc:pgproto3:v2.0.1:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \
jackc:pgservicefile:3430c5407db8:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \
jackc:pgtype:v1.3.0:jackc_pgtype/vendor/github.com/jackc/pgtype \
jackc:pgx:v4.6.0:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \
konsorten:go-windows-terminal-sequences:v1.0.2:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
moby:moby:b20a14b54661:moby_moby/vendor/github.com/docker/docker \
opencontainers:go-digest:v1.0.0-rc1:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \
opencontainers:image-spec:v1.0.1:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \
opencontainers:runc:v0.1.1:opencontainers_runc/vendor/github.com/opencontainers/runc \
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \
sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
testcontainers:testcontainers-go:v0.3.1:testcontainers_testcontainers_go/vendor/github.com/testcontainers/testcontainers-go
GO_TARGET= ./cmd/ts-dump ./cmd/ts-restore
PLIST_FILES= bin/ts-dump \
bin/ts-restore
.include <bsd.port.mk>

View File

@ -0,0 +1,71 @@
TIMESTAMP = 1634314174
SHA256 (timescale-timescaledb-backup-0.1.1_GH0.tar.gz) = 0345b8740848d83f2f7e972279b439a748481128e6d14f739e8bed32de0b11f6
SIZE (timescale-timescaledb-backup-0.1.1_GH0.tar.gz) = 26854
SHA256 (Microsoft-go-winio-v0.4.11_GH0.tar.gz) = e46f186982d8d27b8d740e724b6b736d047c3b92419f2265402390a15989a825
SIZE (Microsoft-go-winio-v0.4.11_GH0.tar.gz) = 79254
SHA256 (Microsoft-hcsshim-v0.8.6_GH0.tar.gz) = 8ed4dbe7a70172101c32b3365c3b43ba779e2fd5259cf00389b729c68a50cbd3
SIZE (Microsoft-hcsshim-v0.8.6_GH0.tar.gz) = 1664509
SHA256 (cenkalti-backoff-v2.2.1_GH0.tar.gz) = a2c29d0184e7afc415975cf2689723028d2686ffbb67fe0999ab1d691e6d16db
SIZE (cenkalti-backoff-v2.2.1_GH0.tar.gz) = 8623
SHA256 (containerd-continuity-aaeac12a7ffc_GH0.tar.gz) = ba055627964a61222263d01fbc765140ecd1dfaeefedcc3fabd9efe4a1211ebe
SIZE (containerd-continuity-aaeac12a7ffc_GH0.tar.gz) = 1075575
SHA256 (docker-distribution-0d3efadf0154_GH0.tar.gz) = ed0046d2f0f2c08c60108f9267d758a4884a04b38057cf6c1a70afd1108e5fd8
SIZE (docker-distribution-0d3efadf0154_GH0.tar.gz) = 2003263
SHA256 (docker-go-connections-v0.4.0_GH0.tar.gz) = e31dfcf72dd9b07bf6dc320671a78a142a1b7c6287a7282c034c8cd463bc8663
SIZE (docker-go-connections-v0.4.0_GH0.tar.gz) = 30770
SHA256 (docker-go-units-v0.3.3_GH0.tar.gz) = a088ea93ec2d4112d4b100f5760fd73252820ed5872c880234e390d922a1399b
SIZE (docker-go-units-v0.3.3_GH0.tar.gz) = 11220
SHA256 (gogo-protobuf-v1.2.0_GH0.tar.gz) = 957c8f03cf595525d2a667035d9865a0930b3d446be0ab6eb76972934f925b00
SIZE (gogo-protobuf-v1.2.0_GH0.tar.gz) = 2011389
SHA256 (golang-crypto-0ec3e9974c59_GH0.tar.gz) = 737fd8da273ec11281d2ff8798d6847ab1be9ebfa94bbc5a7252e0b04e1373a5
SIZE (golang-crypto-0ec3e9974c59_GH0.tar.gz) = 1727772
SHA256 (golang-net-74dc4d7220e7_GH0.tar.gz) = e974b081e105d9c61374fd026aa89bff010cc58b676dddf67a319dbba8df35fa
SIZE (golang-net-74dc4d7220e7_GH0.tar.gz) = 1099877
SHA256 (golang-protobuf-v1.3.2_GH0.tar.gz) = c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65
SIZE (golang-protobuf-v1.3.2_GH0.tar.gz) = 312285
SHA256 (golang-sync-112230192c58_GH0.tar.gz) = 6d98880ea18369550cb12d7011df8e4b21c5b7588268a412b863b5c9d2fa0313
SIZE (golang-sync-112230192c58_GH0.tar.gz) = 16832
SHA256 (golang-sys-c7b8b68b1456_GH0.tar.gz) = 826e76dcb9c9c2ed234d81b2f4d8cb960a4fec707814521f938c9be99e9f1d80
SIZE (golang-sys-c7b8b68b1456_GH0.tar.gz) = 1455888
SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
SHA256 (golang-xerrors-a985d3407aa7_GH0.tar.gz) = cbceb1aab297e932cee5a54775f655e1885f5a6a850a27a6d566cab11e0c0401
SIZE (golang-xerrors-a985d3407aa7_GH0.tar.gz) = 12270
SHA256 (google-go-genproto-c66870c02cf8_GH0.tar.gz) = 156e7cd1f95947c3f3293e18baa7af04e0da58eeeb3475f15bcc308ff491f31a
SIZE (google-go-genproto-c66870c02cf8_GH0.tar.gz) = 2191164
SHA256 (grpc-grpc-go-v1.17.0_GH0.tar.gz) = 891add70cc16c9e2dc07986fd6e8fae44a36921727411f0b652afbc76e0fb169
SIZE (grpc-grpc-go-v1.17.0_GH0.tar.gz) = 563534
SHA256 (jackc-chunkreader-v2.0.1_GH0.tar.gz) = bf856bad6608fb7345707aba713a1d77eb984f1d217065738a12c97e37669be4
SIZE (jackc-chunkreader-v2.0.1_GH0.tar.gz) = 3038
SHA256 (jackc-pgconn-v1.5.0_GH0.tar.gz) = 2284cdf1b8c1c2daa6e5b78d5da8f0587343bd49cec525324ed8c02904a84d01
SIZE (jackc-pgconn-v1.5.0_GH0.tar.gz) = 44460
SHA256 (jackc-pgio-v1.0.0_GH0.tar.gz) = d36e367c877954acdc96b8cd1a0df417b4cfae80dae726474a8f0de3a68a68ab
SIZE (jackc-pgio-v1.0.0_GH0.tar.gz) = 1884
SHA256 (jackc-pgpassfile-v1.0.0_GH0.tar.gz) = df8904662382e1d0064ec7a5a8c36c49264d7128cea923d597802ada8c5b9603
SIZE (jackc-pgpassfile-v1.0.0_GH0.tar.gz) = 3254
SHA256 (jackc-pgproto3-v2.0.1_GH0.tar.gz) = fb1dbd363d589e46beaeb249b41b78c58569182417e9dd116dd5b5ebeddb9c94
SIZE (jackc-pgproto3-v2.0.1_GH0.tar.gz) = 16494
SHA256 (jackc-pgservicefile-3430c5407db8_GH0.tar.gz) = bad387b5f30b9882c94cd71df47663010472348c1d21054a20500e2d710c5e65
SIZE (jackc-pgservicefile-3430c5407db8_GH0.tar.gz) = 2954
SHA256 (jackc-pgtype-v1.3.0_GH0.tar.gz) = b2504ce4436afed578d0c85a13b653718f74d14c3b41c0d57d33bea71d5ea4da
SIZE (jackc-pgtype-v1.3.0_GH0.tar.gz) = 98733
SHA256 (jackc-pgx-v4.6.0_GH0.tar.gz) = 1b9c31b927b4d3fdafe0edb92b0ca99018619de62c46de1b0de619fd6eb8d307
SIZE (jackc-pgx-v4.6.0_GH0.tar.gz) = 85853
SHA256 (konsorten-go-windows-terminal-sequences-v1.0.2_GH0.tar.gz) = e61f6422c7d1222c4c642b9134e5a4576a89ff651ef947487faa8ef33b6b4cfe
SIZE (konsorten-go-windows-terminal-sequences-v1.0.2_GH0.tar.gz) = 1987
SHA256 (moby-moby-b20a14b54661_GH0.tar.gz) = 34a11c5fbc5f299207080ec642be13aefbb89fad741a329ff0456d781ef8171a
SIZE (moby-moby-b20a14b54661_GH0.tar.gz) = 9088574
SHA256 (opencontainers-go-digest-v1.0.0-rc1_GH0.tar.gz) = 3f511b32c46f60482644f0ad6a345f52e672c82164bfb08274f15f7c14cd3076
SIZE (opencontainers-go-digest-v1.0.0-rc1_GH0.tar.gz) = 19206
SHA256 (opencontainers-image-spec-v1.0.1_GH0.tar.gz) = c7ca467de2cca65e7ea74414a3f51e91450156213af485830dcdfff0571e10d2
SIZE (opencontainers-image-spec-v1.0.1_GH0.tar.gz) = 138674
SHA256 (opencontainers-runc-v0.1.1_GH0.tar.gz) = e59694701625218b26b40a8ab2401ef366a940467c61aa21c71f156ea9778f9e
SIZE (opencontainers-runc-v0.1.1_GH0.tar.gz) = 496426
SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
SHA256 (satori-go.uuid-v1.2.0_GH0.tar.gz) = 6f9d9549958252d7c5a5ed1cabeedeaab7a600ca0b888a3666cce4c3590aa5a7
SIZE (satori-go.uuid-v1.2.0_GH0.tar.gz) = 8297
SHA256 (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 67f2ddf467b7e63d2d2529d227946a331e245aeef7e2e4521ae82647b5ef84d9
SIZE (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 41373
SHA256 (testcontainers-testcontainers-go-v0.3.1_GH0.tar.gz) = 80d03c65aad36c44b283bf39350cba0c6d880b77792bd36bd28ff0fc093aedb1
SIZE (testcontainers-testcontainers-go-v0.3.1_GH0.tar.gz) = 30816

View File

@ -0,0 +1,4 @@
timescaledb-backup is a program for making dumping and restoring a TimescaleDB
database simpler, less error-prone, and more performant.
WWW: https://github.com/timescale/timescaledb-backup