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.

cPanel backup issue

Discussion in 'Data Protection' started by NixTree, Nov 5, 2010.

  1. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    I have recently ment with running backup for an account my FreeBSD cPanel server. The error I am getting back is,

    Creating Archive ....tar: Write error: No space left on device

    ERROR: tar of backup archive returned error 256


    I have ensured that there is enough disk space on the server

    /dev/ad10s1d 144G 81G 51G 61% /backup
    /dev/ad6s1h 99G 70G 20G 78% /usr/home

    The disk quota assigned to this user is 15GB, where 13.65GB is already used. So this error is due to this?is there any temporary files created under the ownership of this user for homedir backup.

    Please advice me.

    Thank you,
     
    #1 NixTree, Nov 5, 2010
    Last edited: Nov 5, 2010
  2. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    If you're running the backup as the user from their cPanel, then having 13.65GB of a 15GB quota used is certainly why you are getting that error. Granted backups are compressed so they won't take up 13GB of space, but I've certainly never seen gzip compression take 13GB of data and pack it down to <2GB! :)

    Try running the backup as root using:

    Code:
    /scripts/pkgacct <username>
     
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello garrettp,

    Thank you for your prompt reply..I face this issue while running the cPanel scheduled backup.

    I was already able to take a full backup using the pkgacct script, when I run it as root.

    This made me to think that cPanel is dumping the backup of the homedir of the user in the ownership of that user and later move to the backup area and change the ownership???

    I specifically say "homedir" as it skip the contents of public_html and some mails in the backup.

    Any advice will be highly appreciated.

    Thank you.
     
  4. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    cPanel has a temporary backup location at /home/cpbackuptmp where it stores the data as it is being compressed. Once the archive is created, it is moved off to it's permanent store (i.e. /backup) or copied to the remote FTP server and then removed from the temporary location.
     
  5. indiaavi

    indiaavi Registered

    Joined:
    Dec 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi i have an account in cpanel username is "indiaavi" today i made a backup and download for local use.

    After login to cpanel the following error be displayed.

    500 - Internal error code
    User "indiaavi" is over quota.

    and got a mail like

    The account with the username 'indiaavi' (indiaaviationconsulting.com), is running out of disk space.

    Please remove some files from this account, or ask the administrator to increase your disk quota.

    This account has used 111.42% (557.09 Megs) of its allocated disk space.

    !! Do not respond to this message. Your reply will go nowhere. !!

    what can i do??? please suggest me to get away of this problem
     
Loading...

Share This Page