- Stop archiver.
- Run the archiver-db-migrator tool, specifying the path of the old database, and the path of where to store the new database directory. Wait for the process to stop.
- Rename the old database directory to something else, and the new directory to the old name, thus we don't need to modify the archiver configuration.
- Update the archiver version in the docker compose file.
- Start archiver.