1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

files under mysql's var directory

Discussion in 'Plesk for Linux - 8.x and Older' started by ighal, Feb 17, 2006.

  1. ighal

    ighal Guest

    Hi everyone.

    I have a lot of files named [hostname]-bin.00000x and they are making my filesystem to grow up very fast.

    Does anyone know if those files are necessary to Plesk's functionallity or they are just backup files?

    Please help me....

  2. wagnerch

    wagnerch Guest

    It is binary logging, check your /etc/my.cnf for a line that says "log-bin". If you remove the line and restart mysql then binary logging should be turned off and then you can run "mysqladmin flush-logs" to get rid of them.

    It is not necessary, but if it is enabled then you can do point in time recover with MySQL. You would have to write custom scripts to pull the binary logs and put them to tape or other backup medium.

    See the following URL:

    The Binary Log
  3. ighal

    ighal Guest