We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it soon. Read more about it: https://vestacp.com/docs/vesta-2-development
How to do server cleanup by getting more space?
How to do server cleanup by getting more space?
Besides the backups being located in /home/backup which I can delete from the control panel, what about the log files? Do the log files just keep growing in size or do they get replaced every so often so log files don't just keep growing in size?
When there are any backups, is the only place that backups are stored is in /home/backup or is there another place they are stored? If so where?
When I upload something via FTP, are those files stored anywhere temporarily on the server, if so how can I remove the temporary files? What about when I upload something via a third-party application such as through WordPress, are the files temporally stored somewhere on the server before being uploaded to the correct destination?
When I delete a website or a subdomain name from the control panel does it remove every trace of the website or subdomain name?
When there are any backups, is the only place that backups are stored is in /home/backup or is there another place they are stored? If so where?
When I upload something via FTP, are those files stored anywhere temporarily on the server, if so how can I remove the temporary files? What about when I upload something via a third-party application such as through WordPress, are the files temporally stored somewhere on the server before being uploaded to the correct destination?
When I delete a website or a subdomain name from the control panel does it remove every trace of the website or subdomain name?
Re: How to do server cleanup by getting more space?
which log files do you mean? Log is normaly log, so you can remove them.AFN wrote:Besides the backups being located in /home/backup which I can delete from the control panel, what about the log files?
Normaly logrotate is setup, so the logs will be archived and older logs zipped.AFN wrote:Do the log files just keep growing in size or do they get replaced every so often so log files don't just keep growing in size?
the backup will be placed in /backups, maybe you have in /home/backups a symlink that points to /backups.AFN wrote:When there are any backups, is the only place that backups are stored is in /home/backup or is there another place they are stored?
They will be uploaded directly to the folder without any temporary files.AFN wrote:When I upload something via FTP, are those files stored anywhere temporarily on the server, if so how can I remove the temporary files?
Normaly not, but this manages your third-party extension, maybe they will create some temporary files.AFN wrote:What about when I upload something via a third-party application such as through WordPress, are the files temporally stored somewhere on the server before being uploaded to the correct destination?
yes, if you remove a user, the full /home/user directory will be removed. With all files, configurations and logs. Also backups should be removed.AFN wrote:When I delete a website or a subdomain name from the control panel does it remove every trace of the website or subdomain name?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: How to do server cleanup by getting more space?
It is better NOT to Delete logs but rather Truncate them...
You can run the below command and change minimum value shown in red to see what big files you have.
find / -type f -size +20M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
You can run the below command and change minimum value shown in red to see what big files you have.
find / -type f -size +20M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
Re: How to do server cleanup by getting more space?
@ScIT and @mehargags I want to say think you for your replies.