autoxtrabackup icon indicating copy to clipboard operation
autoxtrabackup copied to clipboard

Incremental backups always use last full backup as base instead last incremental backup

Open dorogarcia opened this issue 9 years ago • 2 comments

Hello,

Every time script creates an incremental backup, it use last full backup as base, so you are duplicating a lot of incremental backups.

May be it is not wrong, so my question is:

Are you doing it because you prefer duplicate data, but have last hot incremental ready to restore?

Another solution is create a incremental for last incremental, it will save resources but if you have 23 incremental and number 8 fails, you can not restore after that. If you have small dbs it's ok, but if you have big dbs with intensive IO and create an incremental backup every hour, backup 20,21 and 23 (for example) takes similar time than full backup.

Thanks.

Best Regards.

dorogarcia avatar Jun 24 '15 00:06 dorogarcia

I think it's a good strategy, that you don't need to use many incremental backups to restore the backup,then it saves hours. But on the other side, it takes more hard disk spaces.

jianhaiqing avatar Dec 26 '17 11:12 jianhaiqing

Ok. It's assumable if database is not too big.

dorogarcia avatar Dec 26 '17 11:12 dorogarcia