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.
This commit is contained in:
7
Database/dump.bat
Normal file
7
Database/dump.bat
Normal file
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user