How To Install drupal7-backup_migrate on CentOS 7

In this tutorial we learn how to install drupal7-backup_migrate on CentOS 7. drupal7-backup_migrate is Backup the Drupal database and files or migrate them to another

Introduction

In this tutorial we learn how to install drupal7-backup_migrate on CentOS 7.

What is drupal7-backup_migrate

Back up and restore your Drupal MySQL database, code, and files or migrate a site between environments. Backup and Migrate supports gzip, bzip and zip compression as well as automatic scheduled backups. With Backup and Migrate you can dump some or all of your database tables to a file download or save to a file on the server or offsite, and to restore from an uploaded or previously saved database dump. You can choose which tables and what data to backup and cache data is excluded by default. Features * Backup/Restore multiple MySQL databases and code * Backup of files directory is built into this version * Add a note to backup files * Smart delete options make it easier to manage backup files * Backup to FTP/S3/Email or NodeSquirrel.com * Drush integration * Multiple backup schedules * AES encryption for backups This package provides the following Drupal module * backup_migrate

We can use yum or dnf to install drupal7-backup_migrate on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-backup_migrate.

Install drupal7-backup_migrate on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drupal7-backup_migrate using yum by running the following command:

sudo yum -y install drupal7-backup_migrate

Install drupal7-backup_migrate on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install drupal7-backup_migrate using dnf by running the following command:

sudo dnf -y install drupal7-backup_migrate

How To Uninstall drupal7-backup_migrate on CentOS 7

To uninstall only the drupal7-backup_migrate package we can use the following command:

sudo dnf remove drupal7-backup_migrate

References

Summary

In this tutorial we learn how to install drupal7-backup_migrate on CentOS 7 using yum and dnf.