O'Reilly logo

Cacti 0.8 Beginner's Guide by Thomas Urban

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – backup your Cacti database

  1. Logon to your Cacti system.
  2. Execute the following command to create a backup directory:
    mkdir /backup
    
  3. Execute the following command and replace <password> with your MySQL database password (all in one line):
    mysqldump --user=root --password=<password> --add-drop-table --databases cacti > /backup/cacti_database_backup.sql
    
  4. Verify that the backup file was created by issuing the following command:
    ls -l /backup
    
  5. Look at the file with the more command:
    more /backup/cacti_database_backup.sql
    
    Time for action – backup your Cacti database

What just happened?

You just created a backup of your Cacti database which includes everything that is stored in your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required