Vault ZIP Backup

by matteo
5
4
3
2
1
Score: 50/100

Description

Obsidian plugin: verified ZIP backups of your vault, locally and on external drives.

Reviews

No reviews yet.

Stats

0
stars
30
downloads
0
forks
9
days
9
days
9
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
1
commits

Latest Version

9 days ago

Changelog

First release: verified ZIP backups of the vault, locally and on up to two external drives, keeping the 3 newest copies in each place.

README file from

Github

Vault ZIP Backup

Create a ZIP backup of your whole vault with one click, then copy it to up to two external drives. Every copy is verified before it counts, and only the 3 newest backups are kept in each place.

Features

  • Backup panel with a slider to pick the destination: local or local/external.
  • Local backup: a ZIP of the vault saved in .backup/ inside the vault, tested after it's created.
  • External backup: the same ZIP copied to external drive 1 (required) and external drive 2 (optional). Each copy is written to a temporary file, compared with the original by SHA-256 and only then renamed.
  • If a drive isn't connected, you get a notice and the backup continues on the other destinations.
  • Old backups are pruned automatically: the 3 newest ZIPs are kept in each folder. Only files created by this plugin (<vault-name>-YYYY-MM-DD-HH-MM-SS.zip) are ever deleted.
  • A progress card shows each step, even if you close the panel.
  • Commands: Open backup panel, Create local backup, Create local and external drive backup. Assign hotkeys in Settings → Hotkeys.

Requirements

  • Desktop only. Tested on Linux. macOS may work if zip is installed; Windows isn't supported yet.
  • One of these programs to create the ZIP: zip, 7z or bsdtar. Most Linux distributions ship zip; otherwise install it, for example sudo apt install zip.
  • Optional, to test the new ZIP: 7z or unzip. Without them the ZIP is created but not tested.
  • Obsidian installed as a Flatpak: zip inside the sandbox fails on file names with accents, so the plugin uses 7z or bsdtar there instead. External drives under /media or /run/media must be visible to the sandbox.

Usage

  1. Open Settings → Vault ZIP Backup and choose the folder on external drive 1 (and optionally drive 2). The folder must be outside the vault and on a different file system.
  2. Select the backup icon in the ribbon, or run Open backup panel from the command palette.
  3. Drag the slider to the destination you want and select Backup.

Privacy and disclosures

  • No network use. The plugin never connects to the internet and has no telemetry.
  • Files outside the vault. The plugin writes backups to the external drive folders you choose in the settings, and deletes older backups it created there. It doesn't read or change anything else outside the vault.
  • External programs. It runs zip, 7z, bsdtar or unzip installed on your computer to create and test the ZIP. It doesn't install anything.

License

MIT