Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Freezy old 3.0 pandora

    Posted by daniels on June 28, 2010 at 16:39

    Hi everybody.

    Is it possible to freezy my 3.0 version of pandora?

    I would like to install the new 3.1 version, but the upgrade is not good to me (my database is not very well after the last upgrades). So, I would like to do a new fresh install, but I would like to keep the old (3.0) pandora to get the historical data. Is it possible? Is there a easy way to do that? Any suggestions are welcome.

    Regards.

    daniels replied 14 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • rnovoa

    Member
    July 13, 2010 at 16:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Daniels,

    I would try to dump the contents of the data tables (tagente_datos, tagente_datos_inc and tagente_datos string), tagente_modulo, tagente_estado and tagente and try to restore them in a clean 3.1 install.

  • raul

    Member
    July 13, 2010 at 23:58
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had pandora 2.0 and 3.0 in the same box, using different databases. In the installation you can choose which is the pandora database, by default pandora.

    BE CAREFUL WITH THIS PROCEDURE, AT YOUR OWN RISK (TEST BEFORE):

    – First, put the console in a different directory

    – Second, in the console install, you can use a pandora31 as new database.

    – Third, in the pandora_server_installer script, change the values of the default variables (by example, I had:

    PANDORA_SPOOL=/var/spool/pandora31 (if you want to have both at the same time)
    PANDORA_HOME=/usr/share/pandora_server31
    PANDORA_CFG_DIR=/etc/pandora31
    PANDORA_LOG=/var/log/pandora31
    PANDORA_SERVER=/etc/init.d/pandora_server31
    PANDORA_CFG_FILE=/etc/pandora/pandora_server31.conf

    You don’t need to change tentacle

    – Fourth, edit /etc/pandora/pandora_server31.conf to change the database from pandora to pandora31

    Maybe I’m missing something… Anyway, you can backup your data and use the RENAME MySQL command to rename your current database and make a new install…

  • daniels

    Member
    July 16, 2010 at 16:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thank you guys. I will try your suggestions and post here the results.

    Regards.