Go to the ARM64/Translate folder and run the the translate.sh followed by the restoredb.sh on /mnt/mariadb.
8 lines
476 B
Batchfile
8 lines
476 B
Batchfile
REM I wrote this specifically to dump the entire database including SQL to the backupdb.sql for the purpose
|
|
REM of importing it into MariaDb running on the Andrastea machine which is a Pi 4 B.
|
|
REM If this works out nicely then I am considering purchasing another Pi 5 16Gig
|
|
|
|
"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump" --hex-blob --max_allowed_packet=64M --default-character-set=utf8mb4 --all-databases --user=root --password=dbas --master-data > backupdb.sql
|
|
|
|
|