Volume archives with retention and a guided restore.
Backups archive a stack’s named volumes into tar.gz files under
data/backups/<project>/<stack>/, each with a manifest.json describing
what’s inside (home-backup/1 format).
How a backup runs
A helper container (alpine) mounts each volume read-only and the backup
target at /backup, then streams a compressed tar out. Services keep
running — take the archive-first approach for databases if you need strict
consistency, or stop the stack first.Run one manually from the Backups tab, or attach a backupschedule to run them on a cron. Retention prunes to
the newest HOME_BACKUP_RETENTION (default 10) archives per stack after
each run.
Restoring
Pick a backup → Restore → confirm. The flow:
Stops the stack’s containers.
Wipes the volumes and streams the archive back in (replace mode) or
merges it over the current contents.
Restarts the containers.
Progress and failures show inline under the backup row. Volumes the archive
doesn’t cover are untouched.
Replace mode deletes the volume’s current contents. Keep a fresh
backup before restoring over anything you can’t rebuild.
In a container, set the host paths
When Home itself runs in Docker it needs two env vars so helper containers
mount the right directories — the installer sets both:
HOME_HOST_DATA_DIR — host path of the /data bind mount
HOME_BACKUP_VOLUME — host path of the backups dir (must resolve to
<host data dir>/backups)
Without them, backups and the volume file browser can’t mount volumes
inside a container. See configuration.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Home","description":"Self-hosted homelab control plane — desktop, compose stacks, domains, backups and an MCP server in one app.","colors":{"primary":"#111111"},"appearance":{"default":"dark"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"home-app","hasAudioNarration":false,"actualSubdomain":"home-app","customDomains":[],"gitSource":{"type":"github","owner":"uhalexz","repo":"homeapp","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":"","_id":"6b0b065ca1d758d23d059ea5"},"entitlements":{},"buildId":"6b0b181fdc06a69e739b86c8","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"Docs","count":16},{"language":"default","tag":"Using Home","count":8},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Modules","count":3},{"language":"default","tag":"Help","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"features/backups","slug":"/features/backups","pageMetadata":{"title":"Backups","description":"Volume archives with retention and a guided restore.","href":"/features/backups"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Volume archives with retention and a guided restore.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Backups archive a stack’s named volumes into `,_jsx(_components.code,{children:`tar.gz`}),` files under\n`,_jsx(_components.code,{children:`data/backups/\u003cproject>/\u003cstack>/`}),`, each with a `,_jsx(_components.code,{children:`manifest.json`}),` describing\nwhat’s inside (`,_jsx(_components.code,{children:`home-backup/1`}),` format).`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-a-backup-runs`,children:`How a backup runs`}),`\n`,_jsxs(_components.p,{children:[`A helper container (alpine) mounts each volume read-only and the backup\ntarget at `,_jsx(_components.code,{children:`/backup`}),`, then streams a compressed tar out. Services keep\nrunning — take the archive-first approach for databases if you need strict\nconsistency, or stop the stack first.`]}),`\n`,_jsxs(_components.p,{children:[`Run one manually from the `,_jsx(_components.strong,{children:`Backups`}),` tab, or attach a `,_jsx(_components.code,{children:`backup`}),`\n`,_jsx(_components.a,{href:`/features/schedules`,children:`schedule`}),` to run them on a cron. Retention prunes to\nthe newest `,_jsx(_components.code,{children:`HOME_BACKUP_RETENTION`}),` (default 10) archives per stack after\neach run.`]}),`\n`,_jsx(Heading,{level:`2`,id:`restoring`,children:`Restoring`}),`\n`,_jsxs(_components.p,{children:[`Pick a backup → `,_jsx(_components.strong,{children:`Restore`}),` → confirm. The flow:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Stops the stack’s containers.`}),`\n`,_jsx(_components.li,{children:`Wipes the volumes and streams the archive back in (replace mode) or\nmerges it over the current contents.`}),`\n`,_jsx(_components.li,{children:`Restarts the containers.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Progress and failures show inline under the backup row. Volumes the archive\ndoesn’t cover are untouched.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Replace mode `,_jsx(_components.strong,{children:`deletes the volume’s current contents`}),`. Keep a fresh\nbackup before restoring over anything you can’t rebuild.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`in-a-container-set-the-host-paths`,children:`In a container, set the host paths`}),`\n`,_jsx(_components.p,{children:`When Home itself runs in Docker it needs two env vars so helper containers\nmount the right directories — the installer sets both:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`HOME_HOST_DATA_DIR`}),` — host path of the `,_jsx(_components.code,{children:`/data`}),` bind mount`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`HOME_BACKUP_VOLUME`}),` — host path of the backups dir (must resolve to\n`,_jsx(_components.code,{children:`\u003chost data dir>/backups`}),`)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Without them, backups and the volume file browser can’t mount volumes\ninside a container. See `,_jsx(_components.a,{href:`/configuration`,children:`configuration`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Backups","description":"Volume archives with retention and a guided restore.","href":"/features/backups"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How a backup runs","slug":"how-a-backup-runs","depth":2,"children":[]},{"title":"Restoring","slug":"restoring","depth":2,"children":[]},{"title":"In a container, set the host paths","slug":"in-a-container-set-the-host-paths","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"home-app","siteName":"Home","title":"Backups - Home","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-28T16:51:39.170Z","originalFileLocation":"features/backups.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Volume archives with retention and a guided restore.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Home\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/home-app/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/home-app/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/home-app/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/home-app/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Backups - Home\">\u003cmeta data-mint-head property=\"og:description\" content=\"Volume archives with retention and a guided restore.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Home\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://home-app.mintlify.app/features/backups\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://home-app.mintlify.site/_mintlify/api/og/v2?division=Using+Home\u0026amp;title=Backups\u0026amp;description=Volume+archives+with+retention+and+a+guided+restore.\u0026amp;theme=66a529f26568c65e5b630301\u0026amp;signature=fe675065991b8eec2ad5546fe252bb1b0e0175274994c602f9e61a13882db633\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Backups - Home\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Volume archives with retention and a guided restore.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://home-app.mintlify.site/_mintlify/api/og/v2?division=Using+Home\u0026amp;title=Backups\u0026amp;description=Volume+archives+with+retention+and+a+guided+restore.\u0026amp;theme=66a529f26568c65e5b630301\u0026amp;signature=fe675065991b8eec2ad5546fe252bb1b0e0175274994c602f9e61a13882db633\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/home-app/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Home\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://home-app.mintlify.app/features/backups\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/backups.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://home-app.mintlify.app/#organization\",\"name\":\"Home\",\"url\":\"https://home-app.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://home-app.mintlify.app#website\",\"name\":\"Home\",\"url\":\"https://home-app.mintlify.app\",\"publisher\":{\"@id\":\"https://home-app.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://home-app.mintlify.app/features/backups#webpage\",\"url\":\"https://home-app.mintlify.app/features/backups\",\"name\":\"Backups\",\"description\":\"Volume archives with retention and a guided restore.\",\"dateModified\":\"2026-11-28T16:51:39.170Z\",\"isPartOf\":{\"@id\":\"https://home-app.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://home-app.mintlify.app/features/backups#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://home-app.mintlify.app/features/backups#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Using Home\",\"item\":\"https://home-app.mintlify.app/features/projects\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backups\",\"item\":\"https://home-app.mintlify.app/features/backups\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://home-app.mintlify.app/features/backups#article\",\"headline\":\"Backups\",\"name\":\"Backups\",\"description\":\"Volume archives with retention and a guided restore.\",\"url\":\"https://home-app.mintlify.app/features/backups\",\"mainEntityOfPage\":{\"@id\":\"https://home-app.mintlify.app/features/backups#webpage\"},\"dateModified\":\"2026-11-28T16:51:39.170Z\",\"publisher\":{\"@id\":\"https://home-app.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://home-app.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Home\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Home\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/backups.md","siteName":"Home","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Configuration","href":"/configuration"},{"title":"Self-hosting","href":"/self-hosting"}]},{"group":"Using Home","pages":[{"title":"Projects \u0026 stacks","href":"/features/projects"},{"title":"Deployments","href":"/features/deployments"},{"title":"Domains","description":"Reach your services — host ports, Cloudflare Tunnel, or Tailscale Serve and Funnel.","href":"/features/domains"},{"title":"Backups","href":"/features/backups"},{"title":"Schedules","description":"Cron jobs for redeploys, restarts, pulls, backups, commands and cleanup.","href":"/features/schedules"},{"title":"File manager","href":"/features/file-manager"},{"title":"Notifications \u0026 updates","href":"/features/notifications"},{"title":"Debloat","href":"/features/debloat"}]},{"group":"Modules","pages":[{"title":"Minecraft","href":"/features/minecraft"},{"title":"Importers","href":"/features/importers"},{"title":"MCP server","href":"/mcp-server"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/troubleshooting"}]}]}]},"basePath":"","title":"Backups - Home","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":[],"chunks":[]}