
Create backup scripts to backup MariaDB database
- or -
Post a project like this564
£500(approx. $671)
- Posted:
- Proposals: 9
- Remote
- #4219046
- OPPORTUNITY
- Awarded
Full Stack Developer - Laravel, WordPress, Opencart, Shopify Design | SEO, Google Ads, Facebook Meta Ads Expert


Full Stack Developer : PHP| React | Angular | Node.js | IONIC | React Native | Mobile App Development

1550+ Projects (iOS | Android | Mac OS | Web | Win | BlockChain | IOT)

629979711273534506971113144304332474632917113928759685707349558
Description
Experience Level: Expert
Estimated project duration: less than 1 week
I have a 250GB MariaDB database (v 10.6) running on RHEL 9 - currently this is backed up using VMWare backups but they are not crash consistent.
I have started using MariaBackup and it works fine but I need to automate the usage via bash scripting and crons.
I have posted this under Databases as I need some advice on the best way to do this - currently I take a full once a week, then an incremental each night for 6 nights and then another full and so on.
I do not run the prepare process during the backup/post backup stage. Currently full backup takes around 12 mins, incremental takes around 4 mins - prepare on the full backup takes around 90 minutes.
Ideally I would like to be able to run backups every 4 hours - however, backups are easy and I need the best way to be able to recover/restore should this be needed and that is where advice part comes in.
I have to have a full backup - so if I take a full on Monday at midnight and then 40 incrementals and I need to restore I assume this means I have to prepare and then restore 40 incrementals and 1 full backup which will be time consuming and complex etc
So the ask is two fold - recommend the "best" backup/recovery regime for usage of MariaBackup based on 4 hours RPO and, ideally, 4 hour RTO.
Secondly then write the bash scripts/crons to automate this so the backups happen without intervention including folder creation using date based naming conventions (e.g. dbname_date_time_inc or dbname_date_time_full etc), removal of old folders after a period of time and anything else needed to achieve what you set out above in recommendations (especially around making restores easier/quicker/preparation process).
Note: this is NOT just writing some bash scripts so you need to know databases and ideally Mariabackup/Mariadb/Percona and/or MySQL. There is no system access available - you will need to create this locally and test etc then send to me to run in live
I have started using MariaBackup and it works fine but I need to automate the usage via bash scripting and crons.
I have posted this under Databases as I need some advice on the best way to do this - currently I take a full once a week, then an incremental each night for 6 nights and then another full and so on.
I do not run the prepare process during the backup/post backup stage. Currently full backup takes around 12 mins, incremental takes around 4 mins - prepare on the full backup takes around 90 minutes.
Ideally I would like to be able to run backups every 4 hours - however, backups are easy and I need the best way to be able to recover/restore should this be needed and that is where advice part comes in.
I have to have a full backup - so if I take a full on Monday at midnight and then 40 incrementals and I need to restore I assume this means I have to prepare and then restore 40 incrementals and 1 full backup which will be time consuming and complex etc
So the ask is two fold - recommend the "best" backup/recovery regime for usage of MariaBackup based on 4 hours RPO and, ideally, 4 hour RTO.
Secondly then write the bash scripts/crons to automate this so the backups happen without intervention including folder creation using date based naming conventions (e.g. dbname_date_time_inc or dbname_date_time_full etc), removal of old folders after a period of time and anything else needed to achieve what you set out above in recommendations (especially around making restores easier/quicker/preparation process).
Note: this is NOT just writing some bash scripts so you need to know databases and ideally Mariabackup/Mariadb/Percona and/or MySQL. There is no system access available - you will need to create this locally and test etc then send to me to run in live
Jason D.
100% (68)Projects Completed
115
Freelancers worked with
99
Projects awarded
33%
Last project
26 Mar 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

- Do you need to backup the entire database or just some, or maybe some tables?
- Can you tell me how much space you have available for storing backups?
- How busy is the CPU of the database server, is it possible to compress archives using the gz utility?
- Are backups stored locally, or are they copied to network storage?
- For how long do you need to store backups before they are deleted by the script? -

Might you please explain EPO and RPO?
10986001098590
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies