TurnKey Linux Virtual Appliance Library

Keeps getting IOError: [Errno 32] Broken pipe when try to restore from backup in TKHUB

kamedward's picture
hi, there for some reasons, I keep getting error below when I try to restore a backup to a new vm instance. Tried restore a full and incremental copy but still the same. The only special part about this restore is I was trying to restore a backup from a S3 vm to a EBS vm (so I can use reverse instance). will this create problem? Thanks, -Edward ERROR 1153 (08S01) at line 911: Got a packet bigger than 'max_allowed_packet' bytes Traceback (most recent call last): File "/usr/bin/tklbam-restore", line 313, in main() File "/usr/bin/tklbam-restore", line 301, in main restore.database() File "/usr/lib/tklbam/restore.py", line 106, in database limits=self.limits.db, callback=mysql.cb_print()) File "/usr/lib/tklbam/mysql.py", line 402, in restore fs2mysql(mysql(), myfs, **kws) File "/usr/lib/tklbam/mysql.py", line 365, in fs2mysql MyFS_Reader(myfs, limits, skip_extended_insert, add_drop_database).tofile(fh, callback) File "/usr/lib/tklbam/mysql.py", line 359, in tofile database.tofile(fh, callback) File "/usr/lib/tklbam/mysql.py", line 252, in tofile table.tofile(fh) File "/usr/lib/tklbam/mysql.py", line 308, in tofile fh.write("(%s)" % row) IOError: [Errno 32] Broken pipe
Edward Kam's picture


just realized the error message is actually tell me exactly what's wrong.  Got a packet bigger than 'max_allowed_packet' bytes Traceback.  increasing the 'max_allowed_packet' variable in mysql to 100MB and the problem fixed.

Hitesh's picture


Hi Support,

I'm having issues on restore a full backup, I have successfully completed using webshell --database. Appliance version 11.2. This to create a testbed to a live version already in place.

Every time I use --skip-files --skip-packages I get the following error? I have increased max allowed limit?

Anything else I could try? would appreciate any advise?

Many Thanks,

Jeremy Davis's picture

Answered your other post...

Answered your other post...

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)