Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:46:30 PM

Pages: [1]   Go Down
  Print  
Author Topic: Deleting Backups and Logfiles  (Read 630 times)
tafx
Newbie
*
Offline Offline

Posts: 3


« on: February 14, 2009, 06:19:05 AM »

Hi gusy,

i am new on a VPS and have not much experience on this. my harddisk limit is 20GB
AS i started yesterday go online with my Site (size on server of script max 100MB), my harddisk usage raised every 5-10min and now after 1 day it displays over 6,5 GB Harddisk storage.

so i think the linuxserver is making aut. backups and logfiles and what ever else.
on my ftp-server i couldnt find anything, so i think somewhere elso on server.

can anyone tell me where these files are stored and how to delete them, coz if it continues like that it will fill within 2 days 20GB of shit...

now. 1) it is possible to stop this automatics backup or restoring , if so how?
       2) where are these files/backups stored? please give me intro how to axess these files
       3) how can i delete them ( using ftp?  over plesk?  how?)






Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #1 on: February 15, 2009, 09:39:54 PM »

Hello Tafx,

I would advise to find out what is consuming the space first and then take steps to fix the cause. Automatic backups can be enabled only if you configured them via Plesk as they are disabled by default. To discover what can be eating up so many disk space you need to use SSH. The following page will help you to SSH into the server:

http://www.lunarforums.com/lunarpages_dedicated_web_hosting/how_to_login_to_your_dedicated_server_via_ssh-t26372.0.html

The root password for your VPS should be the same as you used on signing up for the plan.

Then, you need to switch to the root of the filesystem by inputing:

Code:
cd /

where "cd" is the command changing the working directory  and / is where all Linux filesystems get mounted to. Then you can use the following command to ouput top 5 folders with with biggest disk usage and then cd to the largerst folder which will be listed on the first line and repeat this command to get more detailed path to the biggest folder:

Code:
du -s ./* | sort -rn | head -5

This command lists 5 largest folders at the current location.

Please advise, what folder you found to be consuming the space so the cause could be eliminated.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: