Making backups is essential because problems inevitably occur and you need to be in a position to take action when disaster strikes. Spending a few minutes to make an easy, convenient backup of your database will allow you to spend even more time being creative and productive with your website.
How often should You back up Your site?
That depends on how often you blog, how often you want to do this, and how you would feel if your database were lost along with a few posts. It is your decision. I do this every week, I put remainder so i don’t forget to do this.
How many backups should I keep?
Excellent question. Most people make a backup and then just replace it every time. It saves space and is less to worry about. But what if that backup file is corrupted or lost? Then what? The general rule of thumb is to keep at least three backups and keep them in three different places or forms, like CDs, different hard drives, web disk, your e-mail account, etc.
This post I took from WordPress official site.
Ok, lets start Backing Up Your WordPress Site:
There are two parts to backing up your WordPress site: Database and Files. You need to back up the entire site, and you need to back up your WordPress database. Below are instructions for backing up your WordPress database for various server programs. We will start with backing up the rest of your WordPress Site.
Your WordPress site consists of the following:
- WordPress Core Installation
- WordPress Plugins
- WordPress Themes
- Images and Files
- Additional Files and Static Web Pages
All of these are used in various combinations to generate your website. The database contains your posts and a lot of data generated on your site, but it does not include the above elements that all come together to create the look and information on your site. These need to be saved.
Most hosts back up the entire server, including your site, but it takes time to request a copy of your site from their backups, and a speedy recovery is critical. You need to learn how to back up your own site files and restore them.Here are some methods.
Website Host Provided Backup Software
Most website hosts provide software to back up your site. Check with your host to find out what services and programs they provide.
Create Sync With Your Site
2Bright Sparks’s Syncback and WinSCP are programs which allow you to sync with your website to keep a mirror copy of the content on your server and hard drive updated. It saves time and makes sure you have the latest files in both places.
Using FTP Clients or UNIX Shell Skills you can copy the files to a folder on your computer. Once there, you can zip or compress them into a zip file to save space, allowing you to keep several versions.
Remember, keep at least three backups on file, just in case one is corrupted or lost, and store them in different places and on different mediums, like CD, DVD, different hard drives, etc.
Database Backup Instructions
Back up your WordPress database regularly, and always before an upgrade or move to a new location. The following information will help you back up your WordPress database using various popular server software packages. For detailed information, contact your website host for more information on the program, control panel, and resources they provide.
phpMyAdmin is one of the most popular database management systems found on most website hosts. You will need to know where it is and how to access it on your website host’s interface or control panel. We have provided information on accessing phpMyAdmin below.
phpMyAdmin is used by site administrators to manage and interact with their MySQL databases. During the installation process, you probably accessed mySQL through phpMyAdmin to create your WordPress Database and set up the password. WordPress stores all of its information in the MySQL database and phpMyAdmin provides the interface to access that data.
While familiarity with phpMyAdmin is not necessary to back up your WordPress database, these instructions should take you step-by-step through the process of finding phpMyAdmin on your server and then you can follow the instructions below as a simple and easy backup or for more detailed instructions see Backing Up Your Database.
On your main control panel for cPanel, look for the MySQL logo and click the link to MySQL Databases. On the next page, look for phpMyAdmin link and click it to access your phpMyAdmin.
cPanel Access Databases
cPanel Access to phpMyAdmin
From Your Account page, look for MySQL Management and click it to access phpMyAdmin.
Direct Admin Access to phpMyAdmin
Look for the MySQL Admin logo and click the link. Under Configuration choose MySQL Administration Tool.
Click the button for Databases. Then choose the link to the WordPress database you setup during the WordPress installation. Then click on the button for phpMyAdmin.
From the main control panel, click Host Manager, then click Databases. In the next window, click Admin. Another window will popup taking you to the phpMyAdmin login screen.
Login to your Ferozo Control Panel by using your credentials. Once inside, go to the “Base de Datos” (“Data Base”) menu and then click on “Acceso phpMyAdmin” (“Access phpMyAdmin”). A new window will open displaying the phpMyAdmin login screen.
The following is a very simple version of how to use phpMyAdmin to back up your WordPress database. Once you have discovered how to access your site’s phpMyAdmin, follow these simple instructions.
Begin by clicking database in your phpMyAdmin panel.
You may have several databases. Click the one that holds your WordPress data, the database you created when you installed WordPress.
This shows only default tables. You may have more tables – this would happen if you have any statistics plugins or anti-spam plugins.
- Select ONLY those that hold your WordPress site.
- Check the “Add DROP TABLE” box.
- Check the “Complete inserts” box.
- Check the “Save as File” box.
- Check the “None” for compression. If your database is very large use a compression method.
- Click Go. The data will now be saved into your computer.
Keep these files safe!