Results 1 to 8 of 8

Thread: [Case 39828] Possible to disable MySQL backup?

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    2

    Default [Case 39828] Possible to disable MySQL backup?

    Hello,

    I tried googling and searching this forum but found no solutions, so I hope it's ok for me to ask here.

    Short story: is it possible to disable mysql backups without disabling backups entirely?

    Long story: I find the cp-based mysql backups to be relatively unhelpful. First, it backs up into one massive file, which makes it really difficult to get a few rows when you have to deal with a 2gb file. Second, even though the backup is done nightly, there's only one. I was under the impression that there would be one per day (so a total of 7). And finally, my website becomes completely inaccessible when the db is being backed up which I'm sure you can agree is totally unacceptable.

    So, all of this to say that I'm now using my own mysql backup script which addresses all of the above issues. However, because I've chosen to use cp's backups for the rest of my site files, it also backs up the db. I don't understand how a panel with as much customization as cp has, overlooked the ability to disable mysql in backups.

    I could comment out lines 294-314 (give or take) in /scripts/cpbackup but I understand that cp would either have a conflict with that or the changes would be over-written on the next update.

    Is it possible to disable mysql backups without disabling backups entirely?

    Thank you for any suggestions

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    2

    Default

    Really? There are so many options but the developers didn't foresee the some people might want to disable db backups? I'm the only one?

  3. #3
    Member
    Join Date
    Apr 2010
    Posts
    13

    Default

    I wanted to disable mySQL entirely, and the only response I got was that this was "absurd."

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    I am moving this thread to our feature requests forum so it can be treated as a feature request.

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default Re: [Case 39828] Possible to disable MySQL backup?

    Update: we are now planning to have this done in time for version 11.34.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default Re: [Case 39828] Possible to disable MySQL backup?

    Update: This is functionality our "Angry Llamas" team plans to implement: https://trello.com/card/i-want-to-di...56d262afd2f/14

  7. #7
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    247

    Default Re: [Case 39828] Possible to disable MySQL backup?

    awesome

    +1

  8. #8
    Registered User
    Join Date
    Jan 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: [Case 39828] Possible to disable MySQL backup?

    @cscs -- I'm interested on your script that backups MySQL addressing the issues you referred. Would you be happy to give it to me?
    If you do, please send me a PM (if you are able to), or reply here.

    Thank you very much!

Similar Threads

  1. backups - exclude public_html directory [Case 39828]
    By forlinuxsupport in forum Feature Requests for cPanel & WHM
    Replies: 5
    Last Post: 01-06-2012, 03:01 PM
  2. Planned for 11.32 [case 50724] Overwrite existing MySQL database on backup restore
    By MironJ in forum Feature Requests for cPanel & WHM
    Replies: 22
    Last Post: 09-14-2011, 10:03 AM
  3. Replies: 10
    Last Post: 12-02-2010, 07:41 AM
  4. Replies: 3
    Last Post: 10-24-2008, 08:41 PM
  5. How to disable mysql backup using cpanel backup
    By oumind in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-16-2007, 09:49 PM