README file from
GithubVault 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
zipis installed; Windows isn't supported yet. - One of these programs to create the ZIP:
zip,7zorbsdtar. Most Linux distributions shipzip; otherwise install it, for examplesudo apt install zip. - Optional, to test the new ZIP:
7zorunzip. Without them the ZIP is created but not tested. - Obsidian installed as a Flatpak:
zipinside the sandbox fails on file names with accents, so the plugin uses7zorbsdtarthere instead. External drives under/mediaor/run/mediamust be visible to the sandbox.
Usage
- 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.
- Select the backup icon in the ribbon, or run Open backup panel from the command palette.
- 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,bsdtarorunzipinstalled on your computer to create and test the ZIP. It doesn't install anything.