Delete Backup Files Of Terminated Accounts
Jun 18, 2009What is the best way to remove backups files of terminated accounts in the /backup/cpbackup/daily directory?
View 1 RepliesWhat is the best way to remove backups files of terminated accounts in the /backup/cpbackup/daily directory?
View 1 RepliesI have files on offsite backup from a previous server - I can login via putty ot winscp.
Putty login shows:
Quote:
FreeBSD 6.1-RELEASE-p3 (BACKUP3)
i want to delete them all - how can I do this in the most secure manner with the access I have?
im try to delete some file from cpanel but everytime i delete nad refresh they come back
also if i try to change the perms it does not let me?
i have installed the Domain Technologie Control Panel on Debian Etch, and have 2 folders that will not delete via FTP
I was wondering if anyone had a tutorial or could tell me how to be able to delete them....
I am currently freeing up some space on my VPS and want to know if it ok for me to delete the following files in: /var/log/
apf_log.3
apf_log.4
boot.log.3
boot.log.4
cron.3
cron.4
exim_mainlog.3.gz
exim_mainlog.4.gz
exim_paniclog
exim_paniclog.3.gz
exim_paniclog.4.gz
exim_rejectlog.3.gz
exim_rejectlog.4.gz
maillog.3
maillog.4
messages.3
messages.4
rpmpkgs.3
rpmpkgs.4
secure.3
secure.4
spooler.3
spooler.4
I am running my VPS on direct admin panel, my disk space is going low, so i am deleting few junk / log files
Kindly let me know
1) is it safe to delete data of this directory -
/var/log/httpd/domains
The File names in above directory are such as - " domain.com.bytes "
As it is occupying 600 MB space
2) where can i delete much junk / temp files, to free up space.
In one folder, I have thousand of files, and I want to delete 100 specific files. Saying specific files, I mean all of them has a keyword. So, I can find out all of them by using
grep "keyword" *
but dont know how to delete all of them. Not deleting one by one.
I'm having a problem with one of my users on my box. For some reason they cannot delete files or change permissions and sometimes while uploading, it says the server has reset.
I haven't had any issues myself but what could be causing this?
I am using a Linux Fedora 4.0 box with Cpanel.
I have WHM 11.1.0 cPanel 11.2.1-C11635
FEDORA 4 i686 - WHM X v3.1.0
My /var partition is over 64% full. 2 directories in there show a lot of space being used.
One of these is /var/lib/mysql
du -h --max-depth=1 #
shows user accounts on the server with their database names. Are these just logs, or are they the actual databases? (Probably dumb newbie question)
The other big one is /var/log/munin Is there anything there I can delete?
My server is with Centos OS. I have a cache directory which has tons of scrap files. I am unable to delete it. rm -rf dirname gives an error.Is there any way to remove this directory quickly.
View 6 Replies View RelatedI want to setup a crontab to delete a file every 24 hours, I am not the best in crontab so was wondering if one of you could please give me the command I should use?
View 7 Replies View RelatedUseful unix-command trick to quickly remove i.e. Thumbs.db files, WS_FTP.LOG files or *.fla files, recursively through directories.
It could be a real pain on a huge directory tree ;-)
Removing all *.fla files from /home/user/ and subdirectories...
Code:
# find /home/user/ -name *.fla -ok rm {} ;
Removing all WS_FTP.LOG files from /home/user and subdirectories...
Code:
# find /home/user -name WS_FTP.LOG -ok rm {} ;
Removing all Thumbs.db files from /home/user and subdirectories...
Code:
find /home/user -name Thumbs.db -ok rm -f {} ;
I've been using CPanel for a few years now and I've encountered an error that I have no clue how to fix it. Basically the files have been with me for the last two or three years and I've changed them from server to server. I'd say these files have been through about four or five servers. The funny thing is I can't delete any of these files. The files are in a folder under public_html and I can't delete the folder or any of the files or folders inside of that folder. I've tried through FTP and through CPanel.
The FTP error I get (I'm using WS_FTP Pro) is:
# transferred 4277 bytes in 0.063 seconds, 534.625 Kbps ( 66.828 Kbps), transfer succeeded.
226-Options: -a -l
226 58
The CPanel error I get (through File Manager) is:
[a fatal error or timeout occurred while processing this directive]
and under the trash can in File Manager:
Unable to change directory to /home/mydirectory/.trash! You do not seem to have access permissions! (System Error: Permission denied)
I even CHMODed all of the files to 777. I don't know how to get rid of these old files, how do I do it? I also have root to the server if that helps.
Is there a quick shell command to find (inside a directory) and delete all the files created e.g. on January 10, 2008 ?
View 2 Replies View Relatedto delete file1010.jpg and filetest.jpg from /public_html/Storage
problem is there are hundred thousands .jpg files stored on /public_html/Storage
How can I easily search for these 2 files and delete it?
I am using Cpanel & Ftp Program Ws ftp pro, Which one is better to use to do the job?
I had a Problem with my FTP-Backup space, so PLESK couldn't do the daily backups that I configured. The problem with the ftp backup is solved. The backups are running again but there are still many large temporary files in a plesk folder.
Can I just delete them, or is this a bad idea?
The folder:
C:Program Files (x86)ParallelsPleskPrivateTemp
Screenshot
I have noticed that i never install any program on my Server and my files of Web only 5 GB and Windows take 15 GB (My Hard Disk Usage 30 GB). Now my disk space available 1.7 GB. But when i go to check in the Recycler folder. There many files are taking up huge amounts of space, some are in excess of 10 GB . So could i deleting these files? How can I automatically delete contents of Recycler folder?
View 7 Replies View RelatedI cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.
subdomain.example.com uses database1
newsite.com still uses database1
Is there a way to copy the database into the new domain?
On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first.
Now I cannot, and files are required to be chmoded properly so I can write to them.
I cannot even touch() a file with PHP.
Is there any way to have this permissions removed?
I don't want to chmod the all thing, all I want is to change the configurations so I can fwrite() or file_put_contents() normally.
I's a dedicated un-managed server, so basically any advanced configurations can be done.
I think the wrong text is displayed for the option "Remove Domain Alias".
In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.
I think this is incorrect because removing an alias should not remove any files, directories, and web applications.
I have a 6GB backup file created with another Plesk Backup Manager, now I trying to upload this backup file to my Plesk Backup Manager but after upload 3% I am getting "413 Request Entity Too Large" error, I tried with disable NGINX but still getting this error.
how can I resolve this error or is their any other way to upload my file on backup manager?
I see that Backup Manager have a file size restriction of 2GB how can I increase this?
I need a webhost (Linux preferably) with some fairly specific FTP account requirements.
I am going to need to be able to create an FTP account that multiple users can log on at once and they can upload files but NOT overwrite files of the same name. Can this be done? Anyone know of a host with these options?
This is for a program I'm working on where users make images and they upload them to the web. I don't want to use HTTP uploading because I don't know how to script it when FTP is easier for me. I wouldn't want people to learn the filenames of images and upload images with the exact same name to delete people's files.
We're managing a CMS script which we offer as a hosted solution / leased script. This means we have several accounts on our server, one pr. client/script user. They all run the same script software and occasionally we have to upgrade the script on these sites. Until now this is being done manually.
Connect with FTP -> upload new files -> Done.
This is very easy work but takes annoyingly much time due to FTP needing to set up connections, switching accounts, etc.. and if you have 100s or 1000s of accounts this becomes...yes...you know..
The question is now, how can this be done easier? I was hoping that it would be possible to do this automated somehow (we have root access to our server).
I have a question
When I login to cpanel as reseller, I see all accounts from drop down menu.
Q1: If I do full backup from reseller's cpanel, will it backup all accounts that I see from drop down menu? Or should I login each account to backup one by one?
Q2: If I can backup all by backing up reseller's cpanel, can I restore all accounts by restoring reseller's cpanel from new server?
How running full backup all accounts in SSH?
View 9 Replies View Related