URGENT: export graphs DELETES everything!!!!

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ar1
Posts: 18
Joined: Mon Mar 13, 2006 4:33 pm
Location: Bloomington, IL

URGENT: export graphs DELETES everything!!!!

Post by ar1 »

I used the "exoprt" option in settings so that I could have my graphs faster. I set the path as /var/www which is the root document directory for the apache server.

Next thign I see is that all the files and directories in /var/www are gone!!! Cacti created a directory called "Default Tree" and that's the only thing remaining. Cacti itself is gone too!

Please help, urgent, the server had other files too !!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You need to disable export and restore you files.

What version of Cacti are you running?

We found this to be a problem and a fix was placed in later versions of Cacti to resolve this.
[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]
ar1
Posts: 18
Joined: Mon Mar 13, 2006 4:33 pm
Location: Bloomington, IL

Post by ar1 »

I'm running cacti-0.8.6h which I downloaded just a month ago. Its the same file as on http://cacti.net/download_cacti.php so it's the latest stable one.

Now, there's no way to disable export because the cacti html pages are gone. Also, recovering files is impossible in ext3 filesystem. Unfortunately /var is not backed up for that system either :(

Any ideas on how to recover the data?

Rony, how to use the export then? Does it not work in cacti-0.8.6h? Do I need to use the unstable one?

Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

ar1 wrote:Rony, how to use the export then? Does it not work in cacti-0.8.6h? Do I need to use the unstable one?
IMHO you have to use a subdirectory (/var/www/html/export, for example).
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests