Rebuild BDRSuite Backup Server/Offsite DR Server

BDRSuite Backup Server

Preparing the BDRSuite Backup Server for Rebuild

Download the Rebuild.zip and unzip it. 

https://vembu-docs.s3.amazonaws.com/Rebuild.zip

The zip file contains,

  1. requirements.txt

  2. rebuild.json

  3. rebuild.py

rebuild.json

The rebuild.json file contains the default installation directories of the BDRSuite Backup Server and default PostgreSQL port.  

Information Note:  If the default installation directory or PostgreSQL port were customized during installation, open the rebuild.json in any text editor and edit the corresponding inputs. 

 Running the Python script

  1. Open command prompt with administrative privileges.
  2. Change the working directory to where you have download the python script folder and run the file with command given below,

Windows:

C:\Rebuild >> "C:\Program Files\Vembu\BackupForAWS\Python37\python.exe" rebuild.py

Linux:

home/rebuild >> “home/vembubdr/Vembu/BackupForAWS/Python37/bin/python" rebuild.py

BDRSuite OffsiteDR Server

Installing and Preparing Python for BDRSuite OffsiteDR Server Rebuild

  1. Download the latest python version(v3 and above recommended) from the following URL, https://www.python.org/downloads/
  2. Run the python installer and choose Add Python to PATH option in the Installation Wizard before proceeding with the installation. 
  3. Download the Rebuild.zip and unzip it. The zip file contains - a) requirements.txt, b) rebuild.json, c) rebuild.py. 
  4. Open command prompt with administrative privileges.
  5. Go to the “Rebuild” location. For example, If the downloaded folder is in C drive, then change the Path in the Command prompt to C drive, cd C:\Rebuild.
  6. Run the following command in Command Prompt to install the dependency packages of python.

pip install -r requirements.txt

For example,

 Windows:

C:\Rebuild>pip install -r requirements.txt 

Linux:

/home/Rebuild>pip3 install -r requirements.txt

rebuild.json

The rebuild.json file contains the default installation directories of the BDRSuite Backup Server and default PostgreSQL port.  

Information Note:  If the default installation directory or PostgreSQL port were customized during installation, open the rebuild.json in any text editor and edit the corresponding inputs. 

Running the Python script

  1. Open Command Prompt.
  2. Change the working directory to where you have download the python script folder and run the file with command given below,

 Windows:

C:\Rebuild>python rebuild.py

Linux:

/home/Rebuild>python3 rebuild.py 

PreviousNext