Home / Interview / Wordpress :: General Questions

Interview :: Wordpress

51) How to take the backup of a WordPress site?

A backup is just the copy of your original site through which you can restore your original site if anything goes wrong. Keeping a backup on the safe side is always advisable.

A site is generally made up of two parts. One is all the installed themes/plugins, media and other is Database which stores all your blogs, posts, and comments. Without files, there is no site, and without the database, there is no data. Hence both of them is important and need a backup.

52) Why is Backup important?

Backup allows you to retrieve your site back if something goes wrong or if your site breaks. There could be many reasons for this like external attack, hacking, server down.

You can lose everything from data to all the posts on your site. The backup is essential to avoid it.

Securing your backup is also an important issue. Make sure to update your plugins and themes regularly or in a specified interval. Use strong Username and Password. Database name should also be uncommon.

53) How to Backup WordPress root Files?

There are many files in your WordPress directory. These files can be downloaded back from wordpress.org site. Some of them can be retrieved back but some can't.

The wp-content directory contains all your installed themes and plugins including all your media files like images, audio or video files which you uploaded on your site. Hence, it makes it personal and unique.

The wp-config.php file consists of your Database and other personnel options which make it also a unique file.

Both the above files can't be replaced by other default files. Hence, they need to be backed up.

54) Explain the steps involved in the backup of the database.

In the database, all your posts, media files, comments, and metadata stored. It also contains user's information and all your plugin settings. All these information are personal and unique. If you lose them, they are gone permanently. Select your WordPress database (which you created during the installation of WordPress).

  • Click on Export.
  • Quick is used when the database is small. Custom is used when the database is large. Suppose we are choosing Custom.
  • After choosing Custom, a table appears. Select all the tables.
  • Now come to the Output section.
  • Choose SQL from the Format drop-down menu.
  • Check "Add drop table." It is useful for overwriting an existing table.
  • Check "If not exists." It prevents errors when tables are already there.
  • Now click Go. Your data will be saved in your system.
55) licensing authority is responsible for WordPress?

WordPress is licensed under GPLv2 (GNU General Public License) which makes it free and open-source software. Each copy of WordPress has a licensed copy with it.

56) What is GNU?

The GNU General Public License is called GPL in short. It has some terms and conditions to copy, modify and distribute the software licensed under its name.

GNU makes sure that any software source-code licensed under it has to make originating source code open and freely available to all its users. Here, freely doesn't mean by cost but it says that it is freely available to users to distribute and modify the code, but they can't impose any restrictions on further distribution, the source code has to be made available.