Time for action – restoring the Cacti config.php file

  1. Logon to your system.
  2. Change to the /tmp directory:
    cd /tmp
    
  3. Create a directory named cactirestore and change to that directory:
    mkdir cactirestore
    cd cactirestore
    
  4. Extract the backup file to the cactirestore directory:
    tar –xzvpf /backup/cacti_files_20101004.tgz
    
  5. Check the tmp directory for the existence of the etc, var, and usr directories:
    ls -l
    
    Time for action – restoring the Cacti config.php file
  6. Change to the Cacti directory under var:
    cd var/www/html/cacti/
    
  7. Use the pwd command to check if you are in the correct directory:
    [root@localhost cacti]# pwd
    /tmp/cactirestore/var/www/html/cacti
    
  8. Copy the config.php file from the include 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.