Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Automatic backup of public_html and MySQL to e-mail

Discussion in 'Data Protection' started by olekkurczyk, Feb 21, 2012.

  1. olekkurczyk

    olekkurczyk Registered

    Joined:
    Feb 21, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Website Owner
    Hello,
    I have read that - http://forums.cpanel.net/f49/automatic-cpanel-backup-domain-mysql-cron-php-111213-p2.html - but this is not that what i'm looking for. I'm currently using very unreliable hosting and I'm looking for some script witch I would add to cron job and witch will automatically do a backup of public_html folder and MySQL (in SQL format like from phpMyAdmin) database on my server and send that backup as an attachment to my e-mail inbox. Is there something like that or I have to write that myself?

    Thanks in advance.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    405
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I wonder why you stick with a hosting company if you know, their service is unreliable :)

    Anyway, I have a samll script at Some techie thoughts » Simple Backup script which will take daily and weekly backup ( you can add monthly backup as well by appending a couple of lines into it).

    Note that it will take a local backup. You can send it to a remote machine or do anything else based on your needs!

    Thank you,
    Nibin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice