未加星标

How to Effectively Back Up Your WordPress Website: (Useful Recommendations)

字体大小 | |
[开发(php) 所属分类 开发(php) | 发布者 店小二04 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Believe it or not, your WordPress website is like a fragile flower trying to survive against the threat of a heavy snowfall or a sudden storm (read: malicious hacker attacks) if not taken care of (read: backed up) properly.

‘But the hosting company has to ensure my site is protected, so I don’t worry about it’, will be first thought crossing your mind.

However, don’t fall victim to the common misconception. Of course, we don’t make you doubt your host’s diligence in terms of backing up your website. Nevertheless, keep in mind, that the backup types provided by a hosting company aren’t designed for WordPress. That means they can be inefficient when a hacking threat calls.

Second, you are not going to be notified if a backup fails. Besides, most of the low-cost hosting companies in fact protect your mysql database only, at best, and not all of your files. That means that you can’t restore changes, for instance, to your theme, if it is hacked.

Now think again: do you really want to entrust your website’s (and in some sense, your business’s) safety to a hosting company? Most probably, no.

A solution? Take the initiative of protecting your website against malware in your hands. It’s not a rocket science just a bit of patience and consistency and your website will be shielded against the possible risks. In this post, you’ll learn how to do it yourself.

How to back up your WordPress files manually

In simple terms, a backup is the copy of your website that you can restore if needed. With backups, you protect the time, money and energy you spent on your website and ensure you don’t have to build your website from scratch filling it with the missing data. An unpleasant scenario, indeed.

However, if you choose to do it all yourself, some guidance will come in handy.

First off, let’s see what your WordPress directory ‘houses’. In fact, it’s a ‘vault’ of sub-folders such as wp-content, wp-includes and files e.g. wp-config.php, as well as theme and plugin files your WordPress site. The most important folder, wp-content, contains all your themes, plugins, cache and some other files. You cannot afford the luxury of neglecting this data protection. The wp-admin, on the other hand, is home to the files required by your WordPress admin area, so it’s crucial to back it up, too. The wp-includes folder contains core WordPress files and all the key WordPress codes. It’s better to take care of these codes, too.

To create a backup copy of your WordPress files, you just need to download the whole WordPress directory. One way is to log in to your server via cPanel, and that’s what we are going to consider below.

How to back up your WordPress website through cPanel

Backing up your WordPress website is a piece of cake once you know the exact sequence of steps.

To this end, first off, log in to your web host and move to cPanel (it’s the first page you come across once you log in).

Then, navigate to the File Manager, leading you to your public_html or Home directory. Once you’re there, spot your WordPress directory the folder you are going to back up. Next, you should compress it (a process that unluckily, is mandatory). Then take the following steps:

Click on your WordPress directory, and select Compress from the menu bar, or right-click on the folder and choose Compress from the drop-down menu.

Choose the compression type e.g. ZIP, Tar, GZIP etc from the dialog box that opens.

Afterwards, click on Compress File(s) button and wait for a few minutes: your server is saving your compressed WordPress folder.

Click on the compressed archive and select Download from the menu, or right-click on the archive and choose Download.

Choose a secure location on your hard disk and save your backup.

Voila, you have backed up your WordPress website manually!

Other important backup tips

To be on the safe side, upload the backup to your Dropbox account, Google Drive, email it to yourself, burn it to a DVD/CD, transfer it to a USB to double check you have more than one copy.

Also, another important thing: if your web host uses a different control panel, for instance, vDeck or Plesk, etc, you just need to locate your File Manager, and follow the process i.e. Locate File Manager -> Locate your WordPress directory -> Compress -> Download . Don’t forget to repeat the process on a regular basis.

Of course, there are myriad ways of protecting your WordPress website against any malicious ‘intrusion’. If you use a different method to back up your WordPress website and find it effective, feel free to share your experiences below!

本文开发(php)相关术语:php代码审计工具 php开发工程师 移动开发者大会 移动互联网开发 web开发工程师 软件开发流程 软件开发工程师

主题: WordSQLMySQL
分页:12
转载请注明
本文标题:How to Effectively Back Up Your WordPress Website: (Useful Recommendations)
本站链接:http://www.codesec.net/view/520101.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 开发(php) | 评论(0) | 阅读(47)