How to revert to previous version of Cacti
Moderators: Developers, Moderators
How to revert to previous version of Cacti
We upgraded our system to Cacti-0.8.6j a couple of weeks ago and were running fine. Yesterday we did some work to add the threshold plugin. We are now seeing that only two devices of our 14 devices have rrd's that are getting updated.
I have a backup of the Cacti-0.8.6i install (unfortunately our sqldump was overwritten since the upgrade). Is there anything I can do to revert back to Cacti-0.8.6i and if so, is there a way to convert the database back if we don't have the sqldump?
I would like to preserve the data in the rrd files as much as possible.
Any help would be greatly appreciated as our system is acting very strange right now.
I have a backup of the Cacti-0.8.6i install (unfortunately our sqldump was overwritten since the upgrade). Is there anything I can do to revert back to Cacti-0.8.6i and if so, is there a way to convert the database back if we don't have the sqldump?
I would like to preserve the data in the rrd files as much as possible.
Any help would be greatly appreciated as our system is acting very strange right now.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What version do you want to revert back to and why?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I would like to revert back to 0.8.6i because everything was working with that version (but I don't have the sqldump).
That way, once I have a working version again I can migrate to 0.8.6j cleanly. Make a copy of the working 0.8.6j version. And finally add the threshold plugin.
I don't have to go back to 0.8.6i it is just that I have a copy of that before everything went south and thought it was probably best to go that route and start anew.
Any suggestions are greatly appreciated as I am fairly new to cacti.
That way, once I have a working version again I can migrate to 0.8.6j cleanly. Make a copy of the working 0.8.6j version. And finally add the threshold plugin.
I don't have to go back to 0.8.6i it is just that I have a copy of that before everything went south and thought it was probably best to go that route and start anew.
Any suggestions are greatly appreciated as I am fairly new to cacti.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
as there are no SQL changes between 0.8.6i and 0.8.6j, IMHO you can revert by restoring the files from 0.8.6i (don't forget the patches : http://cacti.net/download_patches.php?version=0.8.6i).
as there are no SQL changes between 0.8.6i and 0.8.6j, IMHO you can revert by restoring the files from 0.8.6i (don't forget the patches : http://cacti.net/download_patches.php?version=0.8.6i).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I tried reverting back to 0.8.6i by removing the 0.8.6j files and then pointing the logical link for cacti back to 0.8.6i but my 12 of my devices' rrd files are still not getting updated.
At this point, I don't know what to try. Is it possible that the Cacti database is corrupt? If so, is there a way to recreate it?
Sorry to ask such noobie questions but I am still trying to get a grasp of how everything ties together.
At this point, I don't know what to try. Is it possible that the Cacti database is corrupt? If so, is there a way to recreate it?
Sorry to ask such noobie questions but I am still trying to get a grasp of how everything ties together.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You need to update version table in the Cacti database to the right version.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
FYI, backups are you friend...
You could have restored the database and the Cacti files and left your rra untouched and everything would have been fine.
You could have restored the database and the Cacti files and left your rra untouched and everything would have been fine.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I amgandalf wrote:Discussion needed. Anyone interested?
I was going to write a documentation about install, upgrade and backup on Unix.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 5 guests