Summary: Adds support for rollback feature during yba-ctl upgrades which is enabled by default and can be turned off by specifying --rollback=false option. With rollback enabled we take a backup for the YBA data before performing the upgrade and then if we encounter any errors try our best to rollback the changes, remove the newly installed directory, and then restore the yba-ctl binary to the older version.
Test Plan: Introduce error in platform component upgrade, ensure that rollback completes and older version of software is still running with no data loss.
Reviewers: dshubin, sanketh
Reviewed By: dshubin
Subscribers: yugaware
Differential Revision: https://phorge.dev.yugabyte.com/D35225