new feature: version info

Bug #1133017 reported by Matthew Kent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Wishlist
George Ormond Lorch III
2.1
Won't Fix
Wishlist
Unassigned
2.2
Fix Released
Wishlist
George Ormond Lorch III

Bug Description

Hi guys!

As we continue to expand the number of mysql versions we are using I'm finding myself in a position where I want to include the version information for mysql/xtrabackup/innobackex running at the time of backup. This is easy to write out to a file but impossible to include with the backup right now. To keep this tightly coupled with the backup data I'd like to include it within the copy/tar as well so it's impossible to lose.

For consideration is a patch to do just that, it adds a file, xtrabackup_backup_info, within the backup that includes the mysql, xtrabackup and innobackupex versions.

Wrote this against 2.0.5. Passes testrun.sh and includes it's own tests.

Related branches

Revision history for this message
Matthew Kent (mkent) wrote :
Revision history for this message
Stewart Smith (stewart) wrote :

Thanks for the patch! I'd like us to look at including this in the XtraBackup 2.1 tree.

Changed in percona-xtrabackup:
importance: Undecided → Wishlist
status: New → Fix Committed
Revision history for this message
Matthew Kent (mkent) wrote :

Thanks! Looks like it's marked as fix committed but I can't see it upstream (or I'm misunderstanding how launchpad works). Is this still pending review?

Revision history for this message
Matthew Kent (mkent) wrote :

Ping?

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Matthew -

Thank you for the patch. It is still pending review.

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Hi Matt,

This request is closely related to https://blueprints.launchpad.net/percona-xtrabackup/+spec/history-on-the-server. I've updated it with some comments referencing this bug and the contributed patch. I think it would be reasonable to implement this request along with the history-on-the-server BP.

Thanks.

Revision history for this message
Matthew Kent (mkent) wrote :

Rebased against 2.1.5.

Revision history for this message
Alexey Kopytov (akopytov) wrote :

This has been implemented along with with https://blueprints.launchpad.net/percona-xtrabackup/+spec/history-on-the-server and will be available in XtraBackup 2.2.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-988

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.