Added “--single-transaction” option to “mariadb-dump” call

This commit is contained in:
pezcurrel 2023-12-31 20:32:35 +01:00
parent a9b0e049b4
commit a49be77cb9

View file

@ -1,2 +1,2 @@
#!/bin/sh
mariadb-dump -d -u root -p mastostart | sed -e 's/ AUTO_INCREMENT=[0-9]\+ / /' > mastostart_solo_struttura.sql
mariadb-dump --single-transaction -d -u root -p mastostart | sed -e 's/ AUTO_INCREMENT=[0-9]\+ / /' > mastostart_solo_struttura.sql