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.

Freeing up space dev/sda5

Discussion in 'General Discussion' started by vlallo, Jan 30, 2014.

  1. vlallo

    vlallo Registered

    Joined:
    Jan 30, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi I'm looking to free up some space on dev/sda5 which appears to be mounted on ./ directory on my linux centos 6 configuration as you can see below.

    df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 9.9G 9.7G 0 100% /
    tmpfs 16G 0 16G 0% /dev/shm
    /dev/sda1 99M 56M 38M 60% /boot
    /dev/sda8 332G 22G 294G 7% /home
    /dev/sda7 1008M 34M 924M 4% /tmp
    /dev/sda3 15G 3.9G 11G 28% /usr
    /dev/sda2 99G 3.9G 90G 5% /var

    Through my search it appears that my cpanel backups were going into the above directory i have since changed it to point somewhere else. My question is will it be safe to delete the below files from /backup directory without harming my server? Thank you in advanced to whomever can help me.

    cd /
    cd ./backup
    du -h

    1.3G ./2014-01-24/accounts
    104K ./2014-01-24/system/files
    96M ./2014-01-24/system/dirs
    96M ./2014-01-24/system
    1.3G ./2014-01-24
    4.0K ./2014-01-20/accounts
    104K ./2014-01-20/system/files
    11M ./2014-01-20/system/dirs
    11M ./2014-01-20/system
    11M ./2014-01-20
    2.0G ./2014-01-21/accounts
    104K ./2014-01-21/system/files
    96M ./2014-01-21/system/dirs
    96M ./2014-01-21/system
    2.1G ./2014-01-21
    2.8G ./2014-01-23/accounts
    104K ./2014-01-23/system/files
    96M ./2014-01-23/system/dirs
    96M ./2014-01-23/system
    2.9G ./2014-01-23
    2.8G ./2014-01-22/accounts
    104K ./2014-01-22/system/files
    96M ./2014-01-22/system/dirs
    96M ./2014-01-22/system
    2.9G ./2014-01-22
    9.2G .
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's acceptable to remove your backup directories provided you no longer require those backups and you have not manually stored additional required data in those directories.

    Thank you.
     
  3. vlallo

    vlallo Registered

    Joined:
    Jan 30, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you Michael.
     
  4. vlallo

    vlallo Registered

    Joined:
    Jan 30, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Quick question i haven't manually added anything to this directory, is there anything I can do to make sure i'm not deleting something I shouldn't. Which it doesn't appear to be. It's very un nerving to delete files. :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest moving the data from /backup to a separate partition at first, then reviewing it again before deleting it. You can browse through and review the files/directories with the "cd" and "ls" commands.

    Thank you.
     
  6. vlallo

    vlallo Registered

    Joined:
    Jan 30, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you!
     
Loading...

Share This Page