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 ease the many difficult ways of doing MariaDB and MySQL backups.

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

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

Add FromDual RPM repository

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

CentOS / Redhat / Fedora / Rocky Linux AlmaLinux

centos.pngredhat.pngrocky_logo.pngalmalinuxlogo.png

Install from CentOS 7 / Redhat 7 repository

yum install epel-release brman php-pecl-ssh2 php-yaml

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

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

Install CentOS 7 / Redhat 7 tarball

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 check-update
yum install pigz php-pecl-ssh2

Install from CentOS 8 / Redhat 8 / Rocky Linux 8 / AlmaLinux 8 repository

We did not test yet if PHP 8.0 or 7.3 and older also works. Please try it out and let us know your results...

$ dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
$ dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
$ dnf install yum-utils
$ dnf module reset php
$ dnf module install php:remi-7.4
$ dnf update

$ dnf install brman php-pecl-ssh2 php-yaml

Add FromDual DEB repository

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

Ubuntu

ubuntu.png

Install from Ubuntu 18.04 LTS (Bionic Beaver) repository

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

Install Ubuntu 18.04 LTS (Bionic Beaver) tarball

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

Install from Ubuntu 20.04 LTS (Focal Fossa) repository

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

Debian

debian.png

Install Debian 9 (Stretch) tarball

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

Install from Debian 10 (Buster) repository

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

Install from Debian 11 (Bullseye) repository

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

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.