Backup / Restore advice needed

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
anthony.warren
Posts: 31
Joined: Fri Nov 22, 2002 10:50 am
Location: Rochester, UK

Backup / Restore advice needed

Post by anthony.warren »

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
Phil

Post by Phil »

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
anthony.warren
Posts: 31
Joined: Fri Nov 22, 2002 10:50 am
Location: Rochester, UK

Post by anthony.warren »

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
Phil

Post by Phil »

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
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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest