Reader small image

You're reading from  Cacti 0.8 Beginner's Guide

Product typeBook
Published inMar 2011
Reading LevelBeginner
PublisherPackt
ISBN-139781849513920
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Thomas Urban
Thomas Urban
author image
Thomas Urban

Thomas Urban is the owner of Urban-Software.de, a software and consulting services company providing add-ons, plugins, and services for the Cacti Performance Monitoring systems. He has been in the consulting business for more than 5 years and has been creating web applications for over 20 years building reporting interfaces, network management software, asset management sites, and much more. He is a part of the Cacti community and is known as Phalek in the Cacti forums, where he is among the Top 10 contributors. He started writing the first Cacti Beginners Guide for Cacti 0.8 back in 2011. The second edition is his second official effort.
Read more about Thomas Urban

Right arrow

Time for action – restoring all Cacti files


  1. Logon to your Cacti server.

  2. For this example, let's assume you have it copied into the /backup directory.

  3. Change to the root directory:

    cd /
    
  4. Extract the contents of the backup:

    tar –xzvpf /backup/cacti_files_20101004.tgz
    
  5. You will see the contents of the archive being displayed on the screen during the extraction process, as shown in the following screenshot:

What just happened?

You extracted the files from your backup. The –p option tells tar to maintain the permissions as they were at the time of the backup. By using the –v (verbose) option, the name of each file currently being extracted is displayed on the screen, allowing you to monitor its progress. You will need to restart all relevant services afterwards, or reboot the system to make all the changes to the configuration files active.

Tip

Restore the Cacti files to a separate system

If you intend to restore the backup archive to another Linux distribution, or just want to restore a single file...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Cacti 0.8 Beginner's Guide
Published in: Mar 2011Publisher: PacktISBN-13: 9781849513920

Author (1)

author image
Thomas Urban

Thomas Urban is the owner of Urban-Software.de, a software and consulting services company providing add-ons, plugins, and services for the Cacti Performance Monitoring systems. He has been in the consulting business for more than 5 years and has been creating web applications for over 20 years building reporting interfaces, network management software, asset management sites, and much more. He is a part of the Cacti community and is known as Phalek in the Cacti forums, where he is among the Top 10 contributors. He started writing the first Cacti Beginners Guide for Cacti 0.8 back in 2011. The second edition is his second official effort.
Read more about Thomas Urban