How to restore truncated MySQL table from binary logs?
You can restore the database from binary logs only if they were enables from the very beginning and if there are all of them starting from .00001. 

Then to restore the database you need to replay all binlogs on a fresh MySQL instance:

for log in mysql-bin.*
do
    mysqlbinlog $log | mysql -h &lt;destination host&gt;
done


If you truncated a table you probably need to restore just it. Then restore the database on some other host and move the table to the original server.