Backup Plugin

Hi there!

It works perfect again... thak you for the update!

The current backup preservation option allows user to keep x backups. For anyone backing up daily (or even more than 1x/day), keeping 30 backups only allows you to go back one month. Once you have hundreds, or thousands of notes, you may not notice a note or part of a note missing for months. Or you may want to go back and see a note or some note content you deleted a few years ago, thinking it was no longer relevant, but now has become relevant again.

Would it be possible to implement a system where user can keep x daily backups, y monthly backups and z yearly backups? This would more closely mimic what professional IT backup systems use.

The way I'd envision I'd use this is keep 30 dailies, 12 monthlies, 10 yearly.

1 Like

I've included it once, if I implement it, let's see.

1 Like

If you install the plugin and then don't immediately configure it's settings (like where to store the backups), it defaults to storing the backups in the working folder (~/.config/joplin-desktop/joplin).

It stores the backups in the working folder, which obviously messes with and leads to loss of data, and is clearly not desirable behavior.

Can you address this issue please?

And can there be an option to backup other plugins as there currently isn't a way to do so except manually?

This should not happen, because normally this message then appears when no path is set or the path is set to the Joplin profile directory.
grafik

  • Which OS?
  • Which plugin version?

Theoretically yes, but only the plugins can be saved, the settings of the plugins cannot, because there is no API for this.

Hi there and thanks for this awesome plugin and quick response.

I just tested v1.0.3 (from the builtin Joplin plugin 'store') and when not specifying the backup directory, the plugin does create backups in ~/.config/joplin-desktop.

For reference:
Screenshot from 2021-10-22 12-17-29


System Information:
OS: Ubuntu 21.04
Joplin: 2.4.6

v1.0.5 (2021-12-05)

  • Fix: #28 No message was displayed that the backup is finished when starting manually
  • Improved: #25 Check Backup set name for invalid characters

@manthanf1
I cannot recreate the behavior under Unbuntu 20.04.
But feel free to post more info in the GitHub issue.

Hi
I tried it several times to set the Backup path to an external drive in the cloud, but unfortunately with no success. My intention is to save the JEX-Backup on a save place and not on the same drive where Joplin data are stored.
Question arise whether this is possible to do, or is it only possible to save in a preset directory.
My Device is a Mac with OS10.12.6, Joplin 2.5.12, the PlugIn v.1.0.5,
There seems no way to switch to another directory or disk.
Advice is well appreciated.

I'm not sure what you mean by that. To a syncronized folder (Dropbox, Drive, ...)?
When yes, this is no problem.

Enter the full path to the folder, for example /Docs/Dropbox/Joplin is no full path!

1 Like

there is a folder in »pCloud drive« called JoplinArchive, it was created by myself. But introducing it in the Backup plugin path I got the message that there is no such path an folder I wonder.

How do you access pCloud? Do you have a sync client installed? Or do you just use the web interface?
Sync clients usually create a local mount point that can be used the same way a standard directory is used.

1 Like

I have a sync client installed which shows me a directory where I have an easy access to my files in the cloud, like a external disk or an standard folder.

Then create a folder in this folder and point the backup path to this local folder on your MAC.

Exactly what I have done, see my contribution earlier. But there are always error messages like "the path do not exist". Probably the syntax is wrong for the path setting? Can you give me an advice?

the message I got was The Backup path '/Users/Username/.config/joplin-desktop/pCloud/JoplinArchiv' does not exist!

@Michael As I wrote before, the complete path, pCloud/JoplinArchiv is not the complete path!

I got the solution with a path to an USB-stick, there it runs very well, but on pCloud ist a mystery to me

Go to the directory in the terminal and type pwd. The output is the absolute path you will have to use.

Thank you very much, this was a great support. Now it runs as it should do.

If you keep 30 daily backups and once a month copy the oldest and archive it you would create the 12 monthly backups and then once a year copy one to a second archive for yearly backups. I realise it is a manual exercise but not too arduous.

1 Like

Hi @tessus and @JackGruber, I wanted to create a backup file in Google Drive as second place as I am using OneDrive as external place to synchronize my Joplin folders.
Following the tessus advice, I got this path using pwd in linux: /run/user/1000/gvfs/google-drive:host=gmail.com,user=???????/1C68wYAm35UGRUs1l7cAAeaALdpZKMoah (I have omit in this paths my Google user name and other some characters).
What I am doing wrong? Is it possible to use Google Drive as an external cloud to save the Joplin folders?
I got the follow backup error message after change the backup path from my PC folder to Google drive folders?
Message:
Backup plugin
The Backup path'/run/user/1000/gyfs/google-rivehost=gmail.com,user????????cAAeaALdpZKMoah
does not exist!

My OS and Joplin version:
Joplin 2.6.10 (prod, linux)
Sync Version: 3
Thanks in advance for your help.