Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Introducing overwrite auto-discovery

Pre-release
Pre-release
Compare
Choose a tag to compare
@mhausenblas mhausenblas released this 21 Jul 09:41
· 60 commits to master since this release

As proposed in #4 you can now overwrite ReShifter's auto-discovery for backups, restores, and stats. This means effectively that when you use the RS_ETCD_API_VERSION environment variable, you de-activate the auto-discovery and force ReShifter to use a certain API (either v2 or v3).

For example with the CLI tool rcli, imaging you have an etcd3 cluster running but want to restore a backup using the v2 API:

# restore the backup with ID 1500628848 into your etcd3, but using the v2 API:
$ RS_ETCD_API_VERSION=v2 rcli restore -i 1500628848