What you need to know to never lose notes in LogSeq

Поділитися
Вставка
  • Опубліковано 27 лип 2024
  • If you use LogSeq on multiple devices then you will have to deal with notes getting lost in the shuffle once in a while. I'm going to talk a few git basics so you have the tools to restore those lost notes and never worry about missing notes again. And show you why using a git backend is so powerful.
    🌎 Video Page notion.toolsontech.com/wp-log...
    💌 Join my mailinglist - toolsontech.ck.page/
    💖 Let me know you want more, subscribe
    ==== 🧾 Table of Contents 🧾 ====
    00:00 Introduction
    01:02 Git doesn't store files
    01:45 How things get mixed up
    02:57 Quick accidental change to test restore
    03:59 Finding where things went wrong
    05:41 Installing Git
    06:49 Cloning the notes
    07:27 Dealing with the terminal
    09:17 Reverting the change
    ==== Commands ====
    cd - Change dir/folder
    mkdir - Make dir/folder
    git clone - Create local copy
    git revert - Revert to ID
    git push - Send changes back to github
    git pull - Get changes from github (used once you have a clone)
    My demo account, you can use this to test - github.com/bgrolleman/logseq_...
    ==== 👋 Contact 👋 ====
    Website - toolsontech.com/
    LinkedIn - / basgrolleman
    Twitter - / toolsontech
    Buy me a Coffee - www.buymeacoffee.com/toolsontech
    ==== 🏅 Licenses 🏅 ====
    Storyblocks for Music and Stock footage, Flaticon for Icons and Giphy for Animated Gifs
    #logseq #git #datarecovery

КОМЕНТАРІ • 22

  • @nad6234
    @nad6234 8 місяців тому

    Super clear. Super well explained. Super helpful. ✅
    Thank you.

  • @sandysanthosh53
    @sandysanthosh53 3 роки тому +1

    This will help me a lot, I lost some notes in Logseq recently. Maybe because I used desktop and Web version simultaneously and almost switched back to obsidian. I didn't use git to store files, but will be doing that now

    • @toolsontech
      @toolsontech  3 роки тому +1

      Yeah, git is great. This thing will mostly effect the web users i think. But using multiple repositories and software versions made me grab git to restore things too many times already. The price of being early adopters.

  • @toolsontech
    @toolsontech  3 роки тому +1

    Was nice to talk a bit technical, let's hope it helps a few people to recover their notes.

  • @spyckje
    @spyckje 2 роки тому +3

    Unfortunately this is a bit too technical for me. I was able to retrieve an earlier version in the .loseq/bak directory accessing it through Obsidian (I tried doing the same using Logseq first, but kept encountering errors). From Obsidian I was able to access the earlier file version easily and then copy-pasted it back to my exisiting page in Logseq

    • @toolsontech
      @toolsontech  2 роки тому +1

      Sorry to hear that, once the new sync option is there I hope restoration of files will be easier. Logseq doesn't allow file management as Obsidian does and I'm still on the fence if that is a good or a bad thing. But mostly glad you found a way around it and hope it helps others!

  • @dwayneneckles
    @dwayneneckles Рік тому

    Even with paying for logseq sync i lost my half of my files and had to go through bak files on different computers to restore some of them. I may set this up...Thanks

    • @toolsontech
      @toolsontech  Рік тому

      Yeah, really looking forward to the next iteration of Logseq sync as the current way is just not reliable enough due to it comparing files instead of blocks. Got less of on issue now but that's more to me knowing how to walk around the landmines then the system being better.

  • @pjpw2320
    @pjpw2320 3 роки тому +1

    Can I do both in Logseq, have my notes locally and sync with Github?

    • @toolsontech
      @toolsontech  2 роки тому +1

      Oh, I missed this one. Since Logseq can use a local folder you could sync that with Github, in my Logseq and Obsidian I talk about how I use Obsidian git sync to do the exact thing.
      Depending on your needs you can always do a manual git sync in the local directory. I did notice that during heavy use on multiple systems that sometimes resulted into conflicted files. Meaning I needed to spend a little time merging them.

  • @PoetsisFox
    @PoetsisFox 2 роки тому

    Anyway to retrieve changes/deletions from logseq without having set up a git repository? If not, can you create a video on how to set one up to avoid future losses? Your video here assumes that a logseq repository has already been created. Thanks!

    • @toolsontech
      @toolsontech  2 роки тому

      You can always check the .loseq/bak directory, that saved me plenty of times. As for setting up git, easiest way is to enable it in the settings and let logseq deal with it. That will give you version control inside logseq. Still not a 100% happy and I hope once official sync hits that the sync will also include versioning, making managing my notes a whole lot easier.
      If you manually want to setup git in a directory, if git is installed you can go to your graph and run 2 commands.
      "git init" to tell the system that directory is a git repository and "git add ." to basically add everything. Once that is done you can use the regular commands like git commit and push to stash changes.
      I'll double check the video, because if I forgot to explain how to init git that's a huge oversight on my part and I'll need to remedy that.

  • @jennysun4933
    @jennysun4933 2 роки тому +1

    Hi! Thx for the video. If I only have logseq notes stored in my local PC, is there a quick way for me to retrieve the data? Bascially I could see my data in local drive, but in logseq page it shows blank. I did not delete anything...

    • @toolsontech
      @toolsontech  2 роки тому

      Hey Jenny, Logseq is (last time I checked at least) particular on where the data is stored in the vault. Are the pages you are looking for under the pages subfolder?
      If not, hit me up on twitter (@toolsontech) and I'll see if I can help out.

    • @jennysun4933
      @jennysun4933 2 роки тому

      @@toolsontech Thx for your response! Yes the pages were under the subfolder. I clicked "import changes from local files" and recovered most of the data (only the journal page of that particular day was lost).

    • @toolsontech
      @toolsontech  2 роки тому

      That's great to hear!

  • @muudus_tv
    @muudus_tv 2 роки тому +1

    Can I git revert and push without cloning the whole repo ??

    • @toolsontech
      @toolsontech  2 роки тому

      No, git was based around having the whole set. It's usually best to get all, makes changes, double check and push.
      While you can make changes using web interface of gitlab/github and avoid cloning. If you plan on using it afterwards you still need to clone. So that would only help in very specific circumstances

    • @muudus_tv
      @muudus_tv 2 роки тому

      @@toolsontech thanks and you use obsidian , Rome research or Logseq ?

  • @ThePharaohsCat
    @ThePharaohsCat 2 роки тому +1

    I'd better subscribe.