GLPI

Backup GLPI

Spread the love

Backup GLPI

GLPI

After installing GLPI in my last post the next installation step is to back up the installation so that it can be restored if anything goes wrong while you are setting up GLPI.

The process of backing up GLPI is really simple and involves 2 steps:

1. Backup the mysql database

To back up the database MySQLdump can be used by running the following command:

mysqldump -u root -p <glpi_database> > ~/glpi-sqldump.sql

2. Backup the GLPI folder

Once the database is backed up the GLPI folder in /var/www/html/ needs to be backed up and compressed. The easiest way to do this is to use tar to compress the folder and copy it to the folder that you want it copied to. This can be done by running the following command:

tar -czvf /location_to_save_backup/backup_name.tar.gz /var/www/html/glpi

Once these two things are backup up you will have all the data that you need to restore glpi to this state

3 thoughts on “Backup GLPI”

  1. Pingback: How To Update GLPI 10 - ITHOWTOO.COM

  2. Pingback: How To Update GLPI 10 - GLPI How Too

  3. Pingback: Automate GLPI Backups - GLPI How Too

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top