All Collections
Hashnode Pro Features
Backing Up Your Drafts to GitHub
Backing Up Your Drafts to GitHub
Backup your draft in progress to GitHub
unclebigbay avatar
Written by unclebigbay
Updated over a week ago

What is Backup Draft to GitHub?

The Backup Draft feature is exclusively available for Pro users and allows you to create backups of your drafts to a GitHub repository.

  • Please note that this feature is separate from backing up your articles to GitHub which is a free tier.

  • To use this feature, you will need to set up GitHub backup on your Hashnode account. You can refer to this guide for instructions on how to do so.

  • The same repository will be used for both GitHub backup and Draft backup

Enabling the Backup Drafts for your publication

Step 1: Navigate to your settings dashboard.

Step 2: Click the "BETA FEATURES" tab on the sidebar.

Step 3: Under the "Blog level features", enable the backup drafts to GitHub option for any of your Pro blog as shown below.

Backing up your Drafts to GitHub

Step 1: On your editor, click the menu dropdown icon and select the "Backup this draft" option.

Step 2: You will be prompted to enable this feature first from your settings, If you haven't already done so, please refer to the previous section above for a guide on how to enable it.

If you attempt to backup a draft from a non-pro blog, you'll be requested to subscribe to Hashnode Pro plan.

Step 3: Your draft will be automatically saved to your GitHub repository, and you can view it in your blog repository as demonstrated below:

Backing up all your Drafts to GitHub at once

Once you have enabled the backup of drafts to GitHub on your blog, you can use your backup dashboard to backup all of your drafts to GitHub at once.

Step 1: Navigate to "Backup" tab on your dashboard.

Step 2: Switch to the "Drafts" tab and then click the button labeled "Backup all drafts" located in the table header as shown below:

Step 3: Ensure that all your drafts are completely backed up. You can verify this by checking the status indicator shown below.

Step 4: Subsequently, your Hashnode repository will then be updated as shown below.

Did this answer your question?