Bug #73450 Warn when making an incremental backup based on a nonexisted backup.

Submitted: 1 Aug 2014 7:12
Reporter: Daniël van Eeden Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S4 (Feature request)
Version:3.8 OS:Any
Assigned to: CPU Architecture:Any
Tags: incremental

[1 Aug 2014 7:12] Daniël van Eeden
Description:
MEB should give a warning if we create an incremental backup which is based on a previously created and removed backup.

How to repeat:
We have a backup script which queries mysql.backup_history to find a backup on which the incremental should be based.

This is the query:
select end_lsn from backup_history where exit_state='SUCCESS' order by end_time desc limit 1;

Then we use --incremental --start-lsn=<found_end_lsn> to make the backup.

Suggested fix:
Find the backup info in mysql.backup_history for the backup on which the incremental is based.

Then:
 - Give a warning if backup_destination points to a nonexistend location. (Only if backup_format='DIRECTORY'?)
 - Give a severe warning if exit_stat<>'SUCCESS'

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.