I' m using cacti for some time... real good and light tool ...
What i wanna ask is: How can I backup my whole configuration.
Do i have to export the mysql database and copy it with the whole cacti directory(in my linux /var/www/html/cacti ) on some kind of media(lets say to copy it through nfs on my pc).
Is this enough??? Having a fresh system installed (with the software needed) can I just import again the database and move the cacti directory
whereit was originally was?? Is it going to work
If u can give me some kind of information on how to export/import the database because i am not really familiar with mysql.
Thanx
lostbody
backing up the whole configuration
Moderators: Developers, Moderators
Here is how I would backup cacti:
1) 'cd' to your cacti directory, for most it would be:
-Ian
1) 'cd' to your cacti directory, for most it would be:
2) Dump the MySQL db:cd /var/www/html/cacti
3) Tar up the cacti directory:mysqldump -u root -p cacti > cacti-backup.sql
That will leave you with a tar file containing everything you need to restore cacti to its previous working state.tar cvzf cacti-backup.tar.gz .
-Ian
Who is online
Users browsing this forum: No registered users and 2 guests