new feature: version info

Bug #1133017 reported by Matthew Kent on 2013-02-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Wishlist
George Ormond Lorch III
2.1
Wishlist
Unassigned
2.2
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

lp:~gl-az/percona-xtrabackup/BT-32889-history-on-server-2.2
Merged into lp:percona-xtrabackup/2.2 at revision 4879
Alexey Kopytov: Approve on 2013-09-25
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
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?

Matthew Kent (mkent) wrote :

Ping?

Matthew -

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

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.

Matthew Kent (mkent) wrote :

Rebased against 2.1.5.

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.

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

Other bug subscribers