Rsync Exclude An Entire Directory

Jun 29, 2007

rsync -avz -e ssh --delete --exclude=/home/server/logs/

I want to exclude the logs directory from being transferred, that doesn't work.

View 12 Replies


ADVERTISEMENT

Which Folders Should I Exclude From A Whole Server Backup (Rsync )

Nov 10, 2008

I am going to backup the whole server. (Rsync)

I understood it is not efficient to backup the local "backup" folder to avoid duplicated backups.

1. Should I exclude additional folders from the backup process?

2. I noticed it is familiar to exclude the "proc" folder also ... Why?

View 5 Replies View Related

Move The Entire Contents Of A Directory Tree To Another Directory

Sep 18, 2008

I want to move the entire contents of a directory tree to another directory.

So for example we may have a directory with 15 directories inside, each directory contains files itself. I want to copy all the files from the directory tree into another directory located somewhere else one the file system. I want only the "files" to end up in the other directory and not the file structure too.

Im running CENTOS latest version.

View 4 Replies View Related

Using Rsync To Backup An Entire Server

Mar 12, 2007

The backup program (cpbackup) that comes with WHM/Cpanel is not ideal for our current situation. We have lots of third party applications installed on our server along with many customized configuration files. We need a solution that will backup everything and allow for fairly simple restoration.

How viable is rsync for full server backups? Can it handle 100 GB of data?

More importantly, how would you restore the backup to a new server? If the new server already has an OS the restored files would break the system, right?

View 2 Replies View Related

Apache :: 301 Redirect For Entire Directory

Jul 16, 2004

I renamed a folder. How I can write a 301 redirect in .htaccess to redirect every file in that folder to the new folder?

View 14 Replies View Related

Is It Possible To Exclude A Virtualhost From Mod_security Protection?

Jan 30, 2008

Is it possible to exclude a virtualhost from mod_security protection?

I have a server with 200+ hosting accounts, but I need to exclude one of those from mod_security protection.

View 3 Replies View Related

.htaccess To Exclude Specific Geographic Areas

Dec 9, 2008

I have a client who uses formmail on our dedicated server(another 140 clients also share this PLESK/LINUX server). While the formmail script has not been hacked, some schmuk spends the time to fill it out with spam 5-6 times a day and sends them to the client.

I verified the emails go only to the site owner and nobody else.

QUESTION: Is there a way to exclude the entire world and only allow visitors from the metro Chicago area? This would need to be done via .htaccess and not IPTABLES, as the other sites on the server draw world wide traffic.

I'm scratching my head on this, but if possible it would exclude our schmuk friend while allowing the local traffic this client draws from.

View 5 Replies View Related

Apache :: Exclude User Agent From Rewrite

Jan 27, 2014

I have a rewrite for mobile clients :

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|iphone|ipad|nokia" [NC]
RewriteRule ^$ https://www.myudomain.com/Mobile [L,R=302]

My mobile site is HTML5 written and old phones doesn't support it. How to exclude f.x. old nokias - like 6220 and rewrite old phones to /Mobile_old?

View 1 Replies View Related

Plesk 11.x / Linux :: Exclude Folder From Backup?

Nov 21, 2012

My Plesk Panel 11.0.9 Update #26 is running on a dedicated Debian 6.0.6 server and works all fine, but I'm having some issues with the backups. I'm doing backups using the standard build in GUI backup manager. Everything works fine, even the cron job which copies the backup files every night to a second location. The problem I'm having is, that I can't specify folders to exclude from the backup. The reason why I need this is, that I have a 24TB RAID mounted in the /var/www/vhosts/mydomain.com folder and this will be a problem once the RAID is filling up.

View 10 Replies View Related

CentOS5 VPS - Yum Barely Working. How To Exclude A Mirror/Mirroring For YUM?

Apr 2, 2009

On a CentOS5 VPS I have access to "yum update" barely working due to the base mirror "styx.biochem.wfubmc.edu" being tremendously slow.

I'm trying to find out how to disable that mirror possibly via a mirror exclude setting in yum.conf or some other way. I've been searching but I've not found any documentation on this so hopefully somebody out there will know how to make this change.

View 5 Replies View Related

Plesk 12.x / Linux :: Backup Manager - Exclude One Domain?

Sep 19, 2014

I would like to have the Backup Manger run a full server backup but exclude one domain that has tons of material which does not need to be backed up as often.

Years ago, Plesk did have the option to choose the domains to backup (Admin login). However, It was a problem at times because I would forget to include new domains.

I do not know of any similar option present now to exclude a domain from the full Scheduled Backup.

I am thinking that I could set up a reseller (myself), put all of the sites I would like to backup more often in that account and run backup from that level.

The Problem with including all of the sites is that the SUPER LARGE site, bogs downs the backup process and I really do not knew it included as often.

View 1 Replies View Related

Ban An Entire Country

Jun 30, 2008

im using apf firewall and wonder if someone could provide me a list of turkish ips.

View 13 Replies View Related

So What Exactly Can Take Down An Entire Vps Node

Jul 21, 2007

I figure while I am twiddling my thumbs here waiting for my host to tell me what the heck happened for the second time in two or three months why they have to do an entire VPS hard restart, which of course causes another hour of fck delays, that I'd ask some of the more skilled and experience folks here, how?

Just before it happened, as I was watching, the load shotup over 1, 2, 4, 20, 30 boom. (I opened a ticket at 4)

Shouldn't virtuozzo always guarantee a certain amount of cpu and bandwidth to the node root? Why do they have to hard reboot and not access it directly and stop the badly behaving vps? Better yet, why isn't the badly behaving vps stopped automatically by virtuozzo?

(oh and am I an idiot for putting up with over two hours of downtime?)

View 14 Replies View Related

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related

301 Redirect Entire Domain With IIS

Mar 23, 2009

I always use Apache and it's easy to redidrect an entire domain in the htaccess.

Code:
RewriteCond %{HTTP_HOST} ^www.domain1.com$
RewriteRule ^(.*)$ [url]$1 [R=301,L]
For a site I'm working on I need to achieve the same thing with IIS but have no idea how to and the technician claims it can't be done. Surely, that's not the case. Any ideas?

By the way I want the exact same effect as the above not just a generic redirect that sends everthing to the home page of the new domain.

View 2 Replies View Related

Blocking Entire Countries In IIS

Jul 23, 2009

I have come across an issue where traffic from India is hurting my business. What I have is a number of job boards. Realistically, the only issue I am having is with IT and Engineering positions being applied for heavily by people in India. Since my customer base is all in the USA, I would like to just block India.

While I know this is easy with Apache using a .htaccess file, I am using IIS on server 2007. Does anyone have any idea on how to do this easily with the large number of IPs that India uses?

View 6 Replies View Related

How To Ban A ENTIRE Top-level Domain

Aug 22, 2007

how to ban an entire top-level domain? For example ban everyone from Russia by coming from the .ru domain? Or everyone from Lithuania by somehow banning everyone coming from .It ip address.

I've had some people from those places try to hack my site and am fed up with it. So I want to ban those two entire countries for the time being using cPanel X's "IP Deny Manager".

By the way I am not a technical person. Just your every day person running a site.

View 12 Replies View Related

Backing Up Entire Website

Jan 25, 2008

we dont host our own website, but recenty our server crashed, and our hosting provider was supposed to be backing things up. They told us that the entire server crashed and the backups were on the same server so we lost everthing. we actually did end up getting evertying back but it took nearly a week to get back online. they said they are now backing up everthing in a remote location so this wont happen again, but we dont want to put this in their hands anymore, we didnt even get everything back .htaccess, hidden files, subdomains were not backup up and lost. So we want to do our own backing up.

Is there some thing I can set up as a cron task to weekly automatically backup every single file on the server, and the database?

We think this would be very beinificial to us as we lost alot of money from this ordeal and we do not want it to happen again.

View 11 Replies View Related

Logs - Entire List

Apr 10, 2007

Just got off the phone with tech support and they noticed that someone was trying to gain brute force entry to our VPS. We want to view our logs but can only see the last 250 lines or so when using this command inside putty:

tail -9000 /var/log/messages

How do we see / copy the entire 9000 entries to view in a text editor? Any tips would be great. I am a newbie at this.

View 6 Replies View Related

Httpd Directory Alias (public_html) Virtual Directory

Dec 11, 2008

How do I direct my httpd file to point to:

home/USER/public_html
instead of:
C:Users estetc...

I want to do this to make my test server just like the remote server.

View 5 Replies View Related

Working Out Power Usage Of Entire DC

Nov 3, 2009

Yet another question for you all. As part of my remit I need to work out power usage across the DC. It's not huge. Approx 300 servers across 50 physical servers (BL7000c with BL46x series blades) as well as several sans/disk arrays (DotHill, HDC, HP MSA) and appliances, Ciscos, POE 8xxx series procurves etc)

All these are racked up and being fed from 32Amp APC PDUs (without monitoring). It's three phase in, single phase out. We can't really run 3 phase because I am not allowed to run it due to the 6 foot rule.

Our UPS is rated at 30KVA but we are running it at the max at around 24KVA.

What I need to do, is work out on an individual basis how much power each one draws, ideally without a power down. The reason, as well as identifying the power hogs (such as several SUN V series servers), is to reduce the overall carbon footprint and energy costs.

View 9 Replies View Related

Manual Backup For Entire Site

Dec 4, 2007

am hosting with servage most such hosts dont provide backup for ur files in case ur moving to other host so i was wondering if i can manually through FTP download my enitre directory including all files (html, jpg, PHP SCRIPTS) and manually reupload them onto the other host i will move to soon will that actually work

and for MySql databases i have created a PROPER backups via their auto backup system
they only lack backup for the files itself only, MySql is fine

will restoring the MySql databases but via a different control panel (CPanel) will it possible?

View 13 Replies View Related

How To Cmod An Entire Folder And It's Content In Ssh

Nov 9, 2007

Also does anyone have a good resource site with ssh commands and stuff?

View 3 Replies View Related

How To Get A Copy Of Entire Site Without FTP Access

Jan 19, 2007

to get a copy of their entire site onto our servers.

The problem is that they have no backups, and their current host has denied them access to their account. (It's a long story.)

Rather then try and fight with their old host, I wonder if it's easier to just run some kind of "website copy" program and grab a copy of all pages and images, linked files, etc..

Their current website pages are served using an ASP database application, but the copy they need only has to work. It doesn't need to be dynamic, etc... as long as all the pages are there it's good.

View 4 Replies View Related

Entire Disk Encryption [Linux]

Jul 1, 2007

I'm contemplating creating a website that could store extremely sensitivity information. It's more than likely that a MySQL database would house this information.

My question is. Does anybody have any experience when it comes to encrypting an entire server disk?

I've searched online with disappointing results.

View 5 Replies View Related







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