2020年3月5日 | Leave a comment echo backup wms; mysqldump –password=’3333′ –user=aaa –host=127.0.0.1 –no-create-db –single-transaction -q wms > wms.sql; echo ‘resotre wms’ ; mysql –password=’3333′ –user=aaa –host=127.0.0.1 –batch –database=wms wms < wms.sql ;