Hi,
My situation is this: I have Cacti 0.8.3a running on Redhat 8.0 in a production environment.
I also have Cacti 0.8.4 running on Fedora Core1 for a test platform.
I need to rebuild the Redhat 8 box from scratch BUT I wish to keep all of my historical data collected by 0.8.3a.
What is my best way of preserving my data? Should I just backup the rra directory and the DB?
How would I then import this data after the rebuild (which will include installing 0.8.4)
I hope this makes sense.
All help appreciated.
Regards,
Anthony
Backup / Restore advice needed
Moderators: Developers, Moderators
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
That's exactly what you want to do.
Use mysqldump cacti > cactidump.sql to back up the DB to a file.
After you rebuild the system you will want to re-install cacti 0.8.3a but instead of installing the default cacti.sql DB use the cactidump.sql.
Restore the rrd files to the rra directory.
That will restore cacti to the pre system rebuild state.
Make sure it works and then upgrade to 0.8.4
Hope it helps
Use mysqldump cacti > cactidump.sql to back up the DB to a file.
After you rebuild the system you will want to re-install cacti 0.8.3a but instead of installing the default cacti.sql DB use the cactidump.sql.
Restore the rrd files to the rra directory.
That will restore cacti to the pre system rebuild state.
Make sure it works and then upgrade to 0.8.4
Hope it helps
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
Ian would be the best source for that answer, but the database schema is modified in 0.8.4 and those changes would have to be applied to your existing DB somehow. Whether you perform an upgrade or a fresh install the features in 0.8.4 will be the same though.anthony.warren wrote:I have noticed elsewhere on this board that there are some different features when performing a fresh install as opposed to an upgrade.
Would it be possible to rebuild by box, load 0.8.4 cleanly and then import my data?
Anthony
Who is online
Users browsing this forum: No registered users and 3 guests