After having your WordPress installed on your hosting. The first thing you should do is to backup your website. There are many methods that can help you to backup your files and database easily. However, in this post, I'll show you how to use
BackupWordPress plugin to backup your WordPress website:
I. How to Backup Your WordPress Website
Step 1: Go to your Plugin tab and search for BackupWordPress plugin then install and active it.
Step 2: Go to Tools -> Backups
Step 3: Schedule your backup
After finishing backup your website, there's an email that will alert you about this. You can download the backup to your computer if you want.
II. How to Restore Your WordPress Website
Step 1: backup your files
The backup site files consist of three folders called wp-admin, wp-content and wp-includes plus a number of php files and a .htaccess file. You will need to upload the site files to your site and overwrite the existing files. This can be done via FTP using the file manager provided by your hosting company panel or via an FTP or SFTP client (such as Filezilla for PCs or Transmit for Mac). Make sure you choose to replace the existing files with the new ones. If you are restoring your site after a hack or virus attack it is better to delete all the site files prior to uploading the new files in case additional files have been added.
Step 2: backup your database. This should automatically overwrite the old tables. There are a number of different ways that this can be done:
- Using a tool such as phpMyAdmin. This and similar tools are usually available via your hosting company panel.
- Using a desktop tool.
- MySQL commands via the command line prompt.
- For more information see WordPress codex article on restoring your database from backup.