Time for action – restoring the Cacti config.php file
- Logon to your system.
- Change to the
/tmp
directory:cd /tmp
- Create a directory named
cactirestore
and change to that directory:mkdir cactirestore cd cactirestore
- Extract the backup file to the
cactirestore
directory:tar –xzvpf /backup/cacti_files_20101004.tgz
- Check the
tmp
directory for the existence of theetc
,var
, andusr
directories:ls -l
- Change to the Cacti directory under
var
:cd var/www/html/cacti/
- Use the
pwd
command to check if you are in the correct directory:[root@localhost cacti]# pwd /tmp/cactirestore/var/www/html/cacti
- Copy the
config.php
file from theinclude
directory to your ...
Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.