new feature: --extra-file

Bug #1133010 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 Committed
Wishlist
Unassigned
2.1
Fix Committed
Wishlist
Unassigned
2.2
Fix Committed
Wishlist
Unassigned
2.3
Fix Committed
Wishlist
Unassigned

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 exact package name and build that was 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 an option --extra-file=FILE that can be used to include an arbitrary file (or files if passed multiple times) within the backup.

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

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 to look at us including this in the 2.1 branch of XtraBackp.

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

Rebased against 2.1.5

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-987

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.