From be03458199aa9e4fffcb129ea5e58952bd31bc0e Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 31 Mar 2025 16:07:54 -0400 Subject: [PATCH] This dump is used to export MySql to MariaDb. Run the dump then copy the file to /mnt/mariadb on Adrastea. Go to the ARM64/Translate folder and run the the translate.sh followed by the restoredb.sh on /mnt/mariadb. --- Database/dump.bat | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Database/dump.bat diff --git a/Database/dump.bat b/Database/dump.bat new file mode 100644 index 0000000..77da51a --- /dev/null +++ b/Database/dump.bat @@ -0,0 +1,7 @@ +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 + +