Requirements
Tools and access needed
Backup Script
Bash dump script template
Prepare the Script
Install and test manually
Validate and Protect the Backups
Test restores regularly
Overview
This procedure uses a Linux shell script and GermainUX automation to create scheduled MySQL database backups. The script maintains:Requirements
Configure the MySQL Credentials
Store the database credentials in a protected MySQL configuration file rather than placing the password directly in the script. Create/etc/germain/mysql-backup.cnf:
Backup Script
UpdateDATABASE, DUMP_ROOT_DIR, and MYSQL_CONFIG for your environment.
Prepare the Script
Save the script on the server—for example:Schedule the Backup with GermainUX
Go to Germain Workspace > Left Menu > Automation > Local Program and create a Local Program action. Configure the action as follows:
Schedule the action to run once per day. The script automatically determines whether it must also create a weekly, monthly, or yearly copy.
Validate and Protect the Backups
Regularly verify that:
A backup should not be considered reliable until its restoration process has been successfully tested.
Get Help
Contact GermainUX Support
The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.
Can't find what you need?
Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.
The content of this document is proprietary to GERMAIN SOFTWARE.

