Files
marketdata/Database/dump.bat
Sean be03458199 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.
2025-03-31 16:07:54 -04:00

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