KB10032 How to manually do the database backup without access to vProtect GUI.

📚

Documentation

Installation guides, configuration steps, and product documentation.

Explore documentation →

🎧

Support

Create a support request or review your existing cases.

Go to support →

⬇️

Download trial

Download the product trial and try it out.

View downloads →

KB10032 How to manually do the database backup without access to vProtect GUI.

KB ID: 10032

Product: vProtect

Version: not applicable

Published: 2021-03-12

Last modified: 2021-03-12

Problem

How to manually do the database backup without access to vProtect GUI.

 

example:

vProtect GUI will not start and we want to backup the vProtect database.

Solution

Go to the vProtect host and run the script that backup the vProtect database.

You can find the database backup in the /tmp directory.

mysql -u root -p

[root@vprotect ~]# /opt/vprotect/scripts/backup_db.sh

[root@vp42 ~]# ls -la /tmp/vprotect_db.sql.gz

-rw-r--r-- 1 root root 146827 03-12 14:40 /tmp/vprotect_db.sql.gz

 

Or, you can specify the target path as an option for the vProtect backup script.

lsblk

[root@vprotect ~]# /opt/vprotect/scripts/backup_db.sh /root/vprotect.sql.gz

[root@vprotect ~]# ls -la /root/vprotect.sql.gz

-rw-r--r-- 1 root root 146826 03-12 14:46 /root/vprotect.sql.gz