Hi
Since upgrading our test cacti to the SVN version of mactrack, I appear to have lost all of my device types.
Is there anyway of getting them back??
Device Types
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Restore your latest backup to a separate database, export the appropriate table using something like MySQL Query Browser to a CSV and then import using the new Device Type import function.
Interested in "how" they got wiped though.
TheWitness
Interested in "how" they got wiped though.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
The table contents don't appear to be in the SVN version of mactrack.sql.TheWitness wrote:Restore your latest backup to a separate database, export the appropriate table using something like MySQL Query Browser to a CSV and then import using the new Device Type import function.
Interested in "how" they got wiped though.
TheWitness
I removed all the old tables on the test database before upgrading and starting again and then ran mysql test_cacti < mactrack.sql so I guess that's how I lost them
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Absolutely. You need to restore from your last backup.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
I am fairly sure the reason he lost them all is because he didn't install the original version of mactrack from cactiusers.org. Once that is done and then upgrade, if I recall correctly, everything goes ok.
Anyhow in case anyone is interested. Here is an export of the device types. This is in SQL (4.1.10a) format
Anyhow in case anyone is interested. Here is an export of the device types. This is in SQL (4.1.10a) format
- Attachments
-
- mactrack-device-types_sql.txt
- (7.88 KiB) Downloaded 2009 times
Who is online
Users browsing this forum: No registered users and 1 guest