Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Backup failed: no space left on device

Discussion in 'Data Protection' started by turbo2ltr, Aug 31, 2015.

  1. turbo2ltr

    turbo2ltr Member

    Joined:
    Jun 3, 2011
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    51
    Seems obvious what the issue is, but here's my df.

    Code:
    host2 root [/] # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/md2         94G   24G   66G  26% /
    /dev/md0        488M   58M  405M  13% /boot
    /dev/md1        7.8G   19M  7.4G   1% /tmp
    tmpfs           7.8G     0  7.8G   0% /dev/shm
    /dev/sdc1        46G   22G   22G  51% /backup
    /dev/sdc2       871G   12G  816G   2% /home2
    /backup and /home2 are on a separate drive than everything else.

    There is already a monthly copy in backup, it's 15gb so the daily should be about the same. It did not gzip any of the 5 accounts on the server.

    Code:
    host2 root [/backup/2015-08-31/accounts] # ll
    total 8.0K
    drwx--x--x 2 root root 4.0K Aug 31 02:00 .
    drwx--x--x 4 root root 4.0K Aug 31 02:00 ..
    -rw------- 1 root root    0 Aug 31 02:00 corp.tar.gz
    -rw------- 1 root root    0 Aug 31 02:00 dev3.tar.gz
    -rw------- 1 root root    0 Aug 31 02:00 prod.tar.gz
    -rw------- 1 root root    0 Aug 31 02:00 stage.tar.gz
    -rw------- 1 root root    0 Aug 31 02:00 cli.tar.gz
    Any idea why?

    To give you an idea on how big the zips are:
    Code:
    host2 root [/backup/monthly/2015-08-01/accounts] # ll
    total 13G
    drwx--x--x 2 root root 4.0K Aug  1 02:25 .
    drwx--x--x 4 root root 4.0K Aug  1 02:00 ..
    -rw------- 1 root root 4.4M Aug  1 02:25 corp.tar.gz
    -rw------- 1 root root 1.6G Aug  1 02:25 dev3.tar.gz
    -rw------- 1 root root 7.3G Aug  1 02:11 prod.tar.gz
    -rw------- 1 root root 3.2G Aug  1 02:18 stage.tar.gz
    -rw------- 1 root root 3.3G Aug  1 02:21 cli.tar.gz
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can review the backup logs in the following directory:

    /usr/local/cpanel/logs/cpbackup

    Which account did the backup generation fail at?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. RayJay

    RayJay Registered

    Joined:
    Oct 6, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Birmingham
    cPanel Access Level:
    Website Owner
    hi,

    that code doesn't work for me,

    I am trying to restore a backup but when i try to restore the backup, i get an error advising that i only have about 2gb space left and i need around 10gb to restore the backup.
    I have configured my backups in cpanel to backup every week and keep 3 months of backups. I have been given, by my hosting providers support, a list of my backup directory and can see I have some old backups from the 08/09/2015 which are taking up a lot or room and if i delete them they should free up the required space. And I would then like to restore the backup I have from the 29/09/2015. Does anyone know how i can access my backup directory so i can delete the old backups, from my Cpanel?

    I am using WHM, btw.
     
    #3 RayJay, Oct 6, 2015
    Last edited by a moderator: Oct 6, 2015
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can only delete backup archives with "root" access via SSH or SFTP. Do you have root access to the server?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. RayJay

    RayJay Registered

    Joined:
    Oct 6, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Birmingham
    cPanel Access Level:
    Website Owner
    Hi micheal,

    thanks for this...

    Yes I do have root access. but I do not know how to use SSH or sftp. I have searched online for tutorials but cannot find a good one?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This document may help:

    cPanel - SSH Access

    However, you may want to consult with a qualified system administrator or your hosting provider if you are not comfortable on the command line.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    992
    Likes Received:
    41
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    CSF do a nice utility called 'ConfigServer Explorer', which may allow removal of the files directly within WHM.
    I find 'PUTTY' a good SSH utility, but this is only really any good if you understand command line inputs.
     
    Infopro likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice