Skip to main content

Creating a MariaDB Backup Set for Windows


  1. Click the Backup Sets icon on the main interface of AhsayOBM.

    success

  2. Create a new backup set by clicking the "+" button before "Add new backup set".

    success

  3. Select the “Backup set type”, provide a name for your new backup set and enter the logininformation for the MariaDB server then click Next to proceed.

    success

  4. In the “Backup Source” menu, select the MariaDB databases you would like to backup. Click Next to proceed.

    success

    The “information_schema” and “performance_schema” databases are MariaDB virtual system databases, which contains information about the user databases on the MariaDB instance, are automatically excluded from the backup source. They are read-only and cannot be backed up, therefore they are grayed out and cannot be selected.

  5. In the “Schedule” window, configure a backup schedule for backup job to run automatically at your specified time interval.

    Click the Add button to add a new schedule or double click on the existing schedule to change the values. Click OK then Next to proceed when you are done setting.

    success

    The default backup schedule is daily backup at 3:00 where the backup job will run until completion and the retention policy job will be run immediately after the backup job.

    For details on how to configure the backup schedule settings, please refer to the GUI Overview section.

  6. In the “Destination” window, select a backup mode and click the "+" icon to select a backup storage destination.

    success

    Select the backup storage destination. Click on OK to proceed.

    Example: AhsayCBS server

    success

  7. In the “Encryption” window, the default “Encrypt Backup Data” option is enabled with an encryption key preset by the system which provides the most secure protection.

    success

    Please refer to the GUI Overview section for more details.

    Click Next when you are done with the settings.

    For best practice on managing your Encryption key, refer to the following wiki article.

    Best Practices for managing encryption key on AhsayOBM or AhsayACB?

  8. If you have enabled the Encryption Key feature in the previous step, the following pop-up window shows, no matter which encryption type you have selected.

    success

    The pop-up window has the following three options to choose from:

    • Unmask encryption key - The encryption key is masked by default. Click this option to show the encryption key.

      success

    • Copy to clipboard - – Click to copy the encryption key, then you can paste it in another location of your choice.
    • Confirm - Click to exit this pop-up window and proceed to the next step.
  9. Backup set created.
    1. To start a manual backup job, click on Backup now.

      success

    2. To verify the backup set settings, click on Close and then click on the MariaDB backup set to complete the setup.

      success

      success

  10. Based on Best Practices and Recommendations, it is highly recommended to change the “Temporary Directory”. Select another location with sufficient free disk space other than Drive C:\Users\Administrator\temp. (e.g. Drive E:\Temp).

    Go to Others > Temporary Directory. Click "Change" to browse for another location.

    success

    It is recommended to tick the Remove temporary files after backup to make sure the spooled database files are cleaned up after each backup job to free up space on the temporary drive. Otherwise, if the temporary drive runs out of space the database backup job will not run.

  11. Optional: Select your preferred compression type. By default, the compression is Fast with optimization for local.

    Go to Others>Compressions. select from the following:

    • No Compression
    • Normal
    • Fast (Compressed size larger than normal)
    • Fast with optimization for local

    success