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 before 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 theSupported Downgrade Procedures because:
      • you do not have a dump backup taken using the old ArangoDB version

    …one possible option to downgrade could be to export the data from the new ArangoDB versionusing the tool arangoexport and reimport it using the tool arangoimport in the oldversion (after having installed and started it on a clean data directory). This method willrequire some manual work to recreate the structure of your collections and your indices - butit might still help you solving an otherwise challenging situation.