Jump to content


Welcome to the forum:

Welcome to the iThemes, PluginBuddy and WebDesign.com forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.


Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Development to production migration


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 Guest_paulo_*

Guest_paulo_*
  • Guests

Posted 24 May 2011 - 02:30 PM

Hi,

I'm setting up a WP environment for our new website. Development and test will be done locally on Win7 with BitNami stack. Production will be hosted, currently at GoDaddy.

After local development and test activities will have been completed, the new site will have to be migrated to production. I understand your product will do that.

I am just wondering what will happen to the blog posts that will have been made on the production site and the comments on those posts. And the graphics used in these posts that will have been loaded onto the production site from wherever. These obviously should not be lost when the whole database is imported.

Can you tell me whether this kind of a setup is supported?

Thanks,
Paulo

#2 Jeremy Trask

Jeremy Trask

    Moderator

  • Moderators
  • Others: All Plugins, Builder, Members, Toolkit
  • 13,307 posts

Posted 24 May 2011 - 05:58 PM

Hi Paulo

Thanks for enquiring about BackupBuddy.

Yes, you can use BackupBuddy to migrate a development site to a live server.

However, can I clarify your specific intended process. Do you mean that:

a) you have a currently live site that you will use BackupBuddy to backup and migrate to your development server

b) your live site continues to operate whilst doing development work locally

c) after you complete your development work you then want to use BackupBuddy to backup and migrate from your local development server to your live site

Assuming I have understood this correctly, the normal approach to this situation would be to take regular Database Only "snapshot" backups on your live server during your development activity and update the database on your development server site from these backups by a database backup migration. When you were ready to migrate the development site to the live site you would take a final database snapshot, then migrate the development site up to the live site server and restore the final database snapshot backup.

If you have media being loaded on the live site associated with posts then that makes things a little harder since file based content is not included in a database only backup but doing a full backup which includes the file based content wouldn't fit what you want to do.

One possibility is to simply manually copy those new files over (or use an ftp client to "sync" the relevant directories) assuming you use some kind of standard wp-content/uploads based directory structure for uploaded media.

Another possibility - that would depend on your live site having a native zip command (e.g., linux command line zip) available through the PHP exec() function (you would need to ask your host or you could use the free iThemes ServerBuddy plugin fromServerBuddy : PluginBuddy | WordPress Pluginsto check availability) would be to do a "full" backup on your live site that actually excluded directories except the specific uploaded media directories and use that to keep your development server up to date with database and uploaded media - this is a little more "specialist" approach so be prepared for a little fine tuning to get it right.

Provided your live site server has good flexibility (and your development server should as well as it is totally under your control) there are generally ways to achieve most things. However, I would advise finding the best way that suits your work process first before starting actual development work.

You do not specifically mention the size of your site, please bear in mind that the larger your site the more capable your servers need to be in order to give you best performance in terms of speed and capabilities - don't expect BackupBuddy to squeeze Ferrari performance out of a Fiat 500 server ;-)

A final point - please bear in mind that local developments server installations are a lot harder for us to support you on because they are considerably more variable in their characteristics and configurations and also we cannot access them. Therefore, if you are using such an environment although there is no specific reason why BackupBuddy will not work (and many people work just this way) it will be assumed that you do have a level of technical expertise to be able to troubleshoot and diagnose your own server whilst we can provide the support specifically related to BackupBuddy. I don't say this to discourage you but merely to make you aware of this reasonable assumption. I am guessing from your post that this will not be an issue for you though :-)

Please let us know if you have any further questions.

Regards...jeremy

"Everything will be all right in the end. If it isn't all right yet then it isn't the end."


#3 Guest_paulo_*

Guest_paulo_*
  • Guests

Posted 27 May 2011 - 08:46 AM

Hi Jeremy,

Thanks for your reply and usefull suggestions. I think I'll go ahead and purchase your software.

Thanks,
Paulo

#4 Paulo

Paulo

    New Member

  • Members
  • 5 posts

Posted 27 May 2011 - 01:44 PM

Hi Jeremy,

I have installed the s/w now but am unable to do the backup. See my other post. Could you please have a look at that post?

Thanks,
Paulo

#5 Jeremy Trask

Jeremy Trask

    Moderator

  • Moderators
  • Others: All Plugins, Builder, Members, Toolkit
  • 13,307 posts

Posted 30 May 2011 - 05:02 AM

Update: Local development specific issue identified and resolved. Suggestions made about enhanced local development environment using virtual host configuration for Apache server.

"Everything will be all right in the end. If it isn't all right yet then it isn't the end."