The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Download a home directory Backup is not working.

Discussion in 'General Discussion' started by dpika23, Apr 4, 2008.

  1. dpika23

    dpika23 Active Member

    Joined:
    Oct 20, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    My Customers complaining that the "Download a home directory Backup" is not working.

    We've tested it, and seems not working. When using this backup option, they download a file. But zero bytes.

    I am using cPanel 10.

    Someone can help me in this regard ?
     
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi there,

    Out of curiosity, is your disk (partition) full? I know this might sound like a silly question, but it might be part of the problem. Is the file system read-only? You can know by using the `dmesg` command in a shell as root... it's not always apparent up front, unless you look for it.

    Example of a dmesg with a bad filesystem:

    Code:
    Aborting journal on device sda2.
    ext3_abort called.
    EXT3-fs error (device sda2): ext3_journal_start_sb: Detected aborted journal
    Remounting filesystem read-only
    
    Regards,
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel 10 is a bit outdated. You may wish to migrate to cPanel 11 (there is no additional cost for doing so at this time).
     
  4. seby

    seby Well-Known Member

    Joined:
    Oct 18, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I have also the same issue on all account in server.

    [root@server1 ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 9.7G 399M 8.8G 5% /
    /dev/sdb1 227G 162G 54G 76% /backup
    /dev/sda1 99M 10M 84M 11% /boot
    tmpfs 1.8G 0 1.8G 0% /dev/shm
    /dev/sda7 195G 148G 37G 81% /home
    /dev/sda8 996M 206M 739M 22% /tmp
    /dev/sda3 9.7G 6.3G 3.0G 68% /usr
    /dev/sda2 9.7G 4.2G 5.1G 45% /var
    [root@server1 ~]#
     
  5. woodp5

    woodp5 Member

    Joined:
    Feb 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Central California, USA
    Also experiencing backup problems.

    Hi, I am a reseller customer at a different host who is experiencing similar problems. I have asked my host for assistance but he said nothing is wrong at the host and has closed the ticket. I'm now looking for help here. By the way, this host is running cpanel11.

    Starting sometime after 3/30/2008, backups of Home Directory (http://www.domain.com:2082/getbackup/backup-domain.com-04-14-2008.tar.gz) started aborting early. The tar.gz file is smaller than expected, and opening it reveals that indeed only some of the files have been backed up. Repeating the backup process will yield another aborted backup - The interesting thing being no two backups are the same size - They all seem to abort at a different places.

    I don't know if this is related, but I use WinSCP (http://winscp.net/eng/index.php) for SCP transfers and they stopped working on the same date as backups started aborting. SFTP still works, but SCP doesn't.

    Finally, one last observation - If I have WinSCP open while backing up - At the same moment the backup aborts, my copy of WinSCP closes with the following error "Connection has been unexpectedly closed. Server sent command exit status 0."

    I'm just wondering if my problems could be related to a cpanel configuration, and if so, if anyone else has experienced these problems. I'll try anything because being unable to make backups is making me very uncomfortable.
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    YoUr problem sounds very specific to the server hosting your site. The Home Directory backup (this is not the same as the Full Backup) essentially does this:

    cd to /home/user
    tar cz .

    sending the output of tar directly to the browser rather than a file. It is also run with a very low priority, which means other processes on the system can cause the backup to be delayed, or have other problems.


    You might try generating the Full Backup.

    As for the SCP issue, I have no clue without examining the server.
     
  7. woodp5

    woodp5 Member

    Joined:
    Feb 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Central California, USA
    You have no idea how helpful your comment is - The only reason I mentioned the SCP issue is because both the backup and SCP issues started at the same time. Any chance there was a patch or update pushed out around the same time? (Although I guess my host could have applied a patch/update any time he pleased. Right?)

    And yes, a full backup does run ... and then I manually sftp (not scp) the tarball down to my local storage.

    Thanks again! Big help!
     
  8. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    It's difficult to speculate what may be occurring on the server during your backup process.

    The description given in your first post, suggests your host may have implemented some kind of process accounting that is biased against processes that may appear idle. That's just speculation however and there may be other reasons for the described behavior. It's something you will need to discuss with your host.

    For such discussion, providing them (the host) with a step-by-step method of reproducing the error can be quite helpful. Also, if you can remove your computer and network connection from the equation, it will highlight that the problem is not due to something specific with your computer or connection. For example accessing the backup, using the outlined scenario, from a work computer (or from your home computer, if the problem originally appeared on your work computer), or other computer+connection that is separate from the one experiencing issues.
     
Loading...

Share This Page