Downgrading
If you are using a standalone ArangoDB server, data directory could have been upgradedautomatically during package upgrade. If you are using the Starter to start yourArangoDB, and you have not triggered yet the rolling upgrade, or upgraded itmanually, your data directory is (probably) still on the old version, so you shouldbe able to binary downgrade in this case.
- Restore a backup you took using the tool Arangodumpbefore the upgrade.
- Start the old package on the data directory backup you took before the upgrade.
This procedure assumes that you have taken an arangodump backup using the oldArangoDB version, before you upgraded it.
- As extra precaution, take a backup of your current data directory (at filesystem level).If you are using an Active Failover or a Cluster, you will need to backup all the datadirectories of all the processes involved, from all machines. Make sure you move yourdata directory backup to a safe place.
- Uninstall the ArangoDB package (use appropriate purge option so your current datadirectory is deleted, if you are using a stand alone instance).
- Install the old version of ArangoDB.
- Start ArangoDB. If you are using the Starter, please make sure you use a new datadirectory for the Starter.
- Restore the arangodump backup taken before upgrading.
This procedure cannot be used if you have done a rolling upgrade of your Active Failoveror Cluster setups (because in this case you do not have a copy of the data directories.
- Stop ArangoDB (if you are using an Active Failover, or a Cluster, stop all the neededprocesses on all the machines).
- Uninstall the ArangoDB package (use appropriate purge option so your current datadirectory is deleted, if you are using a stand alone instance).
- Install the old version of ArangoDB.
- Start ArangoDB on the data directory that you have backup-ed up (at filesystem level)before the upgrade. As an extra precaution, please first take a new copy of thisdirectory and move it to a safe place.
- your data directory has been upgraded already
- it is not possible for you to follow any of the because:
- you do not have a dump backup taken using the old ArangoDB version