How To Delete Backup Files

Oct 25, 2009

I 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?

View 9 Replies


ADVERTISEMENT

Delete Backup Files Of Terminated Accounts

Jun 18, 2009

What is the best way to remove backups files of terminated accounts in the /backup/cpbackup/daily directory?

View 1 Replies View Related

Cant Delete Files

Jul 12, 2009

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?

View 14 Replies View Related

How To Delete Files

Aug 13, 2008

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....

View 14 Replies View Related

Delete Files In /var/log

Aug 3, 2007

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

View 2 Replies View Related

Safe To Delete These Files

Feb 12, 2008

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.

View 5 Replies View Related

How To Delete Specific Files

Oct 10, 2007

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.

View 2 Replies View Related

FTP: User Cannot Delete Files, Etc.

Aug 20, 2007

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.

View 14 Replies View Related

Which Files In /var Are Safe To Delete

May 5, 2007

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?

View 14 Replies View Related

Apache :: How To Delete Files

Jun 5, 2013

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 Related

Cron To Delete Files Every 24 Hours

Jun 15, 2008

I 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 Related

Delete Some Specific Files From All Subdirectories

Jan 4, 2007

Useful 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 {} ;

View 14 Replies View Related

Can't Delete Files From CPanel Server

May 11, 2007

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.

View 3 Replies View Related

Delete Files Created On A Specific Date

Jun 28, 2008

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 Related

How To Easily Search And Delete Specific Files

Aug 15, 2008

to 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?

View 3 Replies View Related

Plesk 11.x / Windows :: Delete Temp Files In Folder?

Jun 20, 2013

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

View 3 Replies View Related

Plesk 11.x / Windows :: Can Delete Files Of Recycler Folder?

Apr 21, 2013

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 Related

Plesk 12.x / Linux :: Delete Subdomain Without Removing Files Or Database?

Aug 30, 2014

I 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?

View 1 Replies View Related

How NOT To Require CHMOD 755 Permissions To Create, Write And Delete Files On Linux

Dec 30, 2008

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.

View 8 Replies View Related

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

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.

View 3 Replies View Related

Plesk 12.x / Linux :: 413 Request Entity Too Large - Can't Upload Backup Files With Backup Manager

Sep 17, 2014

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?

View 2 Replies View Related

How To Easiest Do Backup And Transfer Of Mysql Files

Jun 29, 2008

I have following problem-i have over 20 sites on server and each site has own database.Is there a way to speed up backup and transfer or other server?

Method which i use right now it's following:first i archive entire directory using command tar -pczf name.tar.gz public_html,and then repeat with each directory.But i think i could simply archive all requied directories,but that will took toomuch time,so if i drop connection during archiving it wont be archived at all then.So i think best solution will be to create some kind of batch command which can load in background,so that means command wont stop if client lost connection.

So let's say i have 2 sites and two directories located and different places.

One is at home/site1 and other at home/site2
So i think i would need to put command into batch file
tar -pczf site.tar.gz. /home/site1 and tar -pczf site2.tar.gz /home/site2

Will that work? Also second part,mysql databases,i founded if i login into phpmyadmin as root i can see all databases.I managed to export all databases,but question will import again to phpmyadmin work.I think phpmyadmin create command for each database "if there is no db sitename_mysqlbase,create it",but howmuch i know phpmyadmin have limit with importing size of mysql database.Could that be done with import/export mysql command?

View 5 Replies View Related

Plesk 11.x / Windows :: Backup Not Replacing Old Files

Jul 23, 2013

I have a scheduled backup set on my panel, to backup all server configuration and content, and is set to run every week. I also set to keep only 1 backup on repository, but this config doesn't seem to work! My hard drive is getting full all the time, and when I check that its because theres a lot of old backups stored that are not getting removed!

My question is: the backup script removes the old files only at the end or it does it while backing up? If the action of removal happens only at the end of the script, i think it would explain why it isn't working: my hard drive gets full before, and the script drops an error, and never get to the end of it and it doesn't remove the old backups.

My Version: Parallels Plesk Panel v11.0.9_build20120609.17 os_Windows 2008

View 2 Replies View Related

Daily Backup + Rsync Ssh + Large Number Of Files

Oct 29, 2006

i just wana know is it safe to do remote daily backup for about 70,000 files?

file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?

i have 2 option now:

1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.

View 9 Replies View Related

Offsite Backups (via Rsync) - What Files/folders To Backup

Jun 3, 2009

I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)

I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?

Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?

View 10 Replies View Related

Cron Job That Deletes Backup Files Older Than 5 Days

May 31, 2009

This is on a RHEL 4 Box.

I want to create a cron job that deletes backup files that are older than 5 days. I have created a shell script (/usr/local/src/runjob.sh) that runs successfully from the SSH command line:

Code:
#pwd
/usr/local/src
#./runjob.sh
Here is the script:

Code:
#!/bin/sh
#

#
find /usr/local/apache/sites/*/BACKUPS/ -maxdepth 1 -atime +5 -iname 'test*.txt' -exec rm {} ;
Script has 777 permissions and is owned by root.

I have the following entry in crontab:

Code:
10 12 * * * /bin/sh /usr/local/src/runjob.sh >/dev/null 2>&1

As shown in the cron log, the job does run, but it does not delete the files. And there are files older than 5 days in the directory that meet the find criteria.

View 12 Replies View Related

Automatically Purge Backup Files Off Thumb Drive

Apr 20, 2007

we have a thumb drive attached to a CentOS (linux) box and mysql backups are automatically saved to the thumb drive. Is there a way an HOW to automatically purge backup files if they are older than say 15 days? I suppose I would need to write a script for this and place it in the cron scheduler.

The format of the mysql dump files are:

Backup_20070420_0015.sql

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved