Skip to content

ekapusta/mysql-table-restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-table-restore

Fast MySQL/MariaDB table restore

Implement of copying transportable tablespaces for MySQL and MariaDB

Use when you need to restore many big tables from partial xtrabackup (prepare with export flag)

Limitations

  • same version on source and destination server

  • same table structure on source and destination server

Build

go build -tags "osusergo netgo"

Usage

  -data-dir string
    	Directory with data (default "/var/lib/mysql/")
  -database string
    	Database
  -host string
    	Host (default "tcp(127.0.0.1:3306)")
  -password string
    	Password
  -target-dir string
    	Directory with backuped files (default "./")
  -username string
    	User (default "root")
  -workers int
    	Number of workers (default 1)

About

Fast MySQL/MariaDB table restore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages