Backup Plugin

Understood, but then you sacrifice the ease of single-item restore that some people like. I was wondering if there could be a clever solution to get all the benefits of both ways at once; knowing, that even if there was, it would likely take some design and development work to implement. Anyway, just some loose thoughts.

The JEX format doesn't lose folder structure. I believe you're thinking of the Evernote export format. AFAIK the JEX format is completely lossless, that is, you can export to a single file and everything will re-import identically.

If that doesn't happen, i believe it would be classified as a bug.

1 Like

Hello
I'm a little ashamed of such a question, but I'm new in linux and opensource universe : I can't find the right path for the back up, I still get the Backup error
Backup Path '(...) does not exist.
I get the path by the shell, after choosing the folder on my pc in wich I wanted store the backup but it doesn't work. Backup error
the path I get looks like this : '~/Documents/Folder1 /Folder 2/Folder 3/Folder'
I try with '/home/' before Documents, it's the same
What do I miss?
Thanks for your help

And this make me say that maybe the possibility to browse for the path using the system files explorer would be super hyper nice for noob like me :slight_smile:

I have no Linux Desktop with Joplin to test if the short path with ~ is working, but full path should work.
On the console you can get the full path wit the command pwd

This is with the actual plugin system not possible ...

But you can try to bring my request up:

1 Like

@JackGruber, for your information, just tried using ~ in the backup path for your plugin on Linux:

~/my-backup-path, returns an error, the absolute path must be used, e.g. /home/username/my-backup-path

Thanks again for a great plugin!

2 Likes

Yep That's it!
I thought I tried this (with /home/username/my-backup-path) but obvsiously not,
the line command pwd was the good solution!
Thanks a lot for your quick answers

And @JackGruber yes I bring your request up

1 Like

This seems to be a limitation of Electron, noticed this issue with another path field, not even in a plugin.

2 Likes

v0.5.3 (2021-04-03)

  • Add: Backup settings.json
  • Optimize: #7 Better error message when a backup is created twice in a row in the same minute
1 Like

Hello, I installed backup pugin and for now is worked. I´ll keep using, but I´m thinking that a really usefull feature is encryption option. Do you think that this option could be implemented ?. Thanks

It is already at your fingertips. Create an encrypted file container (e.g. Truecrypt), point the backup plugin path to it. When the file container is open at the time of backup, everything works as it expected. When the file container isn't open, the plugin shows an benign error message saying that the backup path wasn't found. Works on windows and Mac.

Hello, Yes I did in this way and worked. I use Veracrypt. Thanks

I tried to use the plugin with the OSX client.

I can't find the correct path to save the backup.

Does anyone have an example for OSX?

@Jannock You can enter ever path in unix style like /data/joplin_backup.

Thanks for you quick reply.
I'll tried, but get this popup:

Backup error

Backup Path '/Docs/joplin/backup/' does not exist

I have no Mac, but I think your docs folder is in your user folder.
/users/<USERNAME>/Docs/joplin/backupbut the path must exist, the plugin do not create the folders!

But I mean to remember, that in the context menue (click on folder or file) there is a copy path option.

Thanks very much, that was the trick (right click on folder name, push 'option' and you can select 'copy the full path' in the popup menu).

1 Like

Any way to add a password to encrypt backups? Even if just in a zip file?

Is in planning, but due to a bug #5072 the version is suspended for the time being until it is fixed.

1 Like

I have published a pre-release which contains the following new features:

  • Add: Relative path could be used for Backup Path
  • Fix: An error with Only on change, which was not working properly
  • Add: Option to create zip archive
  • Add: Option to specify the Backup set name if multiple backups are to be keep.

The pre-release can only be installed manually and not via the Joplin GUI!

It would be great if I could get some feedback if the zip functionality works on different operating systems.
I have only tested it under windows, because I have no MAC or Linux with Desktop.

Download:

Hi @JackGruber

Thanks for new version.
I just did a quick test under linux (Fedora 34). It seems that the plugin does not take into account the specified backup path.

image