How To Schedule Backups?

Avatar
  • updated
  • Answered

In cPanel, there is a paragraph stating "...These are not automatically scheduled backups. Automatically scheduled backups need to be enabled by the server owner/administrator."


However, I can't find where I can enable the automatically scheduled backups in AMP (Account Management Panel).


Could you tell me where I can enable it?

Avatar
christopherm
Hello, Thank you for your question about utilizing remote backups. If you in a shared hosting environment, it was possible that the script was forbidden from running due to resource usage restrictions. If you are in a VPS environment, with root access, we have a full guide regarding storing backups with Amazon S3. However, these steps can be adapted to use other third party storage services. Best, Christopher M.
Avatar
christopherm
Hello jlcahill,

Thank you for your question about finding a PHP script to automate backups. I am sure the script you have can be made to work with some modification. The InMotion server environment is a conventional Linux, Apache, PHP, MySQL server with all the basic options.

It's possible the script may have some paths relative to the original server it was written for or possible some file permission issues. You may be able to use a search and replace if the original server hostname is used anywhere in the script. Also, there may be some differences in security settings that could be tweaked. Our servers have some mod security rules in place, but these can be accounted for.

Best,
Christopher M.
Avatar
christopherm
Hello, Thank you for contacting us about backing up databases in PHPMyAdmin. It doesn't seem as if PHPMyAdmin offers an automatic backup option in the base install. In a Linux environment, you can use a cron job. I'm sure Windows has a comparable system for running scripts at regular intervals. I was able to find some documentation from Microsoft that may be helpful for you. Best, Christopher M.
Avatar
johnpaulb-imhs1
Hello Hans, Thank you for contacting us about automatic backups on cPanel.If you are on a VPS or Dedicated server, you can Configure local backups in WHM at any time. If you have any further questions, feel free to post them below. Thank you, John-Paul
Avatar
johnpaulb-imhs1

Hello,

Thank you for contacting us about a shell script for taking backups. We are happy to guide you, but we cannot custom code a solution for you from here in the forums. We have a Managed Hosting service, that can help you custom code/setup this type of script. I recommend contacting them for this type of assistance.

Let us know if you have any further questions.

Thank you,

John-Paul

Avatar
johnpaulb-imhs1
Hello, Thank you for your question. You can create a full cPanel backup at any time. To automate your backups into a retrievable format for you, you would need to create a backup script and then set it up as a cron job, which is a fancy way to say scheduled task. This way you can have it run on a particular schedule. We currently do not have instructions for coding a backup script, however. By default, if a visitor lands on a subdirectory without an index page, they will see an "Index Of" page that lists all files and folders under that directory. This can be at the least embarassing and unprofessional and at most a security risk. Learn how to stop the "Index Of" page from showing using the Index Manager in the cPanel. If you have any further questions, feel free to post them below. Thank you, John-Paul
Avatar
johnpaulb-imhs1
Hello awollen, Thank you for your question. We do have documentation that will help with this. Please see the following links. How to run a cron job How to Schedule backups with a cron job If you have any further questions, feel free to post them below. Thank you, -John-Paul
Avatar
Scott
Hello Patrick77, Our servers automatically backup any sites under 10GB every 24-36 hours. This is not a setting that is able to be changed in the cPanel. cPanel backups are not able to be scheduled by a tool, but can be done by setting a cron job (scheduled task) with a custom backup script. You can, however, initiate a cPanel backup at any time via the cPanel backup tool. We also have an article here that shows you how to do just that. I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you. Best Regards, Scott M