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,
- requirements.txt
- rebuild.json
- rebuild.py
rebuild.json
The rebuild.json file contains the default installation directories of the BDRSuite Backup Server and default PostgreSQL port.
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
- Open command prompt with administrative privileges.
- 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 Offsite DR Server
Installing and Preparing Python for BDRSuite Offsite DR Server Rebuild
- Download the latest python version(v3 and above recommended) from the following URL, https://www.python.org/downloads/
- Run the python installer and choose Add Python to PATH option in the Installation Wizard before proceeding with the installation.
- Download the Rebuild.zip and unzip it. The zip file contains – a) requirements.txt, b) rebuild.json, c) rebuild.py.
- Open command prompt with administrative privileges.
- 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.
- 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.
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
- Open Command Prompt.
- 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
L inux :
/home/Rebuild>python3 rebuild.py