Reliability of non-real time automatic backup? Dropbox, Google Drive, Git

The Google Drive app for your PC works very well with Logseq, and there are different ways to set this up. It allows you to have two settings:

  • Stream files (all files stay in the cloud, you can work with them as if they are local files when online)
  • Mirror files (files are stored in the cloud and on your computer)

What works for me:

  1. I have ‘stream files’ as default setting for everything in Google Drive (Select ‘Stream files’ in the settings of Google Drive in your computer).
  2. I then created a folder ‘Logseq’ in Google Drive. Open Logseq and create a new graph, selecting that folder.
  3. Then in the pc file explorer I went to the folder ‘Logseq’ inside the local Google Drive folder, right-click that folder, select ‘choose more options’, and then select ‘Offline access’. That folder is now mirrored permanently, meaning it stays available when offline.

Note:

This allows you to use the google drive folder on multiple devices. Be sure to get online with one device before you use another device, otherwise there may be sync conflicts. However, Logseq has a setting that stores both versions of conflicting Logseq files, so nothing is really lost, but you need to notice these files, I accidentally discovered them when looking in the Logseq folders.

It also works when you leave Google Drive at streaming only, when online.
However, if Google Drive detects no folder/file that is set as ‘Ofline access’, when offline it will disable the Google Drive virtual hard drive in your computer ‘Google Drive (G)’ and Logseq will complain that the graph has disappeared.

1 Like