Local Backup

by velviagris
5
4
3
2
1
Score: 48/100

Description

The Local Backup plugin creates local vault backups on startup, on quit and at scheduled intervals, with separate output path settings for Windows and Unix environments. It supports include and exclude patterns with wildcard matching, so you can back up the whole vault, limit backups to selected folders and files or exclude specific paths after inclusion is applied. The plugin can retry failed runs, create one off backup files that are kept outside the normal cleanup cycle and manage backup retention through lifecycle settings. For large vaults it also offers an optional external archiver workflow for tools such as 7-Zip, WinRAR and Bandizip when direct backup work causes the app to stall.

Reviews

No reviews yet.

Stats

stars
84,279
downloads
0
forks
22
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Local Backup

中文说明

GitHub Github all releases GitLab latest release CodeQL

Automatically creates a local backup of the vault.

Features

  • Backup on startup
  • Backup on quit
  • Setup backups' lifecycle
  • Customize output path
  • Interval backups
  • Backup by calling archiver (7-Zip, WinRAR, Bandizip)
  • Retry after failures
  • Create specific file
  • Ignore folders and files using wildcards
  • Back up only selected folders and files using wildcards

How to use

Setup the plugin

General Settings

general-settings-1 general-settings-2

Hints
  1. Setup the output path depends on your computer platform.
  2. Setup the Windows and Unix output path while you using these two platforms.
  3. Included directories and Excluded directories both accept comma-separated values and support the same wildcard matching rules.
  4. If Included directories is empty, the whole vault is backed up before exclusions are applied.
  5. If Included directories is set, only matching folders and files are backed up, then Excluded directories can be used to remove matches from that result.

If you turn on interval backups, it is recommended to set a reasonable bakcup frequency, e.g. >=10min, this plugin costs CPU resources and Disk I/O resources, backup frequently might cause lagging.

Include and exclude examples
  • Back up only the Obsidian config folder: set Included directories to .obsidian
  • Back up only selected content: set Included directories to .obsidian, Templates, *.canvas
  • Back up the whole vault except some paths: leave Included directories empty and set Excluded directories to .git, .trash, node_modules, *.mp4
  • Combine both filters: set Included directories to .obsidian, Templates and Excluded directories to workspace.json
File Archiver Settings (Optional)

file-archiver-settings

Hints
  1. (Experimental) If you have a large size vault and Obsidian stucks on backing up, please try the experimental feature in setting page.

For user who owns a vault with large size, it is recommended to turn on External file archiver backup in setting page, the experimental feature of the latest version, then setup the rest of settings of archiver.

Run a local backup command

Command panel

Enter the command panel using Ctrl + P.

run-command

Create a specific backup

As you can see in the command panel screenshot above, you are available to create a specific backup file if you want to keep the file. The file created by this command would not delete by the plugin. But you have to name it different from the File name setting. (eg. File name: dev-Backup-%Y_%m_%d-%H_%M_%S, and your specific file name should not be the same format as File name).

Sidebar icon

Click the sidebar icon.

sidebar-icon

Installation

Install from plugin store

  • Search Local Backup at Obsidian Community Plugins and install it.
  • Enable Local Backup.
  • Setup Local Backup.
  • Apply settings or restart Obsidian.
  • Enjoy! 🎉

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.
  • Open Obsidian and enable Local Backup.
  • Follow the guiding above.

Contributing

Build

Code contributing is welcome! Just make a PR to master branch directly:)

  • Clone this repo.
  • Make sure your NodeJS is at least v16 (node --version).
  • npm i or yarn to install dependencies.
  • npm run dev to start compilation in watch mode.
  • npm run build to build the main.js in ./build.

Reference

Sponsor this project

You could consider buy me a coffee if the plugin saves your time!

ko-fi

License

Obsidian Local Backup is licensed under the MIT license. Refer to LICENSE for more information.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Binary File Manager
5 years ago by qawatake
An Obsidian plugin to manage binary files
Screwdriver
4 years ago by vorotamoroz
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Packrat
4 years ago by Thomas Herden
Process completed instances of recurring items created by the Obsidian Tasks plugin
File Hider
4 years ago by Oliver Akins
A plugin for https://obsidian.md that allows hiding specific files and folders from the file explorer.
Open File by Magic Date
4 years ago by simplgy
HTML Reader
4 years ago by Nuthrash
This is a plugin for Obsidian (https://obsidian.md). Can open document with .html and .htm file extensions.
Update Relative Links
4 years ago by val
Trash Explorer
4 years ago by Per Mortensen
Restore and delete files from the Obsidian .trash folder
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
File chucker
4 years ago by Ken Lim
File Order
3 years ago by lukasbach
Obsidian plugin to reorder files with drag-and-drop by customizing a number-prefix in the filenames
Cron
3 years ago by Callum Loh
Obsidian cron / schedular plugin to schedule automatic execution of commands
Dynamic Timetable
3 years ago by L7Cy
Calculate the estimated completion time from the estimated task time and dynamically create a timetable.
Telegram Sync
3 years ago by Burtasov Volodymyr
Transfer messages and files from Telegram to Obsidian
Note archiver
3 years ago by thenomadlad
Edit History
3 years ago by Antonio Tejada
Obsidian Edit History Plugin, automatically save all the edit history of a note, browse and restore previous versions
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
Update frontmatter modified date
3 years ago by Alan Grainger
Automatically update a frontmatter/YAML modified date field
Webdav File Explorer
3 years ago by red0orange
Copy Metadata
3 years ago by wenlzhang
An Obsidian plugin to copy metadata to clipboard and insert it into file name.
Auto Archive
3 years ago by Shane Burke
Auto Archive plugin for Obsidian
Merge Notes
3 years ago by fnya
Merge Notes is Plugin for Obsidian
VSCode Editor
3 years ago by Sun Xvming
Edit Code Files like VSCode in Obsidian.
Auto Filename
3 years ago by rcsaquino
Auto Filename is an Obsidian.md plugin that automatically renames files in Obsidian based on the first x characters of the file, saving you time and effort.
Remove Empty Folders
3 years ago by fnya
Remove Empty Folders for Obsidian
Disk Usage
3 years ago by Promptier
Obsidian plugin to measure disk usage for tracking size of folders, file types and plugins
Git File Explorer
3 years ago by Mateus Molina
Git Integration
2 years ago by noradroid
Obsidian plugin to add git integration
Simple Image Inserter
2 years ago by Joey Holtzman
Add images from the file system into Obsidian notes through a built-in file explorer
Differential ZIP Backup
2 years ago by vorotamoroz
Vault Transfer
2 years ago by ImaginaryProgramming
Transfers a note from one vault to another.
BackItUp
2 years ago by Hammad Javed
🟣 Quickly make a copy or snapshot of a note in Obsidian.
S3agle
2 years ago by Turner Monroe (turnercore)
Notes 2 Tweets
2 years ago by Tejas Sharma
Generate and schedule tweets automatically from your notes on Obsidian
File Preview
2 years ago by Huajin
Add file preview contents under file in file explorer.
Guid Renamer
2 years ago by Taskscape LTD, Kacper Pabianiak
Renames the currently selected file by providing a unique file name based on GUID pattern
NSFW filter
2 years ago by catvatar
Obsidian Plugin adding a button to toggle visiblity of NSFW notes
sync-db-os
2 years ago by ketd
External File Card
2 years ago by James-Yu
A plugin for Obsidian showing a card displaying basic information of a file in pre-defined folders.
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Link indexer
6 years ago by Yuliya Bagriy
Unique attachments
5 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Aut-O-Backups
5 years ago by ryanpcmcquen
Automated backups to Dropbox for Obsidian.
Luhman
5 years ago by Dylan Elliott
Better File Link
5 years ago by Marc Julian Schwarz
A plugin for the note taking app Obsidian to add better external file links to your notes.
Update time on edit
5 years ago by beaussan
Link Archive
5 years ago by Tamás Deme
Link Archive plugin for Obsidian
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Cloudinary Uploader
5 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Reveal Active File Button
5 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Remotely Save
5 years ago by fyears
Sync notes between local and cloud with smart conflict: S3 (Amazon S3/Cloudflare R2/Backblaze B2/...), Dropbox, webdav (NextCloud/InfiniCLOUD/Synology/...), OneDrive, Google Drive (GDrive), Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Recently Added Files
2 years ago by Lemon695
List files by last added, includes pictures, pdfs, etc.
Google Drive Sync
2 years ago by Richard Xiong
A plugin to make Obsidian work in Google Drive to enable access to iOS.
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Inbox Organiser
2 years ago by Jamie Hurst
Obsidian plugin to capture any new notes into an inbox and periodically prompt to organise these into other folders within the vault.
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Tencent COS for Imgur
2 years ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
External Rename Handler
2 years ago by mnaoumov
Obsidian Plugin that handles external renames made outside of the app
New Filename
2 years ago by Amin Sennour
Simple plugin to change the default name for a new note from "Untitled" to a UUID.
WhatsApp backup importer
2 years ago by Luigi Cerone
Obsidian plugin that allows you to import exported WhatsApp chat archives (in .zip format) into your vault.
New Note Fixer
2 years ago by mnaoumov
Obsidian Plugin that unifies the way non-existing notes are created when clicking on their links
Media Companion
2 years ago by Nick de Bruin
VaultSync
a year ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
Simple Archiver
a year ago by Mike Farr
An Obsidian plugin that enables you to quickly archive a single note or an entire folder of notes.
Rename File to Selection
a year ago by Aava
Rename your file to the current text selection.
CSV Lite
a year ago by Jay Bridge
Simple enough for csv, no more fancy function you need to learn and think!
Wayback Archiver
a year ago by ISHIZUE
Obsidian plugin which automatically archives web links via Wayback Machine and appends archived versions in notes.
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Daily Task Auto Generator
a year ago by maigamo
📝 Obsidian Daily Task Auto Generator | Automated Daily Notes • Multilingual Support • Custom Templates | A powerful plugin designed for Obsidian users to automatically generate structured daily task notes, helping you maintain a consistent and focused workflow with minimal effort.
Remote Fetch
a year ago by Shaharyar
WebDAV Explorer
5 months ago by 蓝星晓夜
WebDAV Explorer: Connect to WebDAV server, preview files directly in web view, and generate links through simple drag-and-drop.
Graphic Organizer
5 months ago by Nick Le Guillou - Superhuman Curiosity
Interactive tree view for visualizing and managing your vault's file hierarchy.
File Explorer Reload
3 months ago by mnaoumov
This plugin has not been manually reviewed by Obsidian staff. Reloads file explorer pane
Nixsync
3 months ago by rowmayne
This plugin has not been manually reviewed by Obsidian staff. Export and import vault settings and plugins as Nix.
File Explorer++
3 months ago by kelszo
Hide and pin files and folders in the file explorer using custom filters.
Enhance Copy Note
a month ago by kzhovn
Add commands to copy active note and copy folders.
Social Archiver
a month ago by Jun Lim
Archive social media posts from various platforms. - This plugin has not been manually reviewed by Obsidian staff.
Fast Note Sync
a month ago by HaierKeys
Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base. - This plugin has not been manually reviewed by Obsidian staff.
Copy Contents
20 days ago by Richard Jones
Copy or export file and folder contents in Markdown, plain text, or JSON formats. - This plugin has not been manually reviewed by Obsidian staff.
Attachment Organizer
16 days ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations. - This plugin has not been manually reviewed by Obsidian staff.
Notebook Navigator
15 days ago by Johan Sanneblad
A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.
Store
10 days ago by shimeoki
Manage your notes within a single store. - This plugin has not been manually reviewed by Obsidian staff.
Daily News Briefing
6 days ago by Adam Chen
Get AI-powered daily news summaries in your vault. Features customizable topics, smart filtering, and automated scheduling.
Note Types
6 days ago by jsmorabito
Define note types with creation commands, filtered file pickers, hover previews, styled wikilinks, and a sidebar widget. - This plugin has not been manually reviewed by Obsidian staff.