git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Rocha <luciano@eurotux.com>
To: Ryan Taylor <ryan.taylor@leeds-art.ac.uk>
Cc: git@vger.kernel.org
Subject: Re: Mirroring mySQL using Git
Date: Tue, 6 May 2008 14:24:22 +0100	[thread overview]
Message-ID: <20080506132422.GA13125@bit.office.eurotux.com> (raw)
In-Reply-To: <4B58A837F454E14AA0453EDBADE96A62B5F2A2@mildred.leeds-art.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

On Tue, May 06, 2008 at 02:03:01PM +0100, Ryan Taylor wrote:
> Hi,
> 
> I'm wanting to mirror my mysql databases from my live web box to my dev
> box. The database are updated by a CMS on the live box and I need to be
> able to transfer these updates to the dev box.
> 
> Is this possible with git?

You'd be better off with asynchronous replication. See
<http://dev.mysql.com/doc/refman/5.0/en/replication.html>.

Note that you go the git route, or other file-based solution, you'll
have to freeze operations to the filesystem where the DBs reside, or
you'll corrupt the copy.

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-05-06 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06 13:03 Mirroring mySQL using Git Ryan Taylor
2008-05-06 13:24 ` Luciano Rocha [this message]
2008-05-06 13:29   ` Matthias Kestenholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080506132422.GA13125@bit.office.eurotux.com \
    --to=luciano@eurotux.com \
    --cc=git@vger.kernel.org \
    --cc=ryan.taylor@leeds-art.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).