- Product Version:
- Problem Description:
- Cause:
- Resolution:
ServosityPro: All
OS: Linux
OS: Linux
When performing a mysql database backup by running the RunBackupSet.sh script, the following informative messages are received in the terminal:
$OBM_HOME/bin/RunBackupSet.sh MySQL_Backup
Using APP_HOME: : /usr/local/obm
Using BACKUP_SET : MySQL_Backup
Using BACKUP_TYPE : FILE
Using SETTING_HOME :
Using DELTA_MODE :
Using DEBUG_MODE : NO-DEBUG
[YYYY/MM/DD hh:mm:ss] Start [ Linux platforms (Test),ServosityPro 5.x.x.x ]
[YYYY/MM/DD hh:mm:ss] Start running pre-commands
...
[YYYY/MM/DD hh:mm:ss] [1/3] "LocalTree.sft" has been removed already.
[YYYY/MM/DD hh:mm:ss] [2/3] "RemoteTree.sft" has been removed already.
[YYYY/MM/DD hh:mm:ss] [3/3] Uploading New File ... 100% of "running"
[YYYY/MM/DD hh:mm:ss] [3/3] Deleting temporary file /root/.obm/ipc/BackupSet/Backup_ID/running
[YYYY/MM/DD hh:mm:ss] Backup Completed Successfully
On the ServosityOBS management console, the backup type of the affected backup set has already been set to MySQL Database Server.
Example [Manager User] -> [Username] -> [Backup Set]:

However, the infomative messages shown when running the RunBackupSet.sh script is still showing "Using BACKUP_TYPE : FILE"
$OBM_HOME/bin/RunBackupSet.sh MySQL_Backup
Using APP_HOME: : /usr/local/obm
Using BACKUP_SET : MySQL_Backup
Using BACKUP_TYPE : FILE
Using SETTING_HOME :
Using DELTA_MODE :
Using DEBUG_MODE : NO-DEBUG
[YYYY/MM/DD hh:mm:ss] Start [ Linux platforms (Test),ServosityPro 5.x.x.x ]
[YYYY/MM/DD hh:mm:ss] Start running pre-commands
...
[YYYY/MM/DD hh:mm:ss] [1/3] "LocalTree.sft" has been removed already.
[YYYY/MM/DD hh:mm:ss] [2/3] "RemoteTree.sft" has been removed already.
[YYYY/MM/DD hh:mm:ss] [3/3] Uploading New File ... 100% of "running"
[YYYY/MM/DD hh:mm:ss] [3/3] Deleting temporary file /root/.obm/ipc/BackupSet/Backup_ID/running
[YYYY/MM/DD hh:mm:ss] Backup Completed Successfully
On the ServosityOBS management console, the backup type of the affected backup set has already been set to MySQL Database Server.
Example [Manager User] -> [Username] -> [Backup Set]:
However, the infomative messages shown when running the RunBackupSet.sh script is still showing "Using BACKUP_TYPE : FILE"
The messages suggest that the BACKUP_TYPE field within the RunBackupSet.sh script is currently set to FILE.
To resolve the issue, please amend the BACKUP_TYPE field to DATABASE within the RunBackupSet.sh script file:
RunBackupSet.sh: |
# --------------------------------------------------------------- BACKUP_TYPE ------------------------------------------------------------------ |
# Set backup type. You don't need to change this if you are backing up a file backup set. |
# |
# Options available: FILE/DATABASE/DIFFERENTIAL/LOG |
# e.g. SET BACKUP_TYPE="FILE" for file backup |
# or SET BACKUP_TYPE="DATABASE" for Full database backup |
# or SET BACKUP_TYPE="DIFFERENTIAL" for Differential database backup |
# or SET BACKUP_TYPE="LOG" for Log database backup |
# ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
BACKUP_TYPE="DATABASE" |