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


ADVERTISEMENT

Deleting Files Automatically

Oct 11, 2007

Is there a way to automatically remove files from a folder on a schedule, say daily, and move them to the Recycle Bin? Can the Recycle Bin files be deleted daily on a schedule? If so, how?

I have Microsoft Office Professional 2007 running on a Windows 2003 Server.

View 2 Replies View Related

Redirect To Backup Server Automatically

Jun 11, 2009

I have a server in a country (Location 1) and I have my company website on it and in this country the connection is very fast but not very stable so I have the same website on another server (Location 2) as a backup server so I want to do is as the following:

- www.mywebsite.com > Website loads from my Server at Location 1.

- Server at Location 1 is down.

- www.mywebsite.com > Website loads from my Server at Location 2.

- Server at Location 1 is back working.

- www.mywebsite.com > Website loads from my server at Location 1.

How can I do this in DNS options?

Also Can you suggest an easy way to do realtime backup from the server at Location 1 to Location 2 so that any changes made on Location 1 are cloned on Location 2?

View 14 Replies View Related

Ftp Files On Secondary Hard Drive

Feb 28, 2007

added a secondary hd to my box and i want the ftp files to be stored on there, how would i go about this? i'm using pureftp,

View 8 Replies View Related

Plesk 12.x / Windows :: Unable To Move Files To Another Drive?

Oct 12, 2014

I just recently created a new server with windows 2012 R2 server and need to move the mail and backups to another drive.

I have tried to run the Plesk reconfigurator as an Administrator and it comes up with the following error message see attached screenshot

View 3 Replies View Related

Apache :: Directing To Look For Files On External Hard Drive

Nov 30, 2012

This is an extremely basic question as I'm new to Apache and didn't even know it was on my Mac until recently. But I'm trying to redirect where Apache looks for files. I have a database which uses a web viewer to display thousands of images. Currently, when I execute this feature in the database, it uses a script trigger that grabs a URL which by default is set to my computer's IP address. I've been told that I need to redirect where Apache looks for files, i.e., FROM my computer TO my external hard drive.

To this end, I've located where the Apache2 folder is on my computer, and from what I gather I'm supposed to change the configuration by way of a file named: "httpd.conf." Narrowing it down further, I THINK the following lines are directly pertinent to achieving my goal, but how to execute from here.

DocumentRoot "/Library/WebServer/Documents"

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

View 2 Replies View Related

Backup Drive

Aug 21, 2007

I use the second hard drive as backup drive. Today as normal i check the backup directory and try to use ls command. I got this warning
[root@xxxxxx backup]# ls

ls: reading directory .: Input/output error

View 14 Replies View Related

Thousands Of Core.xxxx Files Fill The Hard Drive

Jun 16, 2008

I am having problem with a server. On all sites on the server start appearing core.xxxx files that in result fill server. Quotas were disabled because some people had issues logging in on because of error.

Quote:

Sorry for the inconvenience!

The filesystem mounted at /home/*** on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening.

Please ask your system admin to remove any files not in use on that partition.

how to remove all of them so they dont appear again, on some sites there are thousands of core.xxxx files and weigh over 60GB.

View 4 Replies View Related

How To Backup A Hard Drive

Oct 12, 2008

how do i back up a hard drive on a windows server 2003...

and is there a way i can make one hard drive back up to another one every somewhat minutes or whatever?

View 7 Replies View Related

Should We Have Raid 1 Or Should We Have A Backup Drive

Oct 29, 2007

We are limited with a maximum of 2 drives per server, with a maximum of 750gb drives.

We are thinking of going with 2 500gb hard drives. However the question is, should we use the Secondary drive with Raid 1 and let our VPS clients worry about their own backups or should we instead just use the secondary drive as a backup drive and backup each VPS nightly?

View 14 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

CPanel Server Backup Drive

May 3, 2008

After adding a second drive mounted as /home2 for backups I attempted to use the cPanel "Configure Backup" and I get the following message.

Quotas cannot be built!

Your cpbackup destination is on a filesystem which has quotas enabled.

Please move it to a filesystem which does not have quotas turned on
or a separate partition/disk slice mounted at /backup.Backup has been
disabled to prevent quota problems...

All searches on how to resolve this really reveal no solutions.

I did a google search on "disable filesystem quota" among others and could
find nothing.

View 4 Replies View Related

Re Mounting A Second Hard Drive From /backup To /home2 How?

Jun 16, 2009

My second hard drive is mounted as /backup. I have a remote rsync backup. i want to remount thsi second hard drive to /home2 instead

View 5 Replies View Related

Plesk 11.x / Linux :: How To Backup To A Mounted Drive

Jul 4, 2014

My hosting company is offering to sell me backup space which will be mounted as a network location. e.g. /usr/local/backup

My question is how would I use this since Plesk seems to be configured either to use an FTP location or to use the server repository. Would I have to change the location of the server repository to this network location? This doesn't seem ideal.

Plesk 11.5 on CentOs 6.4

View 1 Replies View Related

Plesk 12.x / Linux :: How To Remove And Purge Nginx

Jun 10, 2015

Plesk 12 will not do it and if you reinstall it you get errors after installation. Maybe a bug but seems nobody is interested in answering my question before.

I tried to remove by

apt-get remove --purge sw-nginx
dpkg -r sw-ningx

Both of them display that is removed but after a new installation are the folders not created and maybe old files not overwritten if not deleted.

View 1 Replies View Related

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

Data Lost , But Still Have Old Home Drive , How To Copy To New Drive

Jan 26, 2007

1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost

3- replaced the old home drive as "/old drive"

4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing

5- what i need , to trasfer, copy this sites from " /old drive " to "home"

but data center said

The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.

The command to copy files in the UNIX environment is the "cp" command.

The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.

View 14 Replies View Related

Drive Corrupt, Recovery From 2nd Drive Mount

Feb 16, 2007

Primary drive (centos/cpanel) is corrupt

The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure

I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:

mkdir /backup
mount /dev/sdb1 /backup

However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.

View 14 Replies View Related

How To Copy My Current Drive Contents To A New Drive

Dec 28, 2007

I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.

What software will do this? I was told trueimage, but its very pricy, is there anything else?

View 8 Replies View Related

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







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