mysqldump: Got errno 32 on write

后端 未结 11 616
心在旅途
心在旅途 2021-01-01 09:03

I used this script for years on my VPS. And it\'s still working.

DBLIST=`mysql -uroot -pROOT_PASSWORD -ANe\"SELECT GROUP_CONCAT(schema_name) FROM information         


        
11条回答
  •  别那么骄傲
    2021-01-01 09:32

    Errno 32 is "broken pipe" so any error that is happening with the pipe destination (in this case gzip) will cause errno 32. If the directory structure has changed and your ${BACKUP_DEST} no longer refers to a directory that exists this problem would occur.

    I would debug this by piping something else to your gzip command or creating an uncompressed backup not involving gzip.

提交回复
热议问题