42 Actions

How can I copy files by creating symlinks?I've done this a slightly different way, but what I really wanted was to run rsync (or something similar with inclusions/exclusions) such that it created symlinks rather than copying files. (My response to your answer was kind of snarky, so I'll give you credit for a correct answer as an apology.)

How to achieve redundancy across data centers?Pointing a DNS entry to two IP address will at best, cause a client to use them in a round-robin fashion, at worst, it will choose one or the other. DNS doesn't know anything about preferring one IP over another - it maps a name to an IP address.

How to achieve redundancy across data centers?The general term for this is "business continuity planning." As the linked questions/answers point out, there are a number of tradeoffs, basically between how fast you want the backup to kick in and how much you're willing to pay to achieve that. Whatever you decide, don't forget to test your plan!

Is there a simple way to merge a broken 2-way-MySQL replicationThe question specifies that it's 2-way replication. I believe that he's saying he has two servers which replicate from each other. If one just puked on a replicated statement, that might be an easy fix. If the two masters have received mutually incompatible writes, that's a bit tougher.