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