Run a Backup Job
Similar to the process of creating a MariaDB Backup Set, the process to run a Backup Job differs greatly between Windows and Linux Operating Systems.
To view the steps on how to run a MariaDB Backup Set for these systems, please select from below:
Run a Backup Job for MariaDB on Windows
Log in to AhsayOBM.
For instructions on how to do this, please refer to the Login (GUI) section.
Click the Backup icon on the main interface of AhsayOBM.
Select the MariaDB Database backup set which you would like to start a manual backup.
You can modify the “Destinations” and “Migrate Data” options.
The Migrate Data option will only be displayed if Deduplication is enabled for the backup set. When the Migrate Data option is enabled, the existing data will be migrated to the latest version during a backup job. Backup job(s) for backup sets with Migrate Data enabled may take longer to finish. For more information about this feature, refer to AhsayCBS v9 New Features Datasheet.
Click on Backup to start the backup process and wait until the backup is finished.
To check the log of your backup, click the Magnify icon. It will show you the log of your backup with corresponding date and time.
Run a Backup Job for MariaDB on Linux
Use the RunBackupSet.sh script to start a backup job manually.
Example: RunBackupSet.sh <backupsetname>
#cd /usr/local/obm/bin
#sh RunBackupSet.sh "MariaDB Database Backup Set 1"
-
Using APP_HOME : /usr/local/obm
Using SETTING_HOME :
Using JAVA_HOME : /usr/local/obm/jvm
Using JAVA_EXE : /usr/local/obm/jvm/bin/java
Using JAVA_OPTS : -Xrs -Xms128m -Xmx2048m -XX:MaxDirectMemorySize=512m -client
-Dsun.nio.PageAlignDirectMemory=true
Using JNI_PATH : -Djava.library.path=.:./LinX64
Using CLASSPATH : .:./cb.jar
-
Running Backup Set - 'MariaDB Database Backup Set 1' ...
[2023/03/28 09:21:12] [info] [-] Start [ AhsayOBM v9.5.2.0 ]
[2023/03/28 09:21:13] [info] [-] Saving encrypted backup set encryption keys to
server...
[2023/03/28 09:21:14] [info] [1679894527462] Start Backup ... Database
[Deduplication: enabled, Deduplication scope: All files within the same backup set,
Migrate Data: disabled, Chunking: CDC(64 K-256 K)]
[2023/03/28 09:21:14] [info] [1679894527462] Using Temporary Directory
/root/temp/1679893995891/OBS@1679894527462
[2023/03/28 09:21:15] [info] [1679894527462] Direct download index
/root/temp/1679893995891/OBS@1679894527462/index/index.db
[2023/03/28 09:21:15] [info] [1679894527462] Skip download index since local index
"/root/temp/1679893995891/OBS@1679894527462/index" is latest or identical to
destination copy on 2023-03-28-03-00-00
[2023/03/28 09:21:16] [info] [-] Start running pre-commands
[2023/03/28 09:21:16] [info] [-] Finished running pre-commands
[2023/03/28 09:21:16] [info] [-] [Start] Backing up database "collection" to
"/root/temp/1679893995891/SpoolArea/MariaDB/collection.sql"
[2023/03/28 09:21:17] [info] [-] [End]
[2023/03/28 09:21:17] [info] [-] [Start] Backing up database "test" to
"/root/temp/1679893995891/SpoolArea/MariaDB/test.sql"
[2023/03/28 09:21:17] [info] [-] [End]
[2023/03/28 09:21:26] [info] [1679894527462] Downloading server file list...
[2023/03/28 09:21:26] [info] [1679894527462] Direct download index
/root/temp/1679893995891/OBS@1679894527462/index/index.db
[2023/03/28 09:21:26] [info] [1679894527462] Skip download index since local index
"/root/temp/1679893995891/OBS@1679894527462/index" is latest or identical to
destination copy on 2023-03-28-03-00-00
[2023/03/28 09:21:27] [info] [1679894527462] Downloading server file list...
Completed
[2023/03/28 09:21:28] [info] [1679894527462] Reading backup source from hard
disk...
[2023/03/28 09:21:28] [info] [1679894527462] Reading backup source from hard
disk... Completed
[2023/03/28 09:21:28] [info] [1679894527462] [Update Attribute]... 100% of
"MariaDB"
[2023/03/28 09:21:28] [info] [1679894527462] [Update File]... 100% of
"MariaDB/collection.sql"
[2023/03/28 09:21:28] [info] [1679894527462] [Update File]... 100% of
"MariaDB/test.sql"
[2023/03/28 09:21:29] [info] [1679894527462] Start validating the presence and size
of backup data in destination "AhsayCBS"...
[2023/03/28 09:21:29] [info] [1679894527462] File: "1679893995891/blocks/2023-03-
28-09-21-03/0/000000.bak", Size: 496, OK
[2023/03/28 09:21:29] [info] [1679894527462] File: "1679893995891/blocks/2023-03-
28-09-21-03/0/000001.bak", Size: 480, OK
[2023/03/28 09:21:29] [info] [1679894527462] Finished validating the presence and
size of backup data in destination "AhsayCBS"
[2023/03/28 09:21:29] [info] [1679894527462] Total New Files = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total New Directories = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total New Links = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total Updated Files = 2
[2023/03/28 09:21:29] [info] [1679894527462] Total Attributes Changed Files = 1
[2023/03/28 09:21:29] [info] [1679894527462] Total Deleted Files = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total Deleted Directories = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total Deleted Links = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total Moved Files = 0
[2023/03/28 09:21:29] [info] [1679894527462] Total Dedupe Saving for this job = 0 B
[2023/03/28 09:21:29] [info] [1679894527462] Total Backup Data Size for this job =
2.67 KB
[2023/03/28 09:21:29] [info] [1679894527462] Total Dedupe Saving for destination =
0 B
[2023/03/28 09:21:29] [info] [1679894527462] Total Backup Data Size for destination
= 8.01 KB
[2023/03/28 09:21:29] [info] [-] Saving server information to destination.
[2023/03/28 09:21:30] [info] [1679894527462] Saving encrypted backup file index to
1679893995891/blocks/2023-03-28-09-21-03 at destination AhsayCBS...
[2023/03/28 09:21:33] [info] [1679894527462] Deleting temporary file
/root/temp/1679893995891/OBS@1679894527462
[2023/03/28 09:21:33] [info] [1679894527462] Backup Completed Successfully
[2023/03/28 09:21:40] [info] [1679894220307] Start Backup ... Database
[Deduplication: enabled, Deduplication scope: All files within the same backup set,
Migrate Data: disabled, Chunking: CDC(64 K-256 K)]
[2023/03/28 09:21:40] [info] [1679894220307] Using Temporary Directory
/root/temp/1679893995891/Local@1679894220307
[2023/03/28 09:21:42] [info] [1679894220307] Direct download index
/root/temp/1679893995891/Local@1679894220307/index/index.db
[2023/03/28 09:21:42] [info] [1679894220307] Skip download index since local index
"/root/temp/1679893995891/Local@1679894220307/index" is latest or identical to
destination copy on 2023-03-28-03-00-00
[2023/03/28 09:21:42] [info] [-] Start running post-commands
[2023/03/28 09:21:42] [info] [-] Finished running post-commands
[2023/03/28 09:21:51] [info] [1679894220307] Downloading server file list...
[2023/03/28 09:21:51] [info] [1679894220307] Direct download index
/root/temp/1679893995891/Local@1679894220307/index/index.db
[2023/03/28 09:21:51] [info] [1679894220307] Skip download index since local index
"/root/temp/1679893995891/Local@1679894220307/index" is latest or identical to
destination copy on 2023-03-28-03-00-00
[2023/03/28 09:21:52] [info] [1679894220307] Downloading server file list...
Completed
[2023/03/28 09:21:53] [info] [1679894220307] Reading backup source from hard
disk...
[2023/03/28 09:21:53] [info] [1679894220307] Reading backup source from hard
disk... Completed
[2023/03/28 09:21:53] [info] [1679894220307] [Update Attribute]... 100% of
"MariaDB"
[2023/03/28 09:21:53] [info] [1679894220307] [Update File]... 100% of
"MariaDB/test.sql"
[2023/03/28 09:21:53] [info] [1679894220307] [Update File]... 100% of
"MariaDB/collection.sql"
[2023/03/28 09:21:54] [info] [1679894220307] Start validating the presence and size
of backup data in destination "Local-1"...
[2023/03/28 09:21:54] [info] [1679894220307] File: "1679893995891/blocks/2023-03-
28-09-21-03/0/000000.bak", Size: 624, OK
[2023/03/28 09:21:54] [info] [1679894220307] File: "1679893995891/blocks/2023-03-
28-09-21-03/0/000001.bak", Size: 624, OK
[2023/03/28 09:21:54] [info] [1679894220307] Finished validating the presence and
size of backup data in destination "Local-1"
[2023/03/28 09:21:54] [info] [1679894220307] Total New Files = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total New Directories = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total New Links = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total Updated Files = 2
[2023/03/28 09:21:54] [info] [1679894220307] Total Attributes Changed Files = 1
[2023/03/28 09:21:54] [info] [1679894220307] Total Deleted Files = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total Deleted Directories = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total Deleted Links = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total Moved Files = 0
[2023/03/28 09:21:54] [info] [1679894220307] Total Dedupe Saving for this job = 0 B
[2023/03/28 09:21:54] [info] [1679894220307] Total Backup Data Size for this job =
2.67 KB
[2023/03/28 09:21:54] [info] [1679894220307] Total Dedupe Saving for destination =
0 B
[2023/03/28 09:21:54] [info] [1679894220307] Total Backup Data Size for destination
= 9.34 KB
[2023/03/28 09:21:54] [info] [-] Deleting temporary file
/root/temp/1679893995891/SpoolArea
[2023/03/28 09:21:54] [info] [-] Saving server information to destination.
[2023/03/28 09:21:55] [info] [1679894220307] Saving encrypted backup file index to
1679893995891/blocks/2023-03-28-09-21-03 at destination Local-1...
[2023/03/28 09:21:58] [info] [1679894220307] Deleting temporary file
/root/temp/1679893995891/Local@1679894220307
[2023/03/28 09:21:58] [info] [1679894220307] Backup Completed Successfully