MyFirstBrain/Technik/Obsidian-IOS-GitSync.md
2024-06-13 07:19:24 +02:00

1.4 KiB
Raw Blame History

I believe that this might be the easiest way to backup IOS with only Obsidian Git plugin.
:exclamation: You dont need to download any extra app on your devices.

  • Sync repo

    • Use https: protocol to clone the git repo
    • Compress your repo and send it to your iphone (Air Drop or other ways)
    • Open Obsidian on iphone, and create a vault with the same name as your repo, e.g. repoA
    • Uncompress your repo on iphone and copy the whole folder, e.g. repoA
    • Go to the path on my iphone -> Obsidian, you will see that the repoA is here. Now, paste your repo here, and choose Replace to all
  • Config Git Auth

    • Install and Enable the Obsidian Git plugin
    • Go to github (I recommend you to use Personal access tokens, since the Password will fail sometimes)
    • Setting -> Developersetting -> Tokens (classic) -> generate new token
    • :exclamation:Please copy and store your token somewhere, cause it only shows once.
    • Paste your Personal access tokens to the Obsidian Git Setting-> Commit Author -> password/personal access tokens
    • Or put it in the Gitconfig directly
  • Done, enjoy your free sync with git

#technik, #obsidain, #git