In this article, we will see how to backup your wordpress site to github for free using the wordpress github sync plugin.

You may also like-  Search for WordPress sites.

You can easily take backups of your wordpress site to github. In case if you lose some of your wordpress content, you can easily get back your lost content using github wordpress backup.


  1. Go to and create a Github account if you don’t have one.wordpress github
  2. Sign in to your github account.wordpress github
  3. Go to the + button icon on the top right and click on “new repository”wordpress github
  4. Create a new respository-> name it as “wordpress” (or anything you want). Make sure initialize this repository with a README is enabled. Click on create repository.wordpress github
  5. Now go to your wordpress control panel and go to Plugins-> Add New. Search for “github sync”. Install and activate “wordpress github sync”.wordpress github
  6. Go to settings-> and click Github sync. Here enter the following details-
    2. Repository your github username/repository name (For example- muthali/wordpress) wordpress github
  7. Create a personal oauth token- Click on the personal oauth token link given in the dashboard. Give token description as “wordpress sync”  and scope as “public repo” and click generate token .wordpress githubwordpress github
  8. Export to github– Now this will create a token for you. Copy paste this in your wordpress control panel and click on export to github. Now if you go to github profile-> repositories-> wordpress, you will find your wordpress site backup.wordpress github
  9. Go to wordpress folder->wordpress github wordpress github
  10. Here you can see that all your posts have been backed up.
  11. How to restore- Go to settings-> github sync-> Import from Githubwordpress github

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like