omegion / db-backup Goto Github PK
View Code? Open in Web Editor NEWGo CLI tool to create database backups on local and S3 bucket.
License: Apache License 2.0
Go CLI tool to create database backups on local and S3 bucket.
License: Apache License 2.0
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
...
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
db-backup version
):Additional context
Add any other context about the problem here.
Hi! I think you missed to add pg_dump into the Dockerfile:
/ # db-backup s3 export --host=$DB_HOST --port=5432 --databases=$DATABASE_NAME --username=$DB_USER --password=$DB_PASSWORD --bucket=$BUCKET_NAME --logLevel=debug time="14-12-2022 15:10:42" level=debug msg="Exporting database table with pg_dump" Error: 'pg_dump': Execution failed:
Checking the package installed (postgresql): https://pkgs.alpinelinux.org/contents?branch=v3.3&name=postgresql&arch=x86&repo=main
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Dockerfile
golang 1.22-alpine3.18
.github/workflows/build.yml
actions/checkout v4
mathieudutour/github-tag-action v6.1
softprops/action-gh-release v2
actions/checkout v4
docker/login-action v3
docker/setup-qemu-action v3
docker/setup-buildx-action v3
docker/build-push-action v5
.github/workflows/test.yml
actions/setup-go v5
actions/checkout v4
actions/setup-go v5
actions/checkout v4
actions/checkout v4
golangci/golangci-lint-action v4
go.mod
go 1.21
github.com/aws/aws-sdk-go v1.50.6
github.com/go-asset/build v0.0.1
github.com/omegion/cobra-commander v0.11.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9@3a6ce19ff2f9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.