CactiEZ backup and recovery

Source: Internet
Author: User

You need to back up both the cacti-backup. SQL and syslog. SQL databases, and the/var/www/html/folder and its overall content.

Restore files and databases:

1. Restore all content in the html folder to the original location:

A. decompress the backup data package and enter the html directory of the extracted data. Run the following command:

In this way, the contents in the html folder backed up will overwrite the content in the currently used html folder. There may be many prompts asking if you need to overwrite them. If it is too troublesome, You can first Delete the content in the/var/www/html/folder (it is overwritten, so it doesn't matter if you delete it first ).

Delete the command: rm-rf/var/www/html /*

2. Import the database files backed up before:

# Mysql-uroot-p cacti

# Mysql-uroot-p syslog

3. After completing the above two steps, it is basically OK. It is best to check whether the Settings are consistent with the local machine.

Set the rrdtool path correctly.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.