Actualización Bash Mysql Backup

Se ha actualizado el script Bash Mysql Backup a la versión 1.1


  • Añadida opción MAIL_DEBUG. Si se habilita (se define a 1) devuelve los mensajes que normalmente se mostrarían en pantalla, a través de la dirección de correo definida. De este modo podremos tener disponible el debug del script aunque se ejecute por cron
  • Envio del backup por correo
  • Añadida opción ADMIN_MAIL, para almacenar el correo destinatario de los mensajes
  • Tenéis disponible el código fuente en la sección de Códigos Propios ‎o bien en

    2 comments for “Actualización Bash Mysql Backup

    1. Logan
      18/10/2012 at 5:08

      Hi there! I just wanted to ask if you ever have any issues with hackers?
      My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no back up.
      Do you have any solutions to stop hackers?

      • 18/10/2012 at 6:44

        Hi Logan. I actually did not have any issues about my site being compromised until now (fingers crossed).

        There is no tricks in this sense, but keeping your software up-to-date (both mysql, apache, wordpress, etc), and to read as much as you can on SQL injections (which are the common way to crack a blog like this) and wordpress, so you can get as soon as posible if any issue has been discovered in any of the services. Furthermore a good policy on your passwords( in number of characters, type of them, numeric, alphabetical and symbols) and expiration time are good measures to take into account as well.

        These things does not guarantee you that you’re site won’t be attacked, but it will make it more difficult to get success.

        Apart from that, keeping backups of both files and databases (you can use the script mentioned here to automate them) is a good (if not mandatory) measure to take into account,, not only in the case of a successful attack, but just in case or any software failure (remember software has been programmed by humans, so as humans do, it will have errors)

        Good luck

    Deja un comentario