mysqldump [DB Info] [dump option] [dump target] > /path/to/dump/file.sql
If you want to dump with single transaction..
just add one option in [dump option]
That is "--single-transaction" options.
It make the dump process to slow, but it did not lock the table.
So you can insert, update...etc..during the db dump process.
'Develop > MySQL' 카테고리의 다른 글
Max length of mysql TEXT field type (0) | 2018.08.06 |
---|---|
테이블 정보 보기. (0) | 2012.12.21 |
[MySQL] errno 121 (0) | 2012.09.20 |
[MySQL] 속성 변수 검색 (0) | 2012.04.27 |
[MySQL] 속성 Charset 변경하기 (0) | 2012.04.27 |