Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Differential ZIP Backup

vrtmrzvrtmrz12k downloads

Back our vault up with lesser storage.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates23

screenshot

This is a vault backup plugin for Obsidian.

We can store all the files which have been modified, into a ZIP file.

Installation

  1. Install this plug-in from Community Plugins.

How to use

Making backup

  1. Perform Create Differential Backup from the command palette.
  2. We will get backupinfo.md and a zip file YYYY-MM-DD-SECONDS.zip in the backup folder
    • backup folder can be configured in the settings dialogue.

Restore a file

  1. Perform Restore from backups from the command palette.
  2. Select the file you want to restore.
  3. Select the backup you want to restore.
  4. Select the place to save the restored file.
  5. We got an old file.

Selective Sync (Lightweight Synchronisation)

This is now a practical sync workflow, not only a one-way mirror. We can decide action per file as None, Fetch (take remote to local), or Send (treat current local as source and create new backup entries). Fetch is executed first, then Send is executed. If any fetch operation fails, send phase is stopped to keep consistency.

When send is selected, files are grouped into multiple ZIPs while respecting both limits (Max files in a single zip and Max total source size in a single ZIP in MB). The TOC is updated sequentially per committed ZIP. If TOC update fails, just-created ZIP files are rolled back as much as possible.

  1. Perform Selective Sync Remote Backup from the command palette.
  2. Select each file action (None, Fetch, or Send).
  3. Perform Apply to run the selected sync operations.

Settings

General

Key Description
Start backup at launch When the plug-in has been loaded, Differential backup will be created automatically.
Auto backup style Check differences to... Full to all files, Only new to the files which were newer than the backup, Non-destructive as same as Only new but not includes the deletion.
Include hidden folder Backup also the configurations, plugins, themes, and, snippets.
Default destructive sync actions On selective sync screen, when enabled, Delete defaults to Fetch and Extra (Delete) defaults to Send.
Backup Destination Where to save the backup Inside the vault, Anywhere (Desktop only), and S3 bucket are available. Anywhere is on the bleeding edge. Not safe. Only available on desktop devices.
Restore folder The folder which restored files will be stored.
Max files in a single zip How many files are stored in a single ZIP file.
Perform all files over the max files Automatically process the remaining files, even if the number of files to be processed exceeds Max files.
ZIP splitting size An large file are not good for handling, so this plug-in splits the backup ZIP into this size. This splitted ZIP files can be handled by 7Z or something archiver.

On Inside the vault

Key Description
Backup folder The folder which backups are stored. We can choose only the folder inside the vault.

On Anywhere (Desktop only)

Key Description
Backup folder (desktop) The folder which backups are stored (if enabling Use Desktop Mode). We can choose any folder (Absolute path recommended).

On S3 Compatible bucket

Key Description
Endpoint The endpoint of the S3 bucket.
AccessKey The access key ID of the S3 bucket.
SecretKey The secret access key of the S3 bucket.
Region The region of the S3 bucket.
Bucket The name of the S3 bucket.
Use Custom HTTP Handler Use a custom HTTP handler for S3. This is useful for mobile devices services.
Backup folder The folder which backups are stored. We can choose only the folder inside the bucket.

Buttons

  • Test: Test the connection to the S3 bucket.
  • Create Bucket: Create a bucket in the S3 bucket.

Tools

Here are some tools to manage settings among your devices.

Key Description
Passphrase Passphrase for encrypting/decrypting the configuration. Please write this down as it will not be saved.
Copy setting to another device via URI When the button is clicked, the URI will be copied to the clipboard. Paste it to another device to copy the settings.
Paste setting from another device Paste the URI from another device to copy the settings, and click Apply button.

Misc

Reset Backup Information

If you want to make a full backup, you can reset the backup information. This will make all files to be backed up.

Encryption

If you configure the passphrase, the ZIP file will be encrypted by AES-256-CBC with the passphrase.

[!IMPORTANT] Not compatible with the encrypted zip file. We have to decrypt the file by OpenSSL, without this plug-in. Decryption command is openssl enc -d -aes-256-cbc -in <encrypted file> -out <decrypted file> -k <passphrase> -pbkdf2 -md sha256.

What is backupinfo.md?

This markdown file contains a list of file information. The list is stored as YAML. backupinfo.md is also stored in each Zip file. For the sake of simplicity, suppose we have three files, make a backup, change one of the files and make another backup.

Then we get the following.

Untitled.md:
  digest: 452438bd53ea864cdf60269823ea8222366646c14f0f1cd450b5df4a74a7b19b
  filename: Untitled.md
  mtime: 1703656274225
  history:
    - zipName: 2023-12-28-41265.zip
      modified: 2023-12-27T05:51:14.225Z
  storedIn: 
Untitled 2.md:
  digest: 7241f90bf62d00fde6e0cf2ada1beb18776553ded5233f97f0be3f7066c83530
  filename: Untitled 2.md
  mtime: 1703656274225
  history:
    - zipName: 2023-12-28-41265.zip
      modified: 2023-12-27T05:51:14.225Z
Untitled 1.md:
  digest: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  filename: Untitled 1.md
  mtime: 1708498190402
  history:
    - zipName: 2023-12-28-41265.zip
      modified: 2023-12-27T05:51:14.225Z
    - zipName: 2024-2-21-56995.zip
      modified: 2024-02-21T06:49:50.402Z

The following entries are important.

key value
digest SHA-1 of the file. DZB detects all changes by this hash.
history Archived ZIP file name and Timestamp at the time.

Note: Modified time has been stored due to the lack of resolution of the ZIP file, but this is information for us.

ZIP files

We will get the following zip files.

2023-12-28-41265.zip 2024-2-21-56995.zip
Untitled.md
Untitled 1.md
Untitled 2.md Untitled 1.md
backupinfo.md backupinfo.md

As the astute will have noticed, we can pick the ZIP that contains the file we want from only the latest one without any special tool!


License: MIT

HealthExcellent
ReviewSatisfactory
About
Create differential ZIP backups of modified vault files and generate a backupinfo.md manifest. Trigger automatic backups on launch, store archives inside the vault, on desktop folders or S3, split large archives, and restore individual files from chosen backups. Lightweight synchronisation is also available.
BackupFilesSyncing
Details
Current version
0.1.6
Last updated
Last week
Created
2 years ago
Updates
23 releases
Downloads
12k
Compatible with
Obsidian 1.8.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
vrtmrzvrtmrz
github.com/vrtmrz
GitHubvrtmrz
  1. Community
  2. Plugins
  3. Backup
  4. Differential ZIP Backup

Related plugins

WebDAV Sync

General-purpose & bidirectional WebDAV syncing for your vault. Designed for stability and robust file handling without vendor lock-in.

GitHub

GitHub Sync

Sync vault to personal GitHub.

YAOS

Simple real-time sync powered by your own Cloudflare Worker.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Nutstore Sync

Sync your vault with Nutstore (Jianguoyun) using WebDAV protocol.

Remotely Save

Sync notes between local and cloud with smart conflict: S3, Dropbox, webdav, OneDrive, Google Drive, Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.