mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2026-11-13 08:37:15 +00:00
MysQL backup and restore built on the shared bkupkit core: streaming end to end, with no dump held in memory or written to local disk.
20 lines
553 B
Go
20 lines
553 B
Go
// Command mysql-bkup backs up and restores MySQL and MariaDB databases to
|
|
// local storage, S3, GCS, Azure Blob, SFTP or FTP, with optional GPG or age
|
|
// encryption. See https://github.com/jkaninda/mysql-bkup.
|
|
package main
|
|
|
|
import (
|
|
"github.com/jkaninda/bkupkit/cli"
|
|
"github.com/jkaninda/mysql-bkup/internal/mysql"
|
|
)
|
|
|
|
var Version = "development"
|
|
|
|
func main() {
|
|
(&cli.App{
|
|
Engine: mysql.New(),
|
|
Version: Version,
|
|
Short: "Back up and restore MySQL and MariaDB databases (local, S3, GCS, Azure, SFTP, FTP; GPG or age encryption)",
|
|
}).Main()
|
|
}
|