Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Device Types

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Thu Mar 08, 2007 5:16 am    Post subject: Device Types Reply with quote

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??
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Thu Mar 08, 2007 8:34 am    Post subject: Reply with quote

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
Back to top
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Thu Mar 08, 2007 8:53 am    Post subject: Reply with quote

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


The table contents don't appear to be in the SVN version of mactrack.sql.

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
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Thu Mar 08, 2007 8:01 pm    Post subject: Reply with quote

Absolutely. You need to restore from your last backup.

TheWitness
Back to top
lavermil



Joined: 15 Feb 2007
Posts: 45
Location: Phoenix, Arizona

PostPosted: Mon Mar 12, 2007 11:47 am    Post subject: Reply with quote

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



mactrack-device-types_sql.txt
 Description:

Download
 Filename:  mactrack-device-types_sql.txt
 Filesize:  7.88 KB
 Downloaded:  303 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group