vlallo

Registered
Jan 30, 2014
4
0
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 .
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

vlallo

Registered
Jan 30, 2014
4
0
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. :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.