Setting up an E-Mail server, I wonder, what if it goes down. Do I need a redundant setup in order to not lose incoming mails? Or would it suffice to make sure it doesn't go offline for longer than, say, a day?
Philip's questions
Being on the Azure cloud, I found that the firewalls there drop connections between the Web server and the database quite often. Mostly when there was some inactivity, I think something between 5 and 10 minutes. So I did some research and found this seems to be a common issue.
The problem seems basically solvable by setting some keep alive. (1) (2) (3)
So it boils down to a way Firewalls handle TCP connections:
It's a very common issue, when you are behind a NAT proxy or a firewall, to be disconnected without a reason. This behavior is caused by the connection tracking procedures implemented in proxies and firewalls, which keep track of all connections that pass through them. Because of the physical limits of these machines, they can only keep a finite number of connections in their memory. The most common and logical policy is to keep newest connections and to discard old and inactive connections first.
(from TCP Keepalive HOWTO)
Does this mean a firewall/NAT can drop TCP connections whenever it wants? Like after 2 seconds inactivity? Or is there something that prevents us from fearing that no connection is safe from the firewall?
I need to upgrade a Server and there have to make a compressed backup of a lot of directories. The question is: Which format should I use? tar.gz, cpio? Both compression and decompression processes should be fast. In case I have some corruption on the Server later on, I want to be able to easily pick certain files out of my old backups.
Thanks, Philip