It's not even logical. You have to have a database and installation to run a plugin therefore you need to have already done the restore.
@ sarahk & PoPSiCLe my question shows my ignorance. What I concluded from your replies is I should ask about how to restore backup. That would be more appropriate question. So my question is how I can restore backup of WP blog?
This instruction generally applies if you move a wordpress site from one domain to another: 1. upload the backup files to your hosting (public_html directory on most servers) 2. import the backup database to a new database (using phpmyadmin on most shared servers) 3. update the file wp-config.php to reflect the new database name, database user, and database password (very rarely but possible: database host name as well) 4. update the database via phpmyadmin or command line, to reflect the new site name/url. Within the table named wp_options, look for a site_url value and change existing value to the new domain. That should do the trick. Or take a look here http://codex.wordpress.org/Changing_The_Site_URL for more alternatives on how to change the site url. If you did not move a new domain, but simply restore backup files, you can skip step 4. Or you can start with step 1, have a fresh wordpress install from your backup, and proceed with step 2. No need for step 3 above. Still probably need step 4 if you are using a different domain. Test these steps on your localhost (or another domain) to make sure you will not fail in the process.
This: No need for step 3 or 4 on above post. Also, you need to delete existing wp-config.php (or better: renaming it to something else, e.g wp-config.php.bak), so that a new wp-config.php will be generated by the new install. Important: You can do all these once your domain has been resolved to the new server. Alternatively, if you don't want to wait for your domain to point to the new server, you can do step 1,2,3 from my post above.
Upload the full backup file (that you've taken yesterday) to your new account's file manager and ask hostgator support team to restore it. they'll handle the rest of the things. My cousin did this last week. And it's taking a few min to upload 4gb zip file to his namecheap account. He's using 10mps net connection.
There are many plugins available in the WP directory for backups but I will recommend plugins like BackUpWordPress and BackWPUp. I use them even for my website.
You can use: 1. Backupbuddy (not free, don't use it if you have Revolution slider installed, I'm having a problem with that, don't use it if it's a large website, it will cause you problems). 2. Updraft Plus (free, use the migration extension $30 worth). 3. All in one wp migration (free, works great with websites that aren't large). Good luck.
Thank you all for your valuable solutions. I want to export Media library from a wp blog. Please suggest any good plugin for that. Thank you.