Vembu BDR Backup Server

Vembu BDR Suite is backup and disaster recovery solutions software which is an amalgamation of Vembu VMBackup, Vembu Network Backup, Vembu Image Backup and Vembu OnlineBackup. The Vembu VMBackup, Vembu Network Backup, Vembu Image Backup are all client agents that have their unique way of backup method on the basis of backup type that is both image based and application/file level backup to the centralised backup server called Vembu BDR Backup Server.

Protect Your Data with BDRSuite

Cost-Effective Backup Solution for VMs, Servers, Endpoints, Cloud VMs & SaaS applications. Supports On-Premise, Remote, Hybrid and Cloud Backup, including Disaster Recovery, Ransomware Defense & more!

If the Vembu BDR has its presence on-premise, then during disaster if the Vembu BDR Backup Server itself gets damaged, then it is necessary to recover all the backup details. The backup server rebuild process is a key feature which will recover all the client and backup schedule configuration which helps to restore all the critical data and continue with the backup from where it left off.

Pre-requisites

1→ To perform server rebuild, the backup storage must be available with the raw backup data.

Download Banner

2→ A dump of the database file which will be available in the backup storage.

The database will be dumped in a daily basis in the following path “<Drive_Letter>/sgstorage/Default_Repo/sgdatabase/sgdatabase.sql”. The metadata of the backup details could be constructed from the backup data itself.

Steps to Rebuild Backup Server

Rebuilding the backup server is a three-step process

1→ Install MySQL and MongoDB applications to the new machine

2→ Import Vembu BDR backup server database to the new machine

3→ Rebuilding backup server metadata from the backup data

Install MySQL server to the new machine

Install and configure MySQL Server, MySQL Connectors and MongoDB in the new machine. We have simplified the installation of MySQL and its components, by bundling it into a single installer file which installs and configures MySQL, ODBC and MongoDB automatically.

Import Vembu BDR backup server database to the new machine

After installing MySQL server in the new machine, import Vembu BDR backup server database from the dumped database file of crashed machine to the new machine’s MySQL server by executing the given command in MySQL location.

For Windows OS

mysql -u

[username] -p[password] < backup_location/Default_Repo/DB_Name/DB_Name.sql

For Example: (Type the below command from the command prompt mysql bin location)

C:\Program Files\MySQL\MySQL Server 5.4\bin>mysql -uroot -p[pwd] < F:\sgstorage\Default_Repo\SGDatabase\SGDatabase.sql

For Linux OS

mysql -u[username] -p[password] < backup_location/Default_Repo/DB_Name/DB_Name.sql

For Example: (Type the below command from the terminal)

mysql -uroot -padmin < /sgstorage/Default_Repo/SGDatabase/hotbackup-SGDatabase.sql

Rebuilding backup server metadata from backup data

Once MySQL database is recovered from the dump file, install Vembu BDR backup server application in a new system with the same Vembu BDR ID as in the old backup server machine. Also ensure the host name of the new backup server and the old backup server are the same. Also make sure that the same storage location is specified as before.

1→ Choose the option not to start Vembu BDR service immediately after installation. Vembu BDR can be started after a little tweak in the installation.

2→ Delete the data/dbpopulation.txt file in the fresh Vembu BDR installation location.

NOTE: This step is crucial as the text file is present to ensure proper internal DB creation in the fresh installation of Vembu BDR.

3→ Confirm whether backed up data (<drive_letter/sgstorage>) is available in the backup location

4→ The metadata of the backups can be reconstructed using the backed up data by running Vembu BDR from its installation location as shown below:

For Windows

Rebuild MySQL and MongoDB metadata for all backups

>bin\VembuBDR.exe CheckAndUpdateDB All

Rebuild MySQL metadata alone for all backups

>bin\VembuBDR.exe CheckAndUpdateDB MySQL

Rebuild MongoDB metadata alone for all backups

>bin\VembuBDR.exe CheckAndUpdateDB Mongo

Rebuild MySQL and MongoDB metadata for all backups under one client machine

>bin\VembuBDR.exe CheckAndUpdateDB All CLIENT_NAME

Rebuild MySQL and MongoDB metadata for one backup

>bin\VembuBDR.exe CheckAndUpdateDB All CLIENT_NAME BACKUP_NAME

For Linux

Rebuild MySQL and MongoDB metadata for all backups

>./bin/VembuBDR CheckAndUpdateDB All

Rebuild MySQL metadata alone for all backups

>./bin/VembuBDR CheckAndUpdateDB MySQL

Rebuild MongoDB metadata alone for all backups

>./bin/VembuBDR CheckAndUpdateDB Mongo

Rebuild MySQL and MongoDB metadata for all backups under one client machine

>./bin/VembuBDR CheckAndUpdateDB All CLIENT_NAME

Rebuild MySQL and MongoDB metadata for one backup

>./bin/VembuBDR CheckAndUpdateDB All CLIENT_NAME BACKUP_NAME

Here Vembu\Vembu BDR is Vembu BDR installation location.

This command will construct all the metadata and insert them into the database. Now database and all the backed up data are attached with new backup server machine.

Interested in trying Vembu BDR suite?, Try Now on a 30-days free trial: https://www.bdrsuite.com/vembu-bdr-suite-download/

Got questions? Email us at: vembu-support@vembu.com for answers.

Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.

Rate this post