phpBBHacks.com - Backing Up and Restoring Database
Discuss internet community strategy at CommunityAdmins.com
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
Backing Up and Restoring Database
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Miscellaneous
 See a User Guidelines violation? Please contact us.
Author Message

Jaeboy
Well Known User

Joined: 17 Oct 2002
Posts: 285
Location: HkG SAR

PostPosted: June 3rd 2003, 8:55 am    Post subject: Backing Up and Restoring Database Reply with quote

I've noticed many people having problem with backing up and restoring their phpBBs. It is really very easy! Here is the guide, explained in an easy to understand way.



      • Via phpBB:

        • Step 1 - Backing Up

            - Go to your current forum's admin panel
            - Select Backup Database under General Admin tab
            - Select Data only backup, if you have some modifications that use your database, select Full backup
            - Once downloaded

        • Step 2 - Restoring

            - Go to your new forum's admin panel
            - Select Restore Database under General Admin tab
            - Chose the file you've downloaded from your old board
            - Click Start Restore




      If this fails then follow the next step


      • Via phpmyadmin:

        • Step 1 - Backing Up

            - Go to your phpmyadmin, or any database manager
            - Select all the phpbb tables (normally have phpbb_ prefix)
            - Select Data only if you don't have any modification that uses your database or else chose Structure and data
            - Now select option SAVE AS FILE and EXPORT or DUMP in other DB manager
              *You will then prompted for download a file with extention .sql*

        • Step 2 - Breaking Up

            - You need to break up the SQL file into 1mb or less before uploading cause your server could be overloaded and you'll receive server time out!
            - If it is too heavy you can delete the the data of phpbb_search_wordlist, phpbb_search_wordmatch, they are used to speed up search topic on the board.
            - If it is still too heavy you can *eliminate the rank table phpbb_ranks and also bad word table phpbb_words
            - If it is still too heavy, try *emilinating the private message table phpbb_privmsgs and phpbb_privmsgs

        • Step 3 - Restoring

            - Go to your new server where the phpmyadmin is, or any database manager
            - Scroll down and you'll see "Run SQL query/queries on database xxx"
            - Then browse for your file and chose GO
            - Repeat Step 3 until all the file parts have been upload

              - If you don't see and "Run SQL query/queries on database xxx" maybe your phpmyadmin has it sperated in the SQL tab at the top





    Quote:

    - When i say eliminate in Step 2 phpmyadmin "breaking up", only delete the lines,

    For example:
    Code:

    INSERT INTO phpbb_search_wordmatch (post_id, word_id, title_match) VALUES('3810', '7095', '0');


    not the lines

    Code:

    DROP TABLE IF EXISTS phpbb_search_wordmatch;
    CREATE TABLE phpbb_search_wordmatch(
       post_id mediumint(8) unsigned NOT NULL,
       word_id mediumint(8) unsigned NOT NULL,
       title_match tinyint(1) NOT NULL,
       KEY word_id (word_id),
       KEY post_id (post_id)





          Useful links
        • Dariolius

            Break it up
            I use KanastaCorp Dariolius, it's a very light software - it is even free for personal use!


        • MySQL Front

            Query your database from your pc
            After breaking up, am lazy to go to my phpmyadmin so I just start mySQL front and it will update my database directly! And oh, it's a freeware!





    Updated on the 25th October 03


See also: Installing and Using phpmyadmin.
_________________
I love that Cat
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Miscellaneous All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - PhotoshopForums.com - MicrosoftBlog.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2008. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.