Blog replication and/or offline updates (6 posts)

  1. wohler
    Posted 9 years ago #

    My current method for publishing articles is to edit them on my laptop, check them into Subversion, and then to check them out on my web server when they are ready.

    That has been working well, and has saved my bacon at least once (the company that ran the server farm closed and flipped the switch without warning). The use of Subversion seems to be overkill for articles that aren't updated regularly. I'm thinking that a blog or wiki might be better for some of my content.

    Enter WordPress.

    I'd still like to continue my organization of "laptop as master, server as slave" so that I can update my blog offline and provide a safety net in case my server disappears again. Is this possible with WordPress? A friend suggested that MySQL replication which seems like the ticket. I'm hoping that other WordPress users have replicated their databases and can share their approaches and tips.

    p.s. I'm reading the documentation now. If the answer is in there, kindly let me know so I'll be sure not to miss it.

  2. Samuel B

    Posted 9 years ago #

    You can replicate your whole blog on your local machine with Xamp, mysql and php.
    Much simpler would be to produce your articles offline and publish them in WP on your server or email the posts to WP to be published automatically, then download a backup of your database on a regular basis - that's where all the info is stored anyway.

  3. wohler
    Posted 9 years ago #

    Thanks, I'll look into Xamp.

    In the meantime, I see a couple of potential problems with your second suggestion. Perhaps you can suggest workarounds.

    The first is that I would not have access to my blog for reference if I were off-line, unless I maintained my own hierarchy locally which would be redundant.

    Second, I plan to eventually install Gallery so that all my photos would be going into my database. The backup would be gigabytes in size. Since I would want to run the backup daily, this would be problematic.

  4. rafleet
    Posted 9 years ago #

    XAMP is great. I've got a portable version running on my 512meg pen drive using this (http://portableapps.com/apps/development/servers/xampp). WP works great here. I've also had great success running Wampserver on my laptop (http://www.wampserver.com/en/index.php). Two different packages...both work well.

  5. wohler
    Posted 9 years ago #

    Um, the page for the first URL contains the text:

    XAMPP is a complete web, database and FTP server package for Windows

    If I already have Apache, MySQL, and PHP on Debian GNU/Linux (on both my laptop and server), what's the point of XAMPP?

  6. Chris_K
    Posted 9 years ago #

    None at all. I guess the other posters missed the part where you mentioned that you had all that installed already.

Topic Closed

This topic has been closed to new replies.

About this Topic