https://github.com/jacobbrewer1/dumpster
A database backup package.
https://github.com/jacobbrewer1/dumpster
database database-backup golang mysql mysql-database mysqldump mysqldump-backup
Last synced: 23 days ago
JSON representation
A database backup package.
- Host: GitHub
- URL: https://github.com/jacobbrewer1/dumpster
- Owner: Jacobbrewer1
- License: gpl-3.0
- Created: 2024-02-04T10:24:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T03:14:34.000Z (5 months ago)
- Last Synced: 2025-04-19T17:16:44.732Z (about 1 month ago)
- Topics: database, database-backup, golang, mysql, mysql-database, mysqldump, mysqldump-backup
- Language: Go
- Homepage:
- Size: 10.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dumpster
Dumpster is a GO CLI tool that makes creating MySQL dumps easy. The application can upload the dump to a Google Cloud
Storage bucket (S3 support is planned). There is a docker image available and attached to this repository under the
packages section.We are planning to add more features to this tool, so stay tuned.
## Installation
You can install the tool using the following command:
```bash
go get -u github.com/Jacobbrewer1/dumpster
```## Usage
### Locally
The tool is very simple to use. You can run the following command to see the available options:
```bash
dumpster commands
```### Docker
There is a docker image available for this tool. I personally use the docker image to run the tool as a Kubernetes
cronjob in my projects.## Commands
The following commands are available:
- `version` - This command will display the version of the tool.
- `dump` - This command will create a dump of the specified database and upload it to the specified bucket.
- `purge` - This command will delete all the files in the specified bucket.## Configuration
The tool requires a small setup if certain features are to be used. you can run the following command to get help on
configuring the tool:```bash
dumpster --help
```