laantorchaweb1k downloadsClones the current vault by copying settings and folder structure without note contents.
Easily create a new Obsidian vault by duplicating your current vault’s settings, folder structure, and selectively copying specific folders (like templates or other important resources).
✅ Clones your vault’s settings folder (e.g., .obsidian or a custom folder if renamed), preserving your full workspace configuration
✅ Preserves the folder structure of your vault
✅ Optionally copies the contents of selected folders – great for things like templates, snippets, or assets
✅ Handy modal prompt to name and create your new vault
✅ Configurable default location for new vaults
Obsidian stores each vault’s settings (plugins, themes, hotkeys, workspace layout, etc.) in a settings folder — typically named .obsidian. However, some advanced users may rename this folder using custom configurations.
🔹 Clone Vault automatically detects and copies the correct settings folder, whether it’s named .obsidian or something else, ensuring the new vault behaves exactly like the original.
By default, Clone Vault preserves the folder structure of your vault but doesn’t copy file contents. You can, however, specify which folders should be copied along with their files.
How to Specify Folders to Copy 1. Open Obsidian Settings → Clone Vault plugin settings.
In the “Folders to Copy” field, enter a comma-separated list of folder names (e.g., Templates, Snippets, Assets).
When creating a new vault, Clone Vault will copy the contents of those folders into the new vault.
💡 Example:
If your vault has this structure:
📂 MyVault
├── .obsidian/
├── Templates/
│ ├── Meeting Notes.md
│ ├── Journal.md
├── Snippets/
│ ├── CustomCSS.css
├── Assets/
│ ├── Logo.png
│ ├── Background.jpg
├── Notes/
And you enter Templates, Snippets in the plugin settings, your new vault will contain:
📂 NewVault
├── .obsidian/ (or custom settings folder, cloned automatically)
├── Templates/ (Includes Meeting Notes.md, Journal.md)
├── Snippets/ (Includes CustomCSS.css)
├── Assets/ (Empty – not copied)
├── Notes/ (Empty – structure only, unless included in the list)
To install and build this plugin for local use:
Clone the Repository
git clone https://github.com/laantorchaweb/clone-vault.git
cd clone-vault
Install Dependencies
Make sure you have Node.js installed, then run:
npm install
Build the Plugin
Compile the TypeScript code into a main.js file:
npm run build
Install the Plugin in your Obsidian vault
.obsidian/plugins/ directory.clone-vault.manifest.jsonmain.jsEnable the Plugin