You are here

FromDual Backup and Recovery Manager (brman) Installation Guide

Table of Contents

Introduction

The FromDual Backup an Recovery Manager (brman) for MariaDB and MySQL is an easy to use application (CLI) for creating MariaDB and MySQL backups.
Its main purpose is to eas the many difficult ways of doing MariaDB and MySQL backups.

How to use FromDual brman you can find here: FromDual Backup and Recovery Manager (brman) User Guide.

Prerequisites

Fromdual brman is written in PHP and works best on Linux systems. Other UNIX like systems may work as well.

Preparation for brman

Some preparation work has to be done before installing brman:

centos.pngredhat.png

CentOS 6 / Redhat 6

export DIST=el6
yum install wget php-cli php-mysqli redhat-lsb-core php-process mysql
echo 'variables_order = "EGPCS"' > /etc/php.d/brman.ini

cd /tmp
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum localinstall epel-release-6-8.noarch.rpm
yum update
yum install pigz php-pecl-ssh2

CentOS 7 / Redhat 7 Repository

Add the FromDual RPM repository as described here. Then install brman with the following command:

yum install brman php-pecl-ssh2

For ease of use add the following line to your shell profile (e.g. ~/.bashrc):

export PATH=${PATH}:/opt/brman/bin

CentOS 7 / Redhat 7

export DIST=el7
yum install wget php-cli php-mysqli redhat-lsb-core php-process mysql
echo 'variables_order = "EGPCS"' > /etc/php.d/brman.ini

yum install epel-release
yum update
yum install pigz php-pecl-ssh2

ubuntu.png

Ubuntu 16.04 LTS (Xenial Xerus)

apt-get install wget php-cli php-mysqlnd lsb-core mysql-client php-ssh2 pigz
echo 'variables_order = "EGPCS"' > /etc/php/7.0/mods-available/brman.ini
phpenmod brman

Ubuntu 18.04 LTS (Bionic Beaver) Repository

Add the FromDual APT repository as described here. Then install brman with the following command:

apt-get install brman

For ease of use add the following line to your shell profile (e.g. ~/.bashrc):

export PATH=${PATH}:/opt/brman/bin

Ubuntu 18.04 LTS (Bionic Beaver)

apt-get install wget php-cli php-mysqlnd lsb-core mysql-client php-ssh2 pigz
echo 'variables_order = "EGPCS"' > /etc/php/7.2/mods-available/brman.ini
phpenmod brman

debian.png

Debian 8 (Jessie)

apt-get install wget php5-cli php5-mysqlnd lsb-core mysql-client php5-ssh2 pigz
echo 'variables_order = "EGPCS"' > /etc/php5/mods-available/brman.ini
php5enmod brman

Debian 9 (Stretch)

apt-get install wget php-cli php-mysqlnd lsb-core mysql-client php-ssh2 pigz
echo 'variables_order = "EGPCS"' > /etc/php/7.0/mods-available/brman.ini
phpenmod brman

Installation of brman

Download FromDual Backup and Recovery Manager for MariaDB and MySQL from here.

export RELEASE=2.0.0
cd /tmp
# On Debian 9 use:
# wget --no-check-certificate https://support.fromdual.com/admin/download/brman-${RELEASE}.tar.gz
# For all other distributions use:
wget https://support.fromdual.com/admin/download/brman-${RELEASE}.tar.gz

tar -C /opt -xf brman-${RELEASE}.tar.gz
ln -s /opt/brman-${RELEASE} /opt/brman

Test if everything works fine:

/opt/brman/bin/bman --version

Usage of brman

How to use the FromDual Backup and Recovery Manager for MariaDB and MySQL you can find in the FromDual Backup and Recovery Manager (brman) User Guide.