[wp-hackers] Splitting wordpress export files
rafaehlers at gmail.com
Sat May 28 22:23:16 UTC 2011
also, I think that in this case the most important config to set is script
timeout due to the amount of time needed to upload and import the file.
On Sat, May 28, 2011 at 7:00 PM, Alexander Concha <alex at buayacorp.com>wrote:
> On Sat, May 28, 2011 at 11:06 PM, Tyler Gillies <tjgillies at gmail.com>
> >> Tyler, I've seen a couple tools (
> http://www.rangerpretzel.com/content/view/20/1/ is one) but I've never had
> a lot of luck with them.
> > Thanks for the links, I'll be sure to check them out
> >> What I commonly do to huge XML files for import is manually split them
> into manageable sizes and then ensure the head data is copied back into
> each. Good luck! Let us know if you find anything automatic.
> > I'm working on my own script in ruby to do just this, i'll post it to
> github then link in this thread when its done
> I've been playing a little bit with the wordpress importer. I made
> some changes, it uses plupload to upload big files. The backup file is
> also read and imported progressively. I only made some tests with
> dummy backup files (38MB and 185 MB) on an old laptop. My php
> memory_limit = 32M
> upload_max_filesize = 10M
> post_max_size = 20M
> Yes, it was slow, but the importer didn't die.
> If you are interested, you can grab the code from
> There are many things that may be improved.
> Alexander Concha
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers