As an experiment I have been testing MySQL Enterprise Backuip (MEB) and incremental backups.
The idea was to test backing up a multi terabyte database. The plan was to test using incremental backups to try and get the backup time more manageable. First thing to note is the MEB can run cummulative and differential incremental backups, which is good but the bad news is without some way of block tracking the process is slow.
The database we are testing is 4TB
Full backup (4TB) - 16 hours
Cummulative (25GB) - 11 hours 30 mins
Differential (20GB) - 10 hours 50 mins
The problem is the time taken to run the incremental backups. Without features like block tracking the backup has to check all the blocks to see if there are changed. This is a long process.
Incremental backups
The process involves new using the following parameters:
--incremental
Specifies the type of backup
--incremental-backup-dir=<location>
Specifies the backup location
--incremental-base=dir:<location>
Specifies the base backup
The incremental-base backup is important if you want to run a cummulative backup use the full backup location and if you want to run a differential then use the last incremental backup location.
For example:
mysqlbackup --incremental --incremental-backup-dir=<location|> --incremental-base=dir:<location> backup
For MEB 3.10 users - there is a bug with MEB when using the thread parameters (--read-threads --process-threads --write-threads). The backup dies without explaination, fixed in 3.11
The actual time and effort taken to create this wonderful article were really great, thanks much for sharing here would like to read this blog regularly to get more important stuff...
ReplyDeleteBest Online Software Training Institute | PLSQL Training
This comment has been removed by the author.
ReplyDeleteThanks for explaining the basics of incremental backup software
ReplyDeleteAwesome post...
ReplyDeleteinternship report on python
free internship in chennai for ece students
free internship for bca
internship for computer science engineering students in india
internships in hyderabad for cse students 2018
electrical companies in hyderabad for internship
internships in chennai for cse students 2019
internships for ece students
inplant training in tcs chennai
internship at chennai
Very useful post and I think it is rather easy to see from the other comments as well that this post is well written and useful. I bookmarked this blog a while ago because of the useful content and I am never being disappointed. Keep up the good work..
ReplyDeleteDevops Training in Gurgaon
Docker Kubernetes training in Gurgaon