Backup & Restore MariaDB without a staging path using Streaming
In this approach Zmanda Pro is configured to trigger the Mariabackup and stream the backup directly as a compressed file to the Storage Vault without using an intermediate staging area.
Configure a Program Output Protected Item
Items Tab
Configure the Command
to mariabackup
backup command with the mbstream
utility. This would instruct the mariabackup to write the output of the command to the Standard Output
Configure the Save As
to use an appropriate name like backup.tar.gz
Save
After saving the configuration you should see a Program Output
protecte item ready for your first backup.
You can configure schedules and retention periods similar to any other protected item.
Restore & Recovery
The Restore process involves retrieving the backed-up data from the backup storage (in this case, Zmanda Pro) and placing it in a specified location on the target system. The restored file would be restored as a compressed archive.
The Recovery process takes the restored data and prepares it for use by MariaDB. This involves several important steps to ensure data consistency and make it ready for the MariaDB server to use. This is a manual process.
This process is similar to a Program Input
restore.
Navigate to the
Devices
Tab of the MariaDB server's Zmanda Pro userClick on the
Actions
and selectRestore
Select the appropriate
Storage Vault
to restore fromExpand the Device name and Select the
Protected Item
nameMake sure
All items
is selected for restoreSelect
Restore as
-Program Input
Provide Command to extract the
tar
archive into the desired directorySelect
Process multiple files using
for theArchive
optionClick on
Restore
Recovery
Navigate to
Output Directory
Prepare the MariaDB target directory
Remove MariaDB data directory
Recovering the restored files back
Update the ownership of Data Directory to
mysql
Last updated