Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Default backups are empty!

    hi
    today i have problem to get my database backup from cPanel(Download a MySQL Database Backup) , but every time i tried, backups saved with no 0 capacity! what is the problem and how can i fix this problem?

  2. #2
    Member
    Join Date
    Feb 2003
    Posts
    30

    Default

    Have you by chance logged in via SSH and un-tarred any backups from the Cpanel backups directory? I noticed a few months ago that if we un-archived a backup into the same backup directory it would not update the backup file, instead it would always show as 0 bytes.

    When we deleted the folder (named the username) from the cpanel backup directory (daily, weekly, or monthly) the backups ran successfully again.

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

    Root Administrator

    Default

    Quote Originally Posted by cybermaster View Post
    hi
    today i have problem to get my database backup from cPanel(Download a MySQL Database Backup) , but every time i tried, backups saved with no 0 capacity! what is the problem and how can i fix this problem?
    Are you logged in as the cPanel user with the cPanel user's password or by some other means (e.g. Reseller's password, root user etc.)?

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Are you logged in as the cPanel user with the cPanel user's password or by some other means (e.g. Reseller's password, root user etc.)?
    i logged with user and pass, i checked one another user in this server and that worked! i dont test with root user.

    Have you by chance logged in via SSH and un-tarred any backups from the Cpanel backups directory? I noticed a few months ago that if we un-archived a backup into the same backup directory it would not update the backup file, instead it would always show as 0 bytes.

    When we deleted the folder (named the username) from the cpanel backup directory (daily, weekly, or monthly) the backups ran successfully again.
    i will try that!

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Are you logged in as the cPanel user with the cPanel user's password or by some other means (e.g. Reseller's password, root user etc.)?
    i checked it with root user everything is fine, cPanel user cant do this and backups are empty! what is the problem?

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

    Root Administrator

    Default

    Quote Originally Posted by cybermaster View Post
    i checked it with root user everything is fine, cPanel user cant do this and backups are empty! what is the problem?
    That's very weird, since it's typically the opposite (the cPanel user gets the full backup but the root user gets empty database backups). I recommend letting a technical analyst take a look at this: http://tickets.cPanel.net/submit

    For anyone wondering, the reason root and reseller users can lead to empty database backups is they do not have permissions to the cPanel user's databases (unless a .my.cnf file with the username and password is set up in that user's home directory). A lack of permissions results in empty database backups.

  7. #7
    Member
    Join Date
    Jun 2007
    Posts
    150

    Default

    Quote Originally Posted by cPanelDavidG View Post
    That's very weird, since it's typically the opposite (the cPanel user gets the full backup but the root user gets empty database backups). I recommend letting a technical analyst take a look at this: http://tickets.cPanel.net/submit

    For anyone wondering, the reason root and reseller users can lead to empty database backups is they do not have permissions to the cPanel user's databases (unless a .my.cnf file with the username and password is set up in that user's home directory). A lack of permissions results in empty database backups.
    This is apparently a bug in the Backup Wizard vs Backup. If you use the Backup Wizard, the SQL dumps are empty. If you use Backup, they are fine...

    I've tested this with about 3 different sites on 3 different cPanel servers.

    Just an FYI to those here and to the cPanel team that this needs to be corrected.

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

    Root Administrator

    Default

    Quote Originally Posted by gkgcpanel View Post
    This is apparently a bug in the Backup Wizard vs Backup. If you use the Backup Wizard, the SQL dumps are empty. If you use Backup, they are fine...

    I've tested this with about 3 different sites on 3 different cPanel servers.

    Just an FYI to those here and to the cPanel team that this needs to be corrected.
    Please do not cross-post. You can find followup to your post at: http://forums.cpanel.net/f4/mysql-ba...nel-80453.html

Similar Threads & Tags
Similar threads

  1. cpbackup - no backups - thinks backups are up to date
    By santrix in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-14-2011, 08:00 AM
  2. 'Restore Backups' / 'Restore Multiple Backups' - No users listed!
    By mitu in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-31-2007, 04:08 AM
  3. FREEBSD: Configured backups only gives us DAILY BACKUPS!
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-23-2006, 09:13 AM
  4. Empty Backup Directory? No Backups!
    By knipper in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-06-2004, 09:24 AM
  5. Backups created with users ID, also Weekly Only backups
    By tkoweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-10-2004, 08:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube