Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-8624] Metrics not populated after yugabundle restore
Summary: Issue when restoring from yugabundle to yba-installer with prometheus metrics. Swamper target files were not getting copied over properly. This diff fixes that by copying the targets explicitly over from the yugabackup directory (where we untar yugabundle backup) to the correct location. This is normally not a problem for backup restore because we untar directly in the destination so those files get written. Test Plan: try yugabundle -> yba-installer backup/restore and verify swamper targets exist with right permissions and metrics show up in UI Verify same for yba-installer -> yba-installer Reviewers: sanketh, dshubin Reviewed By: dshubin Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D24877
- Loading branch information