[wp-hackers] WP Development & Production Sites

Andrew Nacin wp at andrewnacin.com
Tue Nov 23 01:28:11 UTC 2010


On Mon, Nov 22, 2010 at 7:41 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:

> what if there was a plugin that could backup the settings you've set from
> one site (say a dev site) and import them to another site (say your
> production site).  Now I am not aware of any way currently to where a
> plugin
> can know what settings another plugin makes, but you could have a txt file
> with a list of option names like
>
> setting1
> setting2
> ect
>
> Go though the db and get_option for each of those, save it out to a file
> like
>
> setting1:value1
> setting2:value2
> ect
>
> Import that generated file into the production site that would step though
> that file line by line and update_option to move all settings from one site
> to another.


I believe they call that an SQL dump.


More information about the wp-hackers mailing list