PageSourceSearch

https://caprover.com/assets/js/4cad4f0c.e74d468b.js

js caprover.com collected 2026-10-03 19:21:40 UTC 3,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcaprover_docs_site=self.webpackChunkcaprover_docs_site||[]).push([["307"],{3535(e,t,n){n.r(t),n.d(t,{metadata:()=>r,default:()=>p,frontMatter:()=>s,contentTitle:()=>o,toc:()=>i,assets:()=>d});var r=JSON.parse('{"id":"reference/backup-contents","title":"Backup Contents","description":"The backup implementation archives /captain/data and adds meta/backup.json with the CapRover salt and cluster node metadata.","source":"@site/../content/en/docs-next/reference/backup-contents.md","sourceDirName":"reference","slug":"/reference/backup-contents","permalink":"/docs-next/reference/backup-contents","draft":false,"unlisted":false,"editUrl":"https://github.com/caprover/caprover-website/edit/master/content/en/docs-next/reference/backup-contents.md","tags":[],"version":"current","frontMatter":{"id":"backup-contents","title":"Backup Contents","slug":"/reference/backup-contents"},"sidebar":"preview","previous":{"title":"One-Click App Schema","permalink":"/docs-next/reference/one-click-schema"},"next":{"title":"Defaults and Limits","permalink":"/docs-next/reference/defaults-limits"}}'),a=n(4848),c=n(8453);let s={id:"backup-contents",title:"Backup Contents",slug:"/reference/backup-contents"},o,d={},i=[];function l(e){let t={a:"a",code:"code",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,c.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(t.p,{children:["The ",(0,a.jsx)(t.a,{href:"https://github.com/caprover/caprover/blob/master/src/user/system/BackupManager.ts",children:"backup implementation"})," archives ",(0,a.jsx)(t.code,{children:"/captain/data"})," and adds ",(0,a.jsx)(t.code,{children:"meta/backup.json"})," with the CapRover salt and cluster node metadata."]}),"\n",(0,a.jsxs)(t.table,{children:[(0,a.jsx)(t.thead,{children:(0,a.jsxs)(t.tr,{children:[(0,a.jsx)(t.th,{children:"Included"}),(0,a.jsxs)(t.th,{children:["Excluded unless stored inside ",(0,a.jsx)(t.code,{children:"/captain/data"})]})]})}),(0,a.jsx)(t.tbody,{children:(0,a.jsxs)(t.tr,{children:[(0,a.jsxs)(t.td,{children:["Saved CapRover configuration, app definitions, certificates, and self hosted registry data under ",(0,a.jsx)(t.code,{children:"/captain/data/registry"}),"."]}),(0,a.jsx)(t.td,{children:"Docker volumes and host bind mounts elsewhere, database files there, and local Docker image store."})]})})]}),"\n",(0,a.jsxs)(t.p,{children:["The registry exception can make archives large. The restore code looks for ",(0,a.jsx)(t.code,{children:"/captain/backup.tar"})," at initial installation and expands it into ",(0,a.jsx)(t.code,{children:"/captain/restoring"}),". See ",(0,a.jsx)(t.a,{href:"/docs-next/server/backup/contents",children:"What Is Backed Up"})," and ",(0,a.jsx)(t.a,{href:"/docs-next/server/backup/restore",children:"Restore a Server"})," for the full recovery sequence."]})]})}function p(e={}){let{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},8453(e,t,n){n.d(t,{R:()=>s,x:()=>o});var r=n(6540);let a={},c=r.createContext(a);function s(e){let t=r.useContext(c);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(c.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.