WordPress.org

Ready to get started?Download WordPress

Forums

NS Cloner - Site Copier
[resolved] Is your plugin suitable for this? (2 posts)

  1. Carmdq
    Member
    Posted 1 year ago #

    Hi, I just found out about your plugin. I have a multisite installation for the same site in two languages (example.com/en and example.com/es). The site is live now.

    I would like to clone the current site and it's full content, to either a password-protected sub-domain (dev.example.com)or a local installation, so I'm able to test new themes, plugins, etc. without touching the production site.

    Then, if possible I would like to take those changes back to the production site, once I'm done.

    Do you think your plugin could be right for this?

    Thanks

    http://wordpress.org/extend/plugins/ns-cloner-site-copier/

  2. Never Settle
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your interest and question! Unfortunately, this plugin would not work for your scenario. It is designed to clone sites within a single multisite installation. However, that's a fairly common scenario and there are tools that can help you streamline that process (most of those are backup-restore solutions to move the data between servers or installations).

    That said, depending on how familiar you are with source code management (SCM) solutions I'd recommend looking into something like Git or Mercurial. It takes a little bit of setting up but once everything is configured you can have a workflow like this:
    1) Create a repository on your live site(s)
    2) Clone / pull that repository onto your dev site
    3) Configure the dev site to local settings (copy the db, update db connection settings, etc.) [This is only a one time thing unless you want to continually update / sync database content]

    Then, you can branch the repository on dev and make updates / versions / patches / etc. When it's in a stable / releasable state on dev you can use Git (for example) to then push the updates to the master / source repository that's live. It's literally just a couple commands to create branches and deploy stable updates.

    Here's a great article we've found useful:
    http://nvie.com/posts/a-successful-git-branching-model/

    Naturally, if you haven't worked with Git or SCM before and it's something you want to explore, you'll want to experiment with those scenarios completely offline on dev before you create a repository on your server. It's a really powerful solution once you get the hang of it.

    But a backup-restore model is also valid as a manual and more straightforward approach. There are some really great back up everything in wordpress plugins out there to help streamline that.

    Hope that helps!
    NS

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.