WordPress.org

Ready to get started?Download WordPress

Forums

UpdraftPlus Backup and Restoration for WordPress
[resolved] Add-on sugestion - mirror/restore online website into a localhost DEV (11 posts)

  1. anjoalre
    Member
    Posted 1 year ago #

    Hi David,

    please consider one add-on (to pay for) for users to be able to configure the destination host path, like "localhost/my_local_website" (to be replaced in the sql dump) so that your plugin can mirror/restore one online backup into a localhost DEV environment. The way i see it, you'll "only" have to duplicate the already created sql dump and search and replace the online path into the localhost path ... plus testing :D!

    Your plugin already is a wonderful tool for WP users/developers, but with an add-on like this it would definitely make it easier and less time consuming to have a localhost mirror of online websites and it would definitely make me (and i guess others) want to buy it.

    If others find this useful please tell David, so that he can make a better judgement about implementing this add-on.

    Best regards,
    Jorge Rego

    http://wordpress.org/extend/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jorge,

    Thanks for the suggestion. This is a request I've heard before... today I've done about 75% of the ground-work to make it possible. Watch this space - it should be done within a week!

    Best wishes,
    David

  3. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Next week, God-willing, we will have an add-on to back up all files in your WordPress installation (including non-WordPress stuff that you are sharing the directory with) in the shop.

    Then we just need to add some new stuff to allow further directories to be added to. But the appearance of this add-on is a sign that the underlying infrastructure is all there and we're confident in it.

    David

  4. anjoalre
    Member
    Posted 1 year ago #

    Hi David this fantastic,

    Will it then be possible to sync to localhost?

  5. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    There are a few other pieces of the jigsaw yet... but more is done than not done.

  6. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jorge,

    The "Migrator" add-on is now complete. The way it works is:

    * You install it on the "new" / "receiving" end (i.e. the place you are copying the site to).

    * You drag-and-drop your backup file(s) (i.e. plugins, themes, database) into UpdraftPlus's settings screen on the receiving end.

    * You "restore" using that backup. There's a check-box "Search and replace site location in the database" to check.

    When UpdraftPlus then runs, then whilst restoring the database it will perform the search + replace. It uses internally the tried-and-tested code from searchreplacedb2.php - actually with one bug-fix for a case that fails on that (I'll send him the patch soon!).

    Full walk-through here:
    http://updraftplus.com/faqs/how-do-i-migrate-to-a-new-site-location/

    Not yet on sale - if I release new versions too often, then people complain about too many updates. This is scheduled to be released in about 10 days. However, I can privately email a copy to anyone who has purchased the unlimited package of UpdraftPlus Premium.

    You may have ideas on how to improve it, and I'll be interested in those too.

  7. anjoalre
    Member
    Posted 1 year ago #

    Hi David,

    Fantastic news, i'll be testing this and giving feedback sometime soon, after i purchase it. I plan doing that in the first days of may!
    Thanks for investing your time in this... i hope others find it useful and that it can boost up the sales.

    Best regards,
    Jorge

  8. thinknow
    Member
    Posted 8 months ago #

    Hello David,

    I wondered if Migrator allows restore to localhost yet (as implied earlier in this thread "There are a few other pieces of the jigsaw yet... but more is done than not done.") I checked out the documents at http://updraftplus.com/faqs/how-do-i-migrate-to-a-new-site-location/ and http://updraftplus.com/shop/migrator/ and can't see a mention of it. Mostly they are pretty specific about cloning to a "web address/URL"

    FWIW I have things mostly working using UpdraftPlus backups to establish my local dev instance on XAMPP, I just can't figure out how to go the other way (from dev to production).

    Thanks for a useful plugin!

    -lane

  9. David Anderson
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    Thanks for asking...

    Migrator allows you to restore to anywhere, in either direction, and is frequently used for what you're looking for. A localhost address still counts technically as a "web address/URL" - I wasn't referring there only to those that live on the Internet as opposed to a local machine - that distinction isn't a significant one at the level that the Migrator operates. It can do what you're looking for.

    David

  10. thinknow
    Member
    Posted 8 months ago #

    Thanks for the speedy response. I purchased Migrator and after a little digging to figure out how to allow plugins to install on my local machine it worked beautifully. I did notice one little oddness perhaps you can explain. The files in the backup set all have the date 2013-12-29-0146. The display in the "Drop backup files here" box shows the file names with the correct date/time. Once converted, the backup row shows a different date/time 2013-12-28 17:46. (I believe this is eight hours earlier?)

    I posted a screen shot here https://drive.google.com/file/d/0Bx-EeFHzzES6Wk5tNFBnZ1I1Rzg/edit?usp=sharing

    Any thoughts?

  11. David Anderson
    Member
    Plugin Author

    Posted 8 months ago #

    Hi thinknow,

    The filename is using GMT; that gets converted to the timezone set in the WordPress installation upon importing. It doesn't affect anything in the operation, though.

    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic