1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To Erase Whole Database While Keeping Style/Setup?

Discussion in 'Blogging' started by rootkat, Aug 28, 2010.

  1. rootkat

    rootkat Registered Member

    Joined:
    Feb 6, 2010
    Messages:
    75
    Likes Received:
    116
    Occupation:
    Cat
    Location:
    3.14159
    Hey guys and gals,

    I've searched a bit, though I'm not great at searching, for a way to delete every comment, post, category and tag from the WP database.

    Yeah, I can do this by deleting the WP install and dropping in something fresh, but then I loose the setup settings. The theme can obviously can be backed-up ... so that's not what I'm worried about.

    So far I only found 2-3 solutions, all plugin based solutions.

    Bulk Delete
    Code:
    http://wordpress.org/extend/plugins/bulk-delete/
    Commit Suicide
    Code:
    http://justinsomnia.org/2006/04/wordpress-suicide/
    And I lost the link to the last one. Problem is both are old and slow as hell. Heck, Bulk Delete even crashes when I try to delete a category of 1000+ posts. So that kinda blows.

    Does anyone know a good way to do this?
     
  2. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,402
    Likes Received:
    4,251
    Location:
    Dark Side Of The Moon
    Use Nukepig...it's free.

    Code:
    http://blogpig.com/products/free/nukepig-bulk-deletion/