Explanation

When my backups with roam-to-git started failing every hour in January 2021, I created my own backup solution called roam2github. There are a few changes to make to the Secrets and main.yml, as well as creating another repo to separate the saved backups from the backup jobs (to take advantage of unlimited minutes).

<aside> 💡 If you haven't set up roam2github or roam-to-git before, go here: Roam2Github Backup Guide

</aside>

Directions

  1. Delete main.yml

    This will stop the failing Actions running on your private repo and using up minutes. We'll still use this repo to save the backups.

  2. Add a Personalized Access Token

    <aside> 💡 Note that there is a default expiration of 30 days. You might want to change this to 'No expiration' or set yourself a reminder to regenerate the token. (Thanks Reid)

    </aside>

  3. Create a new, public repository and include README (You can name it something like "roam2github-actions")

    This is where the actions will run and save to your private backup repo.

    If you want it to remain private, that's fine, just be aware of the 2000-minute monthly limit on the free plan. (Usage can be monitored under Billing. My backups take about 3 minutes each time, and running hourly, 2000 minutes is not enough.)

  4. Add Secrets

  5. Add Actions

Issues?

Stay up-to-date with Roam2Github announcements by email:

https://eriknewhard.ck.page/b1cd7d35fa

This will only be used to notify you of updates to Roam2Github, and won't be used for my personal newsletter or anything else.