Upgrade TimescaleDB running in Docker
URL: llms-txt#upgrade-timescaledb-running-in-docker
Contents:
- Determine the mount point type
- Upgrade TimescaleDB within Docker
If you originally installed TimescaleDB using Docker, you can upgrade from within the Docker container. This allows you to upgrade to the latest TimescaleDB version while retaining your data.
The timescale/timescaledb-ha* images have the files necessary to run previous versions. Patch releases only contain bugfixes so should always be safe. Non-patch releases may rarely require some extra steps. These steps are mentioned in the [release notes][relnotes] for the version of TimescaleDB that you are upgrading to.
After you upgrade the docker image, you run ALTER EXTENSION for all databases using TimescaleDB.
Tiger Cloud is a fully managed service with automatic backup and restore, high availability with replication, seamless scaling and resizing, and much more. You can try Tiger Cloud free for thirty days.
The examples in this page use a Docker instance called timescaledb. If you have given your Docker instance a different name, replace it when you issue the commands.