Skip to content

seikath/mysql.xdb.cleanup.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

mysql.xdb.cleanup.sh

Xtrabackup addition to clean up the xdb bitmap log files USAGE:

Add the mysql.xdb.cleanup.sh at the end of you Innobackupex/Xtrabackup script Make sure the following variables are set properly:

BACKUPUSER="USED_XTRABACKUP_USER"
BACKUPUSERPWD="USED_XTRABACKUP_PASSWD"
XTRABACKUP_CHECKPOINTS_PATH="THE DIRECTORY WHERE THE LATEST INCREMETAL OR FULL BACKUP WAS DONE"
DEBUG=1 # or 0 to disable it
MOVE_INSTEAD_OF_DELETE=1 # or 0 delete the xdb files, the xdm files will be stored at the latest xtrabacup directory in XDB_BACKUP and compressed
DRY_RUN=1 # ot 0 to clean up the xdb files in real

About

Xtrabackup addition to clean up the xdb bitmap log files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages