Code Monkey home page Code Monkey logo

joplin-plugin-backup-fork's Introduction

Joplin Backup Plugin

A plugin to extend Joplin with a manual and automatic backup function.

Installation

Automatic

  • Go to Tools > Options > Plugins
  • Search for Simple Backup
  • Click Install plugin
  • Restart Joplin to enable the plugin

Manual

  • Download the latest released JPL package (io.github.jackgruber.backup.jpl) from here
  • Close Joplin
  • Copy the downloaded JPL package in your profile plugins folder
  • Start Joplin

Usage

First configure the Plugin under Tools > Options > Backup!

Backups can be created manually with the command Tools > Create backup or are created automatically based on the configured interval. The backup started manually by Create backup respects all the settings except for the Backups interval in hours.

Options

Go to Tools > Options > Backup

Option Description Default
Backup path Where to save the backups to.
This path is exclusive for the Joplin backups, there should be no other data in it when you disable the Create Subfolder settings!
Keep x backups How many backups should be kept 1
Backups interval in hours Create a backup every X hours 24
Only on change Creates a backup at the specified backup interval only if there was a change to a note, tag, resource or notebook false
Password protected backups Protect the backups via encrypted Zip archive. false
Logfile Loglevel for backup.log error
Create zip archive Save backup data in a Zip archive No
Zip compression Level Compression level for zip archive archive Copy (no compression)
Temporary export path The data is first exported into this path before it is copied to the backup Backup path. ``
Backup set name Name of the backup set if multiple backups are to be keep. Available moment tokens, which can be used with {<TOKEN>} {YYYYMMDDHHmm}
Single JEX Create only one JEX file for all, this option is recommended to prevent the loss of internal note links or folder structure during a restore! true
Export format Selection of the export format of the notes. jex
Command on Backup finish Execute command when backup is finished.
Create Subfolder Create a sub folder JoplinBackup in the configured Backup path. Deactivate only if there is no other data in the Backup path! true
Backup plugins Backup the plugin folder from the Joplin profile with all installed plugin jpl files. true

Keyboard Shortcuts

Under Options > Keyboard Shortcuts you can assign a keyboard shortcut for the following commands:

  • Create backup

What is backed up

  • Notebooks as JEX export (Empty notebooks are not backed up)
  • The settings.json (Joplin settings)
  • The keymap-desktop.json (Keyboard shortcuts)
  • The userchrome.css (Your Joplin customization)
  • The userstyle.css (Your Joplin customization)
  • The templates folder (Note templates)
  • The plugin folder (All installed plugins, no plugin settings!)

Restore

Settings

To restore the Settings, copy the desired files from <Backup Path>\Profile to the Joplin directory .config\joplin-desktop.
The exact path can be found in Joplin under Tools > Options > General:

Notes

The notes are imported via File > Import > JEX - Joplin Export File.

Individual notes cannot be restored from the JEX file!

The notes are imported additionally, no check for duplicates is performed. If the notebook in which the note was located already exists in your Joplin, then a "(1)" will be appended to the folder name.

FAQ

Internal Joplin links betwen notes are lost

If several JEX files are imported and the notes have links to each other, these links will be lost. Therefore it is recommended to create a Single JEX Backup!

Combine multiple JEX Files to one

By combining the JEX files into one, the Joplin internal links will work again after the import.

  1. Open one of the JEX files in a ZIP program like 7-Zip
  2. Open a second JEX and add all files to the first JEX
  3. Repeat step 2 for all files
  4. Import first JEX which now contains all notes

Open a JEX Backup file

A Joplin JEX Backup file is a tar archive which can be opened with any zip program that supports TAR archive. The file names in the archive correspond to the Joplin internal IDs.

Are Note History (Revisions) backed up?

The note history and file versions (revisions) are not included in the backup.

Changelog

See CHANGELOG.md

Links

joplin-plugin-backup-fork's People

Contributors

jackgruber avatar wh201906 avatar scriptinfra avatar esryanoakley avatar rwoodpecker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.