2024-08-03 16:03:17 +02:00
|
|
|
|
---
|
|
|
|
|
|
title: Overview
|
|
|
|
|
|
layout: home
|
|
|
|
|
|
nav_order: 1
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# About mysql-bkup
|
|
|
|
|
|
{:.no_toc}
|
|
|
|
|
|
|
2024-12-06 14:21:55 +01:00
|
|
|
|
**MYSQL-BKUP** is a Docker container image designed to **backup, restore, and migrate MySQL databases**.
|
|
|
|
|
|
It supports a variety of storage options and ensures data security through GPG encryption.
|
2024-10-10 21:21:52 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
---
|
2024-12-06 14:21:55 +01:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
## Key Features
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
### Storage Options
|
|
|
|
|
|
- **Local storage**
|
|
|
|
|
|
- **AWS S3** or any S3-compatible object storage
|
|
|
|
|
|
- **FTP**
|
|
|
|
|
|
- **SFTP**
|
|
|
|
|
|
- **SSH-compatible storage**
|
|
|
|
|
|
- **Azure Blob storage**
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
### Data Security
|
|
|
|
|
|
- Backups can be encrypted using **GPG** to ensure data confidentiality.
|
2024-09-09 07:17:15 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
### Deployment Flexibility
|
|
|
|
|
|
- Available as the [jkaninda/pg-bkup](https://hub.docker.com/r/jkaninda/mysql-bkup) Docker image.
|
|
|
|
|
|
- Deployable on **Docker**, **Docker Swarm**, and **Kubernetes**.
|
|
|
|
|
|
- Supports recurring backups of MySQL databases:
|
|
|
|
|
|
- On Docker for automated backup schedules.
|
|
|
|
|
|
- As a **Job** or **CronJob** on Kubernetes.
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
### Notifications
|
|
|
|
|
|
- Receive real-time updates on backup success or failure via:
|
|
|
|
|
|
- **Telegram**
|
|
|
|
|
|
- **Email**
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
## Use Cases
|
|
|
|
|
|
|
|
|
|
|
|
- **Automated Recurring Backups:** Schedule regular backups for MySQL databases.
|
2025-03-16 05:45:12 +01:00
|
|
|
|
- **Cross-Environment Migration:** Easily migrate MySQL databases across different environments using `migration` feature.
|
2025-01-13 14:40:46 +01:00
|
|
|
|
- **Secure Backup Management:** Protect your data with GPG encryption.
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
## Get Involved
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
We welcome contributions! Feel free to give us a ⭐, submit PRs, or open issues on our [GitHub repository](https://github.com/jkaninda/mysql-bkup).
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
{: .fs-6 .fw-300 }
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
---
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
{: .note }
|
|
|
|
|
|
Code and documentation for the `v1` version are available on [this branch][v1-branch].
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
[v1-branch]: https://github.com/jkaninda/mysql-bkup
|
2024-08-11 09:38:31 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
---
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
## Available Image Registries
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
The Docker image is published to both **Docker Hub** and the **GitHub Container Registry**. You can use either of the following:
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
```bash
|
2024-08-10 10:50:00 +02:00
|
|
|
|
docker pull jkaninda/mysql-bkup
|
|
|
|
|
|
docker pull ghcr.io/jkaninda/mysql-bkup
|
2024-08-03 16:03:17 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
While the documentation references Docker Hub, all examples work seamlessly with `ghcr.io`.
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
---
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
|
|
|
|
|
## References
|
|
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
We created this image as a simpler and more lightweight alternative to existing solutions. Here’s why:
|
2024-08-03 16:03:17 +02:00
|
|
|
|
|
2025-01-13 14:40:46 +01:00
|
|
|
|
- **Lightweight:** Written in Go, the image is optimized for performance and minimal resource usage.
|
|
|
|
|
|
- **Multi-Architecture Support:** Supports `arm64` and `arm/v7` architectures.
|
|
|
|
|
|
- **Docker Swarm Support:** Fully compatible with Docker in Swarm mode.
|
|
|
|
|
|
- **Kubernetes Support:** Designed to work seamlessly with Kubernetes.
|