The MU forums have moved to WordPress.org

Importing a very large WordPress eXtended RSS (WXR) file (9 posts)

  1. vanderkerkoff
    Member
    Posted 14 years ago #

    Can anyone tell me how I'd import a very large WordPress eXtended RSS (WXR) file?

    The limitation of 2MB in the admin area is stopping me.

    I have full root access to the server and was wondering if I can do it from the command line somehow?

    V

  2. vanderkerkoff
    Member
    Posted 14 years ago #

    I had a look through the back end php and by default there is no max size for processing, so I just allowed for a larger upload file in my web server, nginx, client_max_body_size 10M; , and it's now uploading.

    Thats the first bit over :-)

    v

  3. andrea_r
    Moderator
    Posted 14 years ago #

    Yep. :) The 2mb limit it was picking up from the server.

    Alternately, for anyone else, you can chunk up the file (carefully) or export it in bit using the advanced export plugin.
    http://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/

  4. vanderkerkoff
    Member
    Posted 14 years ago #

    I'm still going :-)

    I also needed to change this in php.ini

    post_max_size = 10M

    and this

    upload_max_filesize = 10M

    and restart my php-fastcgi

    see what happens now :-)

  5. vanderkerkoff
    Member
    Posted 14 years ago #

    bit more :-)

    btw, if you do this be sure to change this stuff back, php aint supposed to have such lax limits

    max_execution_time = 300 ; Maximum execution time of each script, in seconds
    max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
    ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    memory_limit = 480M ; Maximum amount of memory a script may consume (16MB)

  6. andrea_r
    Moderator
    Posted 14 years ago #

    I've done all that fussing before and it's such a pain, it was easier & faster to chunk the export files. Or do it via Mysql.

    :D

    It'll come in handy for someone tho.

  7. vanderkerkoff
    Member
    Posted 14 years ago #

    Hi Andrea

    If only it were that simple :-)

    I'm transferring a multi site mephisto blog into wpmu using Jason and the other peoples advice and script

    http://jayunit.net/2008/04/16/mephisto-to-wordpress/

    I've never used wordpress before which makes it even more fun as I'm not really sure what to expect.

    Thanks for helping though, I'll be sticking everything I'm doing into the forum in case anyone else has to do exact same thing, you never know, there may be other sadists out there :-)

  8. andrea_r
    Moderator
    Posted 14 years ago #

    Oh.... man....

    I do NOT envy you right now. :D

  9. vanderkerkoff
    Member
    Posted 14 years ago #

    Phase 1 complete :-)

    I've written a script to pull out a single mephisto database from the multi install and stick it into a blank mephisto single install database. I don't suppose that will be anywhere near the level of fun I'm going to have with the next bit, which is write a script(or amend someone elses) to grab all that mephisto data and stick it into a wpmu database so that other sites may be added in the same way to build up a wpmu system.

    Wish me luck

    If you've got any tips I'd love to hear them

About this Topic

  • Started 14 years ago by vanderkerkoff
  • Latest reply from vanderkerkoff