+ Reply to Thread
Results 1 to 4 of 4

Thread: Synchronise DBs

  1. #1
    Join Date
    Jul 2008
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Synchronise DBs

    Hi folks,

    I have two sites with their own DBs. When something happens on one site, i want to update the DB on the other site.

    Trouble is the DBs seem to be on different servers. What are my options?

    Ideally I would like the update to occur instantly, but I could live with it if it were to happen daily.

    How can I do this? Get site 1 to write a db script and set up a chron job on the other to suck it in? That seems messy. But how would I get the file from account 1 on server A to account 2 on server B?

    Thanks in advance folks

  2. #2
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,909
    Thanks
    9
    Thanked 8 Times in 7 Posts

    Default

    So is one of the databases always sending data to the other or is it going in both directions?

  3. #3
    Join Date
    Jul 2008
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Going in both directions actually...

    I've been thinking... I've probably been making this more complicated than it needs to be... I guess there's no reason I can't have both sites talking to both databases... I assume it's just a matter of the db server accepting connections from the ip address of both sites?

  4. #4
    KevinG is offline Frontpage User KevinG will become famous soon enough
    Join Date
    Jul 2008
    Location
    Wicklow
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any chance you could get away with just one database which both sites access? It seems that most of the complication comes from having 2 DBs! I suppose this would only be an option if there were a lot of shared data between the two...

    Which DBMS are you using? some have special tools for syncing DBs - but it's always going to be rather complicated!

+ Reply to Thread

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64