# backup to mariadb-bkp directory
mkdir mariadb-bkp && cd mariadb-bkp
mariadb-backup --backup --target-dir=.
# prepare a backup for restore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| printf "\n\nPerforming export of all databases to remote host via SSH" | |
| printf "\n\nMySQL username: " | |
| read mysqlUser | |
| printf "MySQL password: " | |
| read -s mysqlPassword |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # define our parameters | |
| hostArray=("mariadb-90" "mariadb-91" "mariadb-92") | |
| configPath="/etc/maxscale.cnf" | |
| service="maxscale" | |
| # auto variables | |
| currentHost=$(hostname) |
Requires the firebase_analytics package.
- Under
dependencies, add the Firebase Analytics packagefirebase_analytics: ^6.0.0 - Run
flutter pub getto retrieve the package
Original cluster setup from https://github.com/mariadb-faisalsaeed/documentation
See issue comment: faizalrf/documentation#1 (comment)
Below is a basic guide to creating HA Maxscale (>= 2.5) using a pre-configured pacemaker configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Deployer; | |
| require 'recipe/laravel.php'; | |
| // deployment configuration options. | |
| set('repository', 'git@github.com/username/repository.git'); | |
| // set('http_user', 'username'); // optionally set file user | |
| // set('bin/php', '/usr/local/bin/ea-php74'); // optionally set PHP path |
NewerOlder