For a few days this blog darlings Babeh can not be accessed because the hosting Babeh rental is damaged. Even reportedly hardisknya broken. Horror deh. Whereas before Babeh not think to backup data because Babeh think the company hosting reliable enough. But what can I say, a profit can not be achieved, the poor can not be denied, so the stained hehehe ..
It is a very valuable lesson for Babeh, so that the data can be saved, Babeh directly to backup as well move to a new hosting remembering old hosting lately often down.
How to Backup WordPress Blog
To perform a backup wordpress blog, we need to make a copy of the installation of wordpress is stored on our hosting and make a copy of database blogs.
Steps to make a copy of wordpress installation is as follows:
- Log into cPanel hosting by accessing: http://urlblog/cpanel. Enter your username and password.
- Click "File Manager." Select Webroot if the blog is a major website on the hosting or choose "Document Root for:" blog to be backed up. Click "go."
- After the File Manager opens, click "select all" to select all the files that will be our backup.
- Click the "Compress." Usually the compressed file will be named cgi-bin.zip. Change the file name so that is easy to remember, for example backupblog.zip.
- After the compression process is complete, click on the file compression, and then click "download".
We already have a backup file installation of our blog. But the backup will be useless if it is not equipped with a database.
We are now going to perform a database backup our wordpress blog. The trick is:
- Of cPanel, click "Backups."
- Click the database that will be our backup of the "Databases."
- The database will be downloaded to your computer.
Should do these steps on a regular basis to avoid any possibility.
The steps that need to be done to make the shift from the old hosting to new hosting are:
- Open cPanel hosting is new.
- Upload backup wordpress installation that we get over to the public_html folder (if your blog is no primary domain on the hosting) or to another folder that we want. This step can be done using the "file manager" in cPanel or use FTP software such as FileZilla.
- Once the upload is complete. Extract the backup file.
Next step is to restore the database. Do the following:
- Of cPanel hosting the new, click "Backups."
- In the column " Restore a MySQL Database " click browse. Navigate to backup the databases we get on.
- Wait until the process is dumping its completion.
To connect the database with the blog, it is necessary to take measures as follows:
- At cPanel, click on "My SQL Databases."
- Create a username and password in accordance with the installation of blogs that we extract the above steps in the "Add new user." Username and password required is on file wp-config.php.
- Next, connect the user to the database by selecting the "database" and "user" in the "Add User to Database." Then click add.
The next step is to direct the domain blog to a new hosting to change the name server of our domain. Wait until the process resolves (propagation) is complete. It usually takes a little longer depending on the ISP that we use, ranging from 1 hour to 2 × 24 hours.
If we can not wait to test whether our blog on the new hosting is in conformity with our desires, we can use a trick accelerate resolve domain:
- Go to website http://www.opendns.com/support/cache/
- Fill in the domain you want is checked, then click "check this domain." If the IP address that appears not in accordance with the IP address of the new hosting, click "refresh the cache." Repeat this step until the IP addresses according to the IP address hosting the new. It usually only takes about 5 minutes.
- After that, replace the temporary DNS server address on our computer by its DNS OpenDNS (184.108.40.206 and 220.127.116.11).
- To ensure our domain have led to a new hosting, click Start> Run> cmd. Type "ping nama_domain_kita" then enter. If the IP address that appears is in conformity with the new IP address hosting means we are ready to do the next step. If not, try typing "ipconfig / flushdns" and then enter.
That way, we do not need to wait for hours until the process is complete and resolve our domain we can test our first wordpress installation on a new hosting before the new hosting we really ready to appear in cyberspace .. hehehe ...
Based on experience Babeh , such a move is quite simple to implement switching hosting. If it does not fit with the scenario, we can perform troubleshooting as follows:
- Rename or delete the file wp-config.php. Do not forget to note the database name, username and password.
- Go to our blog in a browser, follow these steps to install wordpress. Contents of the database name, username and password in accordance with the data base that we use above. Continue until the wordpress installation is completed.
Good luck ..