# Best way to do Git backup for Joplin notes?

**URL:** <https://discourse.joplinapp.org/t/best-way-to-do-git-backup-for-joplin-notes/33954>\
**Category:** Support\
**Created:** [30 November 2023 02:00 UTC](https://discourse.joplinapp.org/t/best-way-to-do-git-backup-for-joplin-notes/33954 "2023-11-30T02:00:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subplotStatute1](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@subplotStatute1](https://discourse.joplinapp.org/u/subplotStatute1)\
**Post date:** [30 November 2023 02:00 UTC](https://discourse.joplinapp.org/t/best-way-to-do-git-backup-for-joplin-notes/33954/1 "2023-11-30T02:00:33Z")

</div>

### Operating system

Windows

### Joplin version

2.12.19

### Sync target

OneDrive

### What issue do you have?

Hello,

I want to backup my Joplin notes via Git automatically. I have a setup with Obsidian that I want to replicate, where a git script automatically commits changes I make to my notes to a local repo every so often. Ideally, I’d be able to do something similar with Joplin so my notes’ version history gets saved.

I wanted to ask what people think is the best way of doing this since Joplin doesn’t actually store your notes as Markdown files like Obsidian. Is it even possible?

To be clear, I’m not asking to use git as a synchronization tool. I want to just use it as a way to backup notes on the desktop.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [30 November 2023 06:30 UTC](https://discourse.joplinapp.org/t/best-way-to-do-git-backup-for-joplin-notes/33954/2 "2023-11-30T06:30:37Z")

</div>

I would say use the the [Simple Backup Plugin](https://github.com/JackGruber/joplin-plugin-backup/blob/master/README.md) and set the Format to Markdown Fontmatter an set da Post script to do the commit and push (I have not tested if this works or not).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [30 December 2023 06:30 UTC](https://discourse.joplinapp.org/t/best-way-to-do-git-backup-for-joplin-notes/33954/3 "2023-12-30T06:30:40Z")

</div>

Closed on 30 December 2023 06:30 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
