https://github.com/incu6us/gdb
Data backup tool for MySQL databases, local files and directories to S3 or DigitalOcean Space
https://github.com/incu6us/gdb
backup-cli backup-database backup-files backup-utility
Last synced: 4 days ago
JSON representation
Data backup tool for MySQL databases, local files and directories to S3 or DigitalOcean Space
- Host: GitHub
- URL: https://github.com/incu6us/gdb
- Owner: incu6us
- Created: 2017-12-27T11:54:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-28T12:48:51.000Z (over 8 years ago)
- Last Synced: 2024-06-20T20:47:49.293Z (almost 2 years ago)
- Topics: backup-cli, backup-database, backup-files, backup-utility
- Language: Go
- Homepage:
- Size: 190 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gdb (GOLang Data Backup)
------
Tool for backup a local files, directories & mysql, using externally "mysqldump", "cp", "tar"
Config example:
```json
{
"s3": {
"bucket-endpoint": "https://test-bucket-01.nyc3.digitaloceanspaces.com",
"region": "nyc3",
"bucket": "test-bucket-01",
"access-key": "*************",
"secret-key": "**********************"
},
"mysql-configs": [
{
"host": "127.0.0.1",
"port": 3306,
"db": "database01",
"user": "root",
"password": "p@ssw0rd",
"options": [],
"s3-dir": "mysql-bkp"
}
],
"local-configs": [
{
"path": "/etc/issue",
"s3-dir": "local-bkp"
}
]
}
```
* `s3` - general configuration for S3(for AWS S3 you could skip `bucket-endpoint` parameter in json config) or DigitalOcean Space;
* `mysql-configs` - multiple configurations for MySQL database:
- `s3-dir` - path in S3 bucket where backup will be stored
* `local-configs` - configurations for local files & directories to store it to S3