Docly

Deploying BDRSuite Backup Server Container (Fresh Installation)

Estimated reading: 4 minutes 0 views

Introduction

This document provides a comprehensive guide to deploying the BDRSuite Backup Server within a Docker container using a Python script. By following the steps outlined below, users can efficiently set up and manage their backup server environment.

Prerequisites

Before proceeding with the deployment process, ensure the following prerequisites are met:

  1. Docker Installation: Docker must be installed on your host machine. Instructions for Docker installation can be found on the official Docker website
  2. Python 3: Ensure Python 3 is installed on your system. Most recent operating systems come with Python 3 pre-installed. However, if it is not available, you can download and install it from the official Python website

Note: This deployment has been validated on an Ubuntu OS 20.04 host machine.

Steps to Deploy BDRSuite Backup Server within a Docker Container using Python Script

Follow the steps below to execute the BDRSuite Backup Server deployment within a Docker container:

  1. Download Script: Click to download the deployment script: bdrsuite_docker_deployer.py
  2. Execute the Script: Open a terminal window and navigate to the directory where the bdrsuite_docker_deployer.py script is located. Execute the following command: python3 bdrsuite_docker_deployer.py
  3. Deployment Process: The script will handle all necessary steps to deploy the BDRSuite Backup Server within a Docker container
  4. Upon completion, you will be provided with all the required details to access the backup server, including the URL (http://< Host_IP_Address >:6060) and login credentials - Default Username and Password is admin

Deploying BDRSuite Backup Server Container (Manually)

In this section, we will outline the procedure for installing the BDRSuite Backup Server within a Docker container, providing a detailed walkthrough of the installation process and limitations if any.

Before you begin

Make sure that you have already installed Docker on your host machine; if not refer to the steps in Installing Docker on Ubuntu. We have tested the BDRSuite Backup Server container on the docker service installed on Ubuntu OS 20.04 host machine.

By continuing further, you agree to the END USER LICENSE AGREEMENT of Vembu Technologies for using the BDRSuite Backup Server container in your environment.

Installation Steps

The following steps are based on the Docker engine running on Ubuntu 20.04 OS, you can try the same for any other 64-bit operating system version of Ubuntu.

Note: Always use docker commands with sudo or run in root user.

Step 1: BDRSuite Backup Server and its backend database are officially available on the Docker Hub; pull those images using the following commands:

To pull Application container image:[Ubuntu v20.04]

docker pull vembubdr/bdr-latest:latest

To pull Database container image:[PSQL v10.13]

docker pull vembubdr/bdr-latest:psql-latest-new

Step 2: Note down the IMAGE ID of both application and database containers after running the following commands:

docker images vembubdr/bdr-latest:latest

docker images vembubdr/bdr-latest:psql-latest-new

Example:  997b0e01399d [for BDR Server], bd34fb12cf53 [for PSQL]

Step 3: Create a user-defined network, to avail the automatic service discovery, this will allow the containers to communicate using its name.

docker network create –subnet=172.18.0.0/16 vembu-network

Step 4: To check whether the vembu-network is created or not, run the following list command.

docker network ls

Step 5: Run the Database container, by invoking the below command.

docker run –name VembuDatabase –network vembu-network –ip 172.18.0.2 -p 5432:5432 -d -e POSTGRES_PASSWORD=admin -e POSTGRES_USER=postgres -e POSTGRES_DB=SGDatabase -v < Host_Volume_Path >:< Container_Volume_Path > < PSQL Image ID >

Example:

docker run –name VembuDatabase  –network vembu-network –ip 172.18.0.2 -p 5432:5432 -d -e POSTGRES_PASSWORD=admin -e POSTGRES_USER=postgres -e POSTGRES_DB=SGDatabase -v pgdata:/var/lib/postgresql/data bd34fb12cf53

Step 6: To check whether the container is started or not, run the following list command.

docker container ls

Step 7: If you are using a different IP for the database container. Confirm the assigned IP by executing the following command and also the IP for future use.

docker inspect VembuDatabase | grep “IPAddress”

Example:172.18.0.2

Step 8: Run the VembuBDR container, by invoking the below command

docker run –name <VembuBDR550> –network vembu-network -ip 172.18.0.3  –add-host  VembuDatabase:<DATABASE_IP_ADDRESS> –privileged=true -i -t -d –device /dev/fuse –privileged -p 6060:6060 -p 32004:32004 -v /< Host_Volume_Path >:< Container_Volume_Path > < BDR Server Image ID >

Example:

docker run –name VembuBDR550 –network vembu-network –ip 172.18.0.3  –add-host  VembuDatabase:172.18.0.2 –privileged=true -i -t -d –device /dev/fuse –privileged -p 6060:6060 -p 32004:32004 -v /home/vembu/vembu:/vembu 997b0e01399d

Step 9: Now start the BDRSuite Backup Server application using the below command.

docker exec -d VembuBDR701 /etc/init.d/bdrm365service start
docker exec -d VembuBDR701 /etc/init.d/bdrgsuiteservice start
docker exec -d VembuBDR701 /etc/init.d/memcached start

Need to run the above command in case the BDRSuite container was restarted

Step 10: Access your BDRSuite Backup Server web console by entering the following address in the web browser address bar.

http://<Host_IP_Address>:6060

After successful installation, you can log in using the default ‘username’ as admin and ‘password’ as admin.

Limitations

  1. Backup for AWS is not supported in the docker build of BDRSuite.
  2. Tape Backup option is not supported for docker build.
  3. Instant Boot VM and Disk-mount restore options are not supported.
  4. Application item -level recovery is not supported for image-level backups in docker build.
  5. Restore to Microsoft Azure feature is not supported for docker  build.
On This Page