![](https://secure.gravatar.com/avatar/266d2d559e445082c9bbcdccbe425e40.jpg?s=120&d=mm&r=g)
Thank you, I can manage the mysql migration with an export and import.
------ Original Message ------ From: "Adam Armstrong" <adama@observium.orgmailto:adama@observium.org> To: "Observium" <observium@lists.observium.orgmailto:observium@lists.observium.org>; "Helmut Fritz via observium" <observium@lists.observium.orgmailto:observium@lists.observium.org> Cc: "Helmut Fritz" <helmut.fritz@cirrascale.commailto:helmut.fritz@cirrascale.com> Sent: 9/11/2022 12:28:34 PM Subject: Re: [Observium] Re: [EXTERNAL] Re: upgrading older versions
Not really. You're just migrating the sql database and the rrd directory. It's sort of the same as a backup & restore.
The least friction method is probably to install on the new system with the install script, use whatever method to drop & reinsert the mysql database from the old system (phpmyadmin?), copy the rrds from the old system, modify config.php with whatever changes were on the old system, then run discovery -u to update schema.
migrating the mysql needs some mysql familiarity. it's not really easy for us to document because it'll break all the time on different distros/versions/etc.
adam.
Helmut Fritz via observium wrote on 11/09/2022 19:29: Adam, Thank you! Are there any step by step or even general directions for migrating to another machine (i.e. if i do a from scratch new system)?
Helmut
------ Original Message ------ From: "Adam Armstrong via observium" <observium@lists.observium.orgmailto:observium@lists.observium.org> To: "Observium" <observium@lists.observium.orgmailto:observium@lists.observium.org> Cc: "Adam Armstrong" <adama@observium.orgmailto:adama@observium.org> Sent: 9/11/2022 11:18:31 AM Subject: [EXTERNAL] [Observium] Re: upgrading older versions
I’d probably upgrade the os first, else the ancient database might not have support for some schema options we currently use.
You can upgrade in one go, the db schema updates and rrd changes are performed sequentially by the discovery -u command.
Alternatively you can do a new install and migrate over the database and rrd directory, and have the discovery command migrate the db and rrd there.
Adam.
Sent from my iPhone
On 11 Sep 2022, at 19:00, Helmut Fritz via observium <observium@lists.observium.orgmailto:observium@lists.observium.org> wrote:
Hello, We have an instance of Observium running on Ubuntu 16.04. I would like to bring this OS somewhat current, say to 20.04 or maybe even 22.04.
At the same time, our Observium version on this is 20.1.10233.
Would there be an issue upgrading the OS with the current version of Observium running on them? I know a fresh install would be best, but then what is the migration procedure? Are all alerts and configurations moved in the migration (I would assume so, but want to understand this as it is a lot of work to recreate all of this).
Is there an issue going in one jump from 20.1.10233 to latest, or should this be done in stages?
Should Observium or the OS be dealt with first (concerned about php/mysql versions matching Observium versions, etc)?
We are a Pro subscriber if it matters.
Thx! _______________________________________________ observium mailing list -- observium@lists.observium.orgmailto:observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.orgmailto:observium-leave@lists.observium.org
_______________________________________________ observium mailing list -- observium@lists.observium.orgmailto:observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.orgmailto:observium-leave@lists.observium.org
-- Sent from Postboxhttps://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach