Skip to content

Conversation

@EvansCesilThomas
Copy link
Contributor

As stated in the todo list for the Installation Process, this creates a backup to CONFIG_DIR/.ardupilot_methodic_configurator/backups/VERSION/
The current software is backed up as a wheel package pulled from PyPI (not local install). In addition to this, the vehicles directory is also backed up to the same location.

To restore the backed up version, run the following inside the AMC venv:

pip install --force-reinstall CONFIG_DIR/.ardupilot_methodic_configurator/backups/VERSION/ardupilot_methodic_configurator-VERSION-py3-none-any.whl

In case the python modules that are dependencies chnage versions later and you wish to restore the versions of the dependencies that are required by the backed up version, run the following inside the venv:

pip install --force-reinstall CONFIG_DIR/.ardupilot_methodic_configurator/backups/VERSION/*.whl

@amilcarlucas, I guess this is what you meant by backing up, so just tried my hand at this

The backup of the current version of the software is stored as wheel package to CONFIG_DIR/backups/VERSION/
As of now, pip install this wheel after uninstalling the newer version.

Signed-off-by: Evans Cesil Thomas <[email protected]>
@amilcarlucas
Copy link
Collaborator

@EvansCesilThomas I cleaned it up and moved it to #1156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants