To "snapshot" you will have to shut down Prometheus and backup the data.

Snapshot feature was added later in the 2.x release.

Le lun. 1 juin 2020 à 10:19, Christian Hoffmann <
[email protected]> a écrit :

> Hi,
>
> On 5/31/20 9:51 AM, 'Nandeesh Bharamagoudra' via Prometheus Users wrote:
> > Need a quick info, we are going to upgrade Prometheus in production from
> > v2.1.0 to v2.18.0.
>
> My gut feeling says: It should work.
>
> However, I am pretty sure that there is at least one (if not more)
> change which is forward-only. This means: Once you have upgraded, you
> will not be able to go back without data loss. For example, 2.4.0
> updates the WAL format. After it has been updated, older versions will
> no longer be able to read it.
>
> To be more confident, I suggest the following:
>
> 1) Read the changelogs of all versions in-between. There should be
> disclaimers for such changes:
> https://github.com/prometheus/prometheus/releases
>
> 2) Perform your update in your staging environment first in order to
> obsevere if anything happens unexpectedly.
>
> 3) Create a consistent backup (Prometheus snapshot) of your data before
> upgrading.
>
> 4) For the future: Try updating more regularly. This is what most users
> do and which probably reserved way more real-world test coverage. While
> the update you are planning may be expected to work, it could well be
> that almost no one has performed such a large jump yet. Your version is
> over two years old. This is a long time for any actively developed
> software project.
>
>
> Kind regards,
> Christian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/29297589-d553-c754-fd4a-b1ccdd7eee7c%40hoffmann-christian.info
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAFJ6V0qPJF0a%2BRoBVex6PEmECmzCKi_5d2PMWJgYdNRPQuXAvg%40mail.gmail.com.

Reply via email to