Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 23 of 23
  1. #16
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Installing stable build helped us (from release).
    Now we can transfer accounts again and mysql is setup ok.

  2. #17
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Yes, thank you for the quick work on this issue!

    - Scott

  3. #18
    Member
    Join Date
    Dec 2002
    Posts
    240

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by jeroman8 View Post
    Installing stable build helped us (from release).
    Now we can transfer accounts again and mysql is setup ok.
    Well not running into this issue now but it's possible ran into another that is related. Noted a an account transfer the user had stored procedures which were not transferred across. Also the mysql user privileges to deal with the prcoedures was now broken as well. The user previously came from a mysql 5.0 server. So not sure if that played a role or not. Although generating a backup of database as the user via cPanel does not give you the stored procedure there either.

    Really running into a lot of surprises restoring accounts lately with backups not being complete or when running a restore things not all being restored

  4. #19
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    942
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by VeZoZ View Post
    Well not running into this issue now but it's possible ran into another that is related. Noted a an account transfer the user had stored procedures which were not transferred across. Also the mysql user privileges to deal with the prcoedures was now broken as well. The user previously came from a mysql 5.0 server. So not sure if that played a role or not. Although generating a backup of database as the user via cPanel does not give you the stored procedure there either.

    Really running into a lot of surprises restoring accounts lately with backups not being complete or when running a restore things not all being restored
    VeZoZ: the servers between that account was transferred had the same MySQL and cPanel versions?

  5. #20
    Member
    Join Date
    Dec 2002
    Posts
    240

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by Kent Brockman View Post
    VeZoZ: the servers between that account was transferred had the same MySQL and cPanel versions?

    5.0 on one 5.1 on the new one but same cPanel versions. I think the issue is probably with the backup process. I'm using the download mysql database option and it does not provide the procedures. I assume the same code is used in the full backup process when generating the backups of the databases. If cPanel is using mysqldump to retrieve the databases you need to actually specify a flag to get the procedures as by default it's set to not.

    I'm thinking this has been a problem for a while and discovered it by luck when dealing with this other bug.

  6. #21
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    942
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by VeZoZ View Post
    5.0 on one 5.1 on the new one but same cPanel versions. I think the issue is probably with the backup process. I'm using the download mysql database option and it does not provide the procedures. I assume the same code is used in the full backup process when generating the backups of the databases. If cPanel is using mysqldump to retrieve the databases you need to actually specify a flag to get the procedures as by default it's set to not.

    I'm thinking this has been a problem for a while and discovered it by luck when dealing with this other bug.
    Well, that's interesting. If nothing bad happens if you specify that flag in mysqldump even if there is no procedures to backup, this may be seen as a bug in cPanel, easy to correct by the way.
    If anybody from cPanel staff is reading this, may this particular note be taken as a bug report?

  7. #22
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by Kent Brockman View Post
    Well, that's interesting. If nothing bad happens if you specify that flag in mysqldump even if there is no procedures to backup, this may be seen as a bug in cPanel, easy to correct by the way.
    If anybody from cPanel staff is reading this, may this particular note be taken as a bug report?
    Sounds like a bug to me, please treat it as such and submit it via http://go.cPanel.net/bugreport so we can get that fixed (bypassing the usual filtering/community support process we do here in feature requests). Everyone experiencing this is welcome to file their own bug report. The more reports we get, the more weight it carries with our developers. Everyone who submits a report will be emailed when this bug is resolved.

  8. #23
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,782
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 50724] Overwrite existing MySQL database on backup restore

    Quote Originally Posted by VeZoZ View Post
    5.0 on one 5.1 on the new one but same cPanel versions. I think the issue is probably with the backup process. I'm using the download mysql database option and it does not provide the procedures. I assume the same code is used in the full backup process when generating the backups of the databases. If cPanel is using mysqldump to retrieve the databases you need to actually specify a flag to get the procedures as by default it's set to not.

    I'm thinking this has been a problem for a while and discovered it by luck when dealing with this other bug.
    The MySQL Database download pretty much just dumps the database and tables, without considering other data (e.g. triggers, events, routines, etc). We are currently examining this for change since some of those items can rightfully be understood to be part of the database schema.
    Kenneth
    Product Manager
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. Restore backup but not mysql database
    By isputra in forum Data Protection
    Replies: 1
    Last Post: 07-20-2010, 08:53 AM
  2. overwrite existing accounts on the server
    By asmar in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-08-2006, 12:48 PM
  3. Cannot overwrite existing files in the directory
    By foreigndude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-21-2005, 04:47 AM
  4. Are the Full backup restore mysql database ????
    By mrazh in forum cPanel and WHM Discussions
    Replies: 39
    Last Post: 10-21-2004, 09:20 AM
  5. Add existing MySQL database to Cpanel / phpmysqladmin?
    By neilio in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2004, 12:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube