Phpwind Forum Two options for changing space relocation

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

As a webmaster, their own forum to change the space is a commonplace thing, this involves how to move the problem.

For large stations, data, large data modification, relocation is a very headache problem, here to provide a backup transfer program for both the program reference:

First type:

1, background-database management-data backup (This step is the most important, before the backup, please close the forum to prevent new data entry, resulting in lack!) No special circumstances, we recommend the best use of the Forum background backup function, as far as possible with a Third-party backup tool!

Diagram:

  

After the backup of the data are SQL files, such as Pw_0503_0138dd1e58_4, where 0503 for the data date of the backup, the data is stored in the database folder, there may be more than one, please complete download to the local save standby.

  

2, back up your modified program files (mainly template files, most of the changes should mainly be in: index.htm, read.htm, post.htm, fastpost.htm, and so on, some plug-ins of the modification involves PHP files), Download these modified files to the new server locally!

3, Backup accessories, plug-ins, style, pictures (mainly involved in images and attachment folders below the file, images folder out of the system most of the picture is outside, may contain your own personality pictures and icons, attachment folder recommend you a full backup, Stored here is the Upload forum pictures and other accessories, as well as backup style files and templates (many stations have their own style, this can not be forgotten, generally in Data\style, imges\ your style, template three folders)

Tip do not know the location of the attachment can be learned in the background, as shown:

  

The way to find the style directory (location: Forum mode "Style template" Select to style edit) diagram:

  

Select any style editor to view:

  

Plug-in backup actual most of the installed Plug-ins webmaster may not remember the corresponding directory of Plug-ins This can be in the background plug-in management view, in accordance with their own needs to download to the new space to use.

The corresponding directory looks at the diagram:

  

In order to avoid the future of a large number of changes in the trouble, we recommend that through the FTP backup full station complete files, so that you save a one to find, to avoid the omission of a file backup.

4, the original version of the same program (version code must be the same), through FTP upload to new space, perform a new installation (run install.php, do not forget to do before the implementation of the Data folder Install.lock Delete, installation will be prompted to enter a new database name, password, or upload the original station complete file that you backed up.

5, the previous backup of the data table data, upload it into the Data folder, into the background, through the database management-data restore imports.

Special reminder, if you are the old station through FTP backup, and then upload to the new space, then please do not forget the following steps:

To data\sql_config.php, the original old database name, password, database permissions data all changed to new.

Description:

$dbhost = ' localhost ';//database server (database on same server)

$dbuser = "; To create a database username for a new space

$DBPW = "; To create a database password for a new space

$dbname = "; To create a database name for a new space

At this point, you should be able to run normally.

For some experts, directly into the phpMyAdmin, the MySQL data for backup, and then import, but we think, for most stationmaster, or try not to use this way, avoid careless operation, destroy data.

If you originally win the environment space, now is the Linux environment space, don't forget to set the folder Write permission to 777.

The second type:

In fact, the cycle of truth is the same, I now teach you a simpler way to omit the above steps.

1. Forum Backup

1.) Backup database table and forum plugin table download to local

2.) Backup of the repaired files and landscaping (not in detail here to introduce the first kind of there) download to the local

3. Backup attachments, plug-ins, pictures, style, etc. download local

2. Install new Forum

1. Install the corresponding version of the Forum program directly on the new server

2. After installation into the FTP upload our old database backup, including all of us before downloading the backup can be one by one upload coverage (attachment, style, plugin and modify file)

3.) upload good, into the background to import database backup (coordinates:

  

)

Diagram:

  

4.) Then we do the import data, the method is all selected and click on import (either one click it will automatically start importing from 1 volumes)

Figure:

  

3. Update the Forum

1. Recommended full update It is best to make a backup of the Bbscache file under data and then empty or delete the full update in the background.

This article is for reference only, welcome to exchange. Giant Surplus network, computer newspaper recommended space business: Http://Www.idcYa.Com

Finally, the giant surplus Network wishes Webmaster Forum Relocation, can achieve success!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.