[{"data":1,"prerenderedAt":1631},["ShallowReactive",2],{"navigation_docs":3,"-docs-core-operations-backup-and-restore":478,"-docs-core-operations-backup-and-restore-surround":1626},[4,352,446],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Docs",false,"\u002Fdocs\u002Fcore","docs\u002F1.core",[10,35,141,174,195,212,242,318],{"title":11,"icon":6,"path":12,"stem":13,"children":14,"page":6},"Getting Started","\u002Fdocs\u002Fcore\u002Fgetting-started","docs\u002F1.core\u002F1.getting-started",[15,19,23,27,31],{"title":16,"path":17,"stem":18},"Introduction","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fintroduction","docs\u002F1.core\u002F1.getting-started\u002F1.introduction",{"title":20,"path":21,"stem":22},"Quick Start","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fquick-start","docs\u002F1.core\u002F1.getting-started\u002F2.quick-start",{"title":24,"path":25,"stem":26},"Add to an Existing Site","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fexisting-site","docs\u002F1.core\u002F1.getting-started\u002F3.existing-site",{"title":28,"path":29,"stem":30},"Configuration","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration","docs\u002F1.core\u002F1.getting-started\u002F4.configuration",{"title":32,"path":33,"stem":34},"How Tenon works","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fhow-tenon-works","docs\u002F1.core\u002F1.getting-started\u002F5.how-tenon-works",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Content Modeling","\u002Fdocs\u002Fcore\u002Fcontent-modeling","docs\u002F1.core\u002F2.content-modeling",[40,44,111,115,119],{"title":41,"path":42,"stem":43},"Collections and Globals","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fcollections-and-globals","docs\u002F1.core\u002F2.content-modeling\u002F1.collections-and-globals",{"title":45,"icon":6,"path":46,"stem":47,"children":48},"Fields","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002Findex",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Array","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Farray","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F01.array",{"title":56,"path":57,"stem":58},"Blocks","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fblocks","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F02.blocks",{"title":60,"path":61,"stem":62},"Boolean","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fboolean","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F03.boolean",{"title":64,"path":65,"stem":66},"Date","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fdate","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F04.date",{"title":68,"path":69,"stem":70},"File","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ffile","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F05.file",{"title":72,"path":73,"stem":74},"Group","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fgroup","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F06.group",{"title":76,"path":77,"stem":78},"Image","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fimage","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image",{"title":80,"path":81,"stem":82},"Link","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Flink","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F08.link",{"title":84,"path":85,"stem":86},"Number","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fnumber","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F09.number",{"title":88,"path":89,"stem":90},"Relation","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frelation","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F10.relation",{"title":92,"path":93,"stem":94},"Rich text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frich-text","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text",{"title":96,"path":97,"stem":98},"Select","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fselect","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select",{"title":100,"path":101,"stem":102},"Size","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fsize","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F13.size",{"title":104,"path":105,"stem":106},"Slug","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fslug","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F14.slug",{"title":108,"path":109,"stem":110},"Text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ftext","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F15.text",{"title":112,"path":113,"stem":114},"Relations","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Frelations","docs\u002F1.core\u002F2.content-modeling\u002F3.relations",{"title":116,"path":117,"stem":118},"Media","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia","docs\u002F1.core\u002F2.content-modeling\u002F4.media",{"title":120,"icon":6,"path":121,"stem":122,"children":123},"Presets","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002Findex",[124,125,129,133,137],{"title":50,"path":121,"stem":122},{"title":126,"path":127,"stem":128},"Menu","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fmenu","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F1.menu",{"title":130,"path":131,"stem":132},"Pages","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fpages","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F2.pages",{"title":134,"path":135,"stem":136},"Settings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fsettings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F3.settings",{"title":138,"path":139,"stem":140},"Strings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fstrings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F4.strings",{"title":142,"icon":6,"path":143,"stem":144,"children":145,"page":6},"Working with Content","\u002Fdocs\u002Fcore\u002Fworking-with-content","docs\u002F1.core\u002F3.working-with-content",[146,150,154,158,162,166,170],{"title":147,"path":148,"stem":149},"Reading","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Freading","docs\u002F1.core\u002F3.working-with-content\u002F1.reading",{"title":151,"path":152,"stem":153},"Writing and Drafts","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fwriting","docs\u002F1.core\u002F3.working-with-content\u002F2.writing",{"title":155,"path":156,"stem":157},"Scheduled publishing","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fscheduled-publishing","docs\u002F1.core\u002F3.working-with-content\u002F3.scheduled-publishing",{"title":159,"path":160,"stem":161},"HTTP API and Client","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhttp-api-and-client","docs\u002F1.core\u002F3.working-with-content\u002F4.http-api-and-client",{"title":163,"path":164,"stem":165},"Headless","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fheadless","docs\u002F1.core\u002F3.working-with-content\u002F5.headless",{"title":167,"path":168,"stem":169},"Localization","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Flocalization","docs\u002F1.core\u002F3.working-with-content\u002F6.localization",{"title":171,"path":172,"stem":173},"Hooks","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhooks","docs\u002F1.core\u002F3.working-with-content\u002F7.hooks",{"title":175,"icon":6,"path":176,"stem":177,"children":178,"page":6},"Building Your Site","\u002Fdocs\u002Fcore\u002Fbuilding-your-site","docs\u002F1.core\u002F4.building-your-site",[179,183,187,191],{"title":180,"path":181,"stem":182},"Pages and SEO","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fpages-and-seo","docs\u002F1.core\u002F4.building-your-site\u002F1.pages-and-seo",{"title":184,"path":185,"stem":186},"Components","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents","docs\u002F1.core\u002F4.building-your-site\u002F2.components",{"title":188,"path":189,"stem":190},"Menus","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fmenus","docs\u002F1.core\u002F4.building-your-site\u002F3.menus",{"title":192,"path":193,"stem":194},"Live Preview","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview","docs\u002F1.core\u002F4.building-your-site\u002F4.live-preview",{"title":196,"icon":6,"path":197,"stem":198,"children":199,"page":6},"Users and Access","\u002Fdocs\u002Fcore\u002Fusers-and-access","docs\u002F1.core\u002F5.users-and-access",[200,204,208],{"title":201,"path":202,"stem":203},"Authentication","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication","docs\u002F1.core\u002F5.users-and-access\u002F1.authentication",{"title":205,"path":206,"stem":207},"Access Control","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Faccess-control","docs\u002F1.core\u002F5.users-and-access\u002F2.access-control",{"title":209,"path":210,"stem":211},"API Keys","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fapi-keys","docs\u002F1.core\u002F5.users-and-access\u002F3.api-keys",{"title":213,"icon":6,"path":214,"stem":215,"children":216},"Customization","\u002Fdocs\u002Fcore\u002Fcustomization","docs\u002F1.core\u002F6.customization\u002Findex",[217,218,222,226,230,234,238],{"title":50,"path":214,"stem":215},{"title":219,"path":220,"stem":221},"Admin","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fadmin","docs\u002F1.core\u002F6.customization\u002F1.admin",{"title":223,"path":224,"stem":225},"Custom Fields","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-fields","docs\u002F1.core\u002F6.customization\u002F2.custom-fields",{"title":227,"path":228,"stem":229},"Custom Pages and Actions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-pages-and-actions","docs\u002F1.core\u002F6.customization\u002F3.custom-pages-and-actions",{"title":231,"path":232,"stem":233},"Styles and UI Libraries","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fstyles-and-ui-libraries","docs\u002F1.core\u002F6.customization\u002F4.styles-and-ui-libraries",{"title":235,"path":236,"stem":237},"Rich Text Extensions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Frich-text-extensions","docs\u002F1.core\u002F6.customization\u002F5.rich-text-extensions",{"title":239,"path":240,"stem":241},"Plugins","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fplugins","docs\u002F1.core\u002F6.customization\u002F6.plugins",{"title":243,"icon":6,"path":244,"stem":245,"children":246},"Operations","\u002Fdocs\u002Fcore\u002Foperations","docs\u002F1.core\u002F7.operations\u002Findex",[247,248,266,288,306,310,314],{"title":50,"path":244,"stem":245},{"title":249,"icon":6,"path":250,"stem":251,"children":252},"Email","\u002Fdocs\u002Fcore\u002Foperations\u002Femail","docs\u002F1.core\u002F7.operations\u002F1.email\u002Findex",[253,254,258,262],{"title":50,"path":250,"stem":251},{"title":255,"path":256,"stem":257},"SMTP","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fsmtp","docs\u002F1.core\u002F7.operations\u002F1.email\u002F1.smtp",{"title":259,"path":260,"stem":261},"Cloudflare","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare","docs\u002F1.core\u002F7.operations\u002F1.email\u002F2.cloudflare",{"title":263,"path":264,"stem":265},"Custom adapter","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcustom-adapter","docs\u002F1.core\u002F7.operations\u002F1.email\u002F3.custom-adapter",{"title":267,"icon":6,"path":268,"stem":269,"children":270},"Jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002Findex",[271,272,276,280,284],{"title":50,"path":268,"stem":269},{"title":273,"path":274,"stem":275},"Queue jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fqueue-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F1.queue-jobs",{"title":277,"path":278,"stem":279},"Recurring jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Frecurring-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F2.recurring-jobs",{"title":281,"path":282,"stem":283},"The clock","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fclock","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F3.clock",{"title":285,"path":286,"stem":287},"Manage jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fmanage-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F4.manage-jobs",{"title":289,"icon":6,"path":290,"stem":291,"children":292},"Webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002Findex",[293,294,298,302],{"title":50,"path":290,"stem":291},{"title":295,"path":296,"stem":297},"Send webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Fsend-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F1.send-webhooks",{"title":299,"path":300,"stem":301},"Receive webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Freceive-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F2.receive-webhooks",{"title":303,"path":304,"stem":305},"Rebuild on publish","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Frebuild-on-publish","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F3.rebuild-on-publish",{"title":307,"path":308,"stem":309},"Backup and Restore","\u002Fdocs\u002Fcore\u002Foperations\u002Fbackup-and-restore","docs\u002F1.core\u002F7.operations\u002F4.backup-and-restore",{"title":311,"path":312,"stem":313},"Lifecycle Hooks","\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks","docs\u002F1.core\u002F7.operations\u002F5.lifecycle-hooks",{"title":315,"path":316,"stem":317},"Upgrades and Schema Changes","\u002Fdocs\u002Fcore\u002Foperations\u002Fupgrades-and-schema-changes","docs\u002F1.core\u002F7.operations\u002F6.upgrades-and-schema-changes",{"title":319,"icon":6,"path":320,"stem":321,"children":322,"page":6},"Reference","\u002Fdocs\u002Fcore\u002Freference","docs\u002F1.core\u002F8.reference",[323,326,344,348],{"title":28,"path":324,"stem":325},"\u002Fdocs\u002Fcore\u002Freference\u002Fconfiguration","docs\u002F1.core\u002F8.reference\u002F1.configuration",{"title":327,"icon":6,"path":328,"stem":329,"children":330},"API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi","docs\u002F1.core\u002F8.reference\u002F2.api\u002Findex",[331,332,336,340],{"title":50,"path":328,"stem":329},{"title":333,"path":334,"stem":335},"Local API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Flocal-api","docs\u002F1.core\u002F8.reference\u002F2.api\u002F1.local-api",{"title":337,"path":338,"stem":339},"Client","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fclient","docs\u002F1.core\u002F8.reference\u002F2.api\u002F2.client",{"title":341,"path":342,"stem":343},"HTTP routes","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fhttp-routes","docs\u002F1.core\u002F8.reference\u002F2.api\u002F3.http-routes",{"title":345,"path":346,"stem":347},"Errors and types","\u002Fdocs\u002Fcore\u002Freference\u002Ferrors-and-types","docs\u002F1.core\u002F8.reference\u002F3.errors-and-types",{"title":349,"path":350,"stem":351},"Package exports","\u002Fdocs\u002Fcore\u002Freference\u002Fpackage-exports","docs\u002F1.core\u002F8.reference\u002F4.package-exports",{"title":353,"icon":6,"path":354,"stem":355,"children":356,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[357,383,400,417],{"title":358,"icon":6,"path":359,"stem":360,"children":361},"Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks","docs\u002F2.guide\u002F1.frameworks\u002Findex",[362,363,367,371,375,379],{"title":50,"path":359,"stem":360},{"title":364,"path":365,"stem":366},"Astro","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fastro","docs\u002F2.guide\u002F1.frameworks\u002F1.astro",{"title":368,"path":369,"stem":370},"Nuxt","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fnuxt","docs\u002F2.guide\u002F1.frameworks\u002F2.nuxt",{"title":372,"path":373,"stem":374},"TanStack Start","\u002Fdocs\u002Fguide\u002Fframeworks\u002Ftanstack-start","docs\u002F2.guide\u002F1.frameworks\u002F3.tanstack-start",{"title":376,"path":377,"stem":378},"Standalone","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fstandalone","docs\u002F2.guide\u002F1.frameworks\u002F4.standalone",{"title":380,"path":381,"stem":382},"Other Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fother-frameworks","docs\u002F2.guide\u002F1.frameworks\u002F5.other-frameworks",{"title":384,"icon":6,"path":385,"stem":386,"children":387},"Deployment","\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F2.deployment\u002Findex",[388,389,393,397],{"title":50,"path":385,"stem":386},{"title":390,"path":391,"stem":392},"Node","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fnode","docs\u002F2.guide\u002F2.deployment\u002F1.node",{"title":394,"path":395,"stem":396},"Vercel","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fvercel","docs\u002F2.guide\u002F2.deployment\u002F2.vercel",{"title":259,"path":398,"stem":399},"\u002Fdocs\u002Fguide\u002Fdeployment\u002Fcloudflare","docs\u002F2.guide\u002F2.deployment\u002F3.cloudflare",{"title":401,"icon":6,"path":402,"stem":403,"children":404,"page":6},"Databases and Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage","docs\u002F2.guide\u002F3.databases-and-storage",[405,409,413],{"title":406,"path":407,"stem":408},"Databases","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fdatabases","docs\u002F2.guide\u002F3.databases-and-storage\u002F1.databases",{"title":410,"path":411,"stem":412},"Media Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fmedia-storage","docs\u002F2.guide\u002F3.databases-and-storage\u002F2.media-storage",{"title":414,"path":415,"stem":416},"Image Providers","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers","docs\u002F2.guide\u002F3.databases-and-storage\u002F3.image-providers",{"title":418,"icon":6,"path":419,"stem":420,"children":421,"page":6},"Recipes","\u002Fdocs\u002Fguide\u002Frecipes","docs\u002F2.guide\u002F4.recipes",[422,426,430,434,438,442],{"title":423,"path":424,"stem":425},"Seed Content","\u002Fdocs\u002Fguide\u002Frecipes\u002Fseed-content","docs\u002F2.guide\u002F4.recipes\u002F1.seed-content",{"title":427,"path":428,"stem":429},"Tracking and Consent","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftracking-and-consent","docs\u002F2.guide\u002F4.recipes\u002F2.tracking-and-consent",{"title":431,"path":432,"stem":433},"Build a Custom Field","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-custom-field","docs\u002F2.guide\u002F4.recipes\u002F3.build-a-custom-field",{"title":435,"path":436,"stem":437},"Write a Plugin","\u002Fdocs\u002Fguide\u002Frecipes\u002Fwrite-a-plugin","docs\u002F2.guide\u002F4.recipes\u002F4.write-a-plugin",{"title":439,"path":440,"stem":441},"Build a Headless Site with Next.js","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-headless-site-with-nextjs","docs\u002F2.guide\u002F4.recipes\u002F5.build-a-headless-site-with-nextjs",{"title":443,"path":444,"stem":445},"Troubleshooting","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftroubleshooting","docs\u002F2.guide\u002F4.recipes\u002F6.troubleshooting",{"title":447,"icon":6,"path":448,"stem":449,"children":450,"page":6},"CLI","\u002Fdocs\u002Fcli","docs\u002F3.cli",[451,454,458,462,466,470,474],{"title":50,"path":452,"stem":453},"\u002Fdocs\u002Fcli\u002Foverview","docs\u002F3.cli\u002F1.overview",{"title":455,"path":456,"stem":457},"create-tenoncms","\u002Fdocs\u002Fcli\u002Fcreate-tenoncms","docs\u002F3.cli\u002F2.create-tenoncms",{"title":459,"path":460,"stem":461},"tenon backup","\u002Fdocs\u002Fcli\u002Fbackup","docs\u002F3.cli\u002F3.backup",{"title":463,"path":464,"stem":465},"tenon users","\u002Fdocs\u002Fcli\u002Fusers","docs\u002F3.cli\u002F4.users",{"title":467,"path":468,"stem":469},"tenon media","\u002Fdocs\u002Fcli\u002Fmedia","docs\u002F3.cli\u002F5.media",{"title":471,"path":472,"stem":473},"tenon upgrade","\u002Fdocs\u002Fcli\u002Fupgrade","docs\u002F3.cli\u002F6.upgrade",{"title":475,"path":476,"stem":477},"tenon login","\u002Fdocs\u002Fcli\u002Flogin","docs\u002F3.cli\u002F7.login",{"id":479,"title":307,"body":480,"description":1620,"extension":1621,"links":1622,"meta":1623,"navigation":788,"path":308,"seo":1624,"stem":309,"__hash__":1625},"docs\u002Fdocs\u002F1.core\u002F7.operations\u002F4.backup-and-restore.md",{"type":481,"value":482,"toc":1603},"minimark",[483,487,490,519,524,591,594,597,601,879,883,1052,1056,1061,1068,1124,1132,1136,1175,1179,1182,1186,1254,1257,1261,1286,1289,1293,1296,1342,1348,1354,1358,1365,1373,1380,1387,1394,1398,1417,1443,1466,1470,1473,1566,1570,1599],[484,485,486],"p",{},"A backup is one ZIP file with your content: documents, globals, translations, versions and media files. A restore writes it back with the same ids and dates, so relations, links and images keep working. This page shows how to make a backup, restore it, and move content to another database or environment.",[484,488,489],{},"The same file has three uses:",[491,492,493,501,507],"ul",{},[494,495,496,500],"li",{},[497,498,499],"strong",{},"Back up"," a site before an upgrade or on a schedule.",[494,502,503,506],{},[497,504,505],{},"Move"," content from production to your machine, or from SQLite to Postgres.",[494,508,509,512,513,518],{},[497,510,511],{},"Seed"," a new database with sample content. See ",[514,515,517],"a",{"href":516},"\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks#seed","Lifecycle hooks",".",[520,521,523],"h2",{"id":522},"two-kinds-of-backup","Two kinds of backup",[525,526,527,546],"table",{},[528,529,530],"thead",{},[531,532,533,537,540,543],"tr",{},[534,535,536],"th",{},"Kind",[534,538,539],{},"Holds",[534,541,542],{},"Made by",[534,544,545],{},"Restores into",[547,548,549,568],"tbody",{},[531,550,551,555,558,565],{},[552,553,554],"td",{},"Content archive",[552,556,557],{},"Documents, globals, translations, versions, media files",[552,559,560,561],{},"The admin, ",[562,563,564],"code",{},"cms.export()",[552,566,567],{},"Any Tenon site with the same collections",[531,569,570,573,576,584],{},[552,571,572],{},"Full backup",[552,574,575],{},"All of the above, plus users, their accounts and passkeys, API keys, invites and jobs",[552,577,578,580,581],{},[562,579,459],{},", ",[562,582,583],{},"cms.export({ scope: \"full\" })",[552,585,586,587,590],{},"The same kind of database, on the same ",[562,588,589],{},"tenoncms"," version",[484,592,593],{},"Use a full backup to bring back a site as it was. Use a content archive to move content somewhere else.",[484,595,596],{},"Neither kind holds sessions, sign-in tokens, rate limits or image variants. Tables of your own app in the same database are never part of a backup.",[520,598,600],{"id":599},"make-a-backup","Make a backup",[602,603,604,668,692],"tabs",{},[605,606,607,610,635,642],"tabs-item",{"label":447},[484,608,609],{},"Run this in your project:",[611,612,617],"pre",{"className":613,"code":614,"language":615,"meta":616,"style":616},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx tenon backup\n","sh","",[562,618,619],{"__ignoreMap":616},[620,621,624,628,632],"span",{"class":622,"line":623},"line",1,[620,625,627],{"class":626},"sBMFI","npx",[620,629,631],{"class":630},"sfazB"," tenon",[620,633,634],{"class":630}," backup\n",[484,636,637,638,641],{},"It shows what the backup holds, suggests a file name like ",[562,639,640],{},"tenon-my-site-2026-11-12-1530.zip",", and writes a full backup.",[491,643,644,654,660],{},[494,645,646,649,650,653],{},[562,647,648],{},"--content-only"," writes a content archive. ",[562,651,652],{},"--no-media"," leaves the media files out.",[494,655,656,659],{},[562,657,658],{},"--dry-run"," shows what the backup would hold, and writes nothing.",[494,661,662,665,666,518],{},[562,663,664],{},"--url https:\u002F\u002Fexample.com"," backs up a deployed site. See ",[514,667,459],{"href":460},[605,669,670,689],{"label":219},[484,671,672,673,676,677,680,681,684,685,688],{},"Admins open ",[497,674,675],{},"Manage → Backup"," and click ",[497,678,679],{},"Download ZIP"," under ",[497,682,683],{},"Export",". Clear ",[497,686,687],{},"Include media files"," to leave them out.",[484,690,691],{},"The admin writes content archives only. For a full backup, use the CLI.",[605,693,695,700,859],{"label":694},"Code",[484,696,697,699],{},[562,698,564],{}," returns the archive as a stream:",[611,701,706],{"className":702,"code":703,"filename":704,"language":705,"meta":616,"style":616},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createWriteStream } from \"node:fs\";\nimport { Readable } from \"node:stream\";\nimport cms from \"..\u002Ftenon.config\";\n\nconst archive = await cms.export();\nReadable.fromWeb(archive).pipe(createWriteStream(\"backup.zip\"));\n","scripts\u002Fbackup.ts","ts",[562,707,708,740,763,783,790,820],{"__ignoreMap":616},[620,709,710,714,718,722,725,728,731,734,737],{"class":622,"line":623},[620,711,713],{"class":712},"s7zQu","import",[620,715,717],{"class":716},"sMK4o"," {",[620,719,721],{"class":720},"sTEyZ"," createWriteStream",[620,723,724],{"class":716}," }",[620,726,727],{"class":712}," from",[620,729,730],{"class":716}," \"",[620,732,733],{"class":630},"node:fs",[620,735,736],{"class":716},"\"",[620,738,739],{"class":716},";\n",[620,741,743,745,747,750,752,754,756,759,761],{"class":622,"line":742},2,[620,744,713],{"class":712},[620,746,717],{"class":716},[620,748,749],{"class":720}," Readable",[620,751,724],{"class":716},[620,753,727],{"class":712},[620,755,730],{"class":716},[620,757,758],{"class":630},"node:stream",[620,760,736],{"class":716},[620,762,739],{"class":716},[620,764,766,768,771,774,776,779,781],{"class":622,"line":765},3,[620,767,713],{"class":712},[620,769,770],{"class":720}," cms ",[620,772,773],{"class":712},"from",[620,775,730],{"class":716},[620,777,778],{"class":630},"..\u002Ftenon.config",[620,780,736],{"class":716},[620,782,739],{"class":716},[620,784,786],{"class":622,"line":785},4,[620,787,789],{"emptyLinePlaceholder":788},true,"\n",[620,791,793,797,800,803,806,809,811,815,818],{"class":622,"line":792},5,[620,794,796],{"class":795},"spNyl","const",[620,798,799],{"class":720}," archive ",[620,801,802],{"class":716},"=",[620,804,805],{"class":712}," await",[620,807,808],{"class":720}," cms",[620,810,518],{"class":716},[620,812,814],{"class":813},"s2Zo4","export",[620,816,817],{"class":720},"()",[620,819,739],{"class":716},[620,821,823,826,828,831,834,836,839,842,845,847,849,852,854,857],{"class":622,"line":822},6,[620,824,825],{"class":720},"Readable",[620,827,518],{"class":716},[620,829,830],{"class":813},"fromWeb",[620,832,833],{"class":720},"(archive)",[620,835,518],{"class":716},[620,837,838],{"class":813},"pipe",[620,840,841],{"class":720},"(",[620,843,844],{"class":813},"createWriteStream",[620,846,841],{"class":720},[620,848,736],{"class":716},[620,850,851],{"class":630},"backup.zip",[620,853,736],{"class":716},[620,855,856],{"class":720},"))",[620,858,739],{"class":716},[491,860,861,867,873],{},[494,862,863,866],{},[562,864,865],{},"{ media: false }"," leaves the media files out, for example when both sites use the same bucket.",[494,868,869,872],{},[562,870,871],{},"{ scope: \"full\" }"," writes a full backup.",[494,874,875,878],{},[562,876,877],{},"cms.exportSummary()"," takes the same options and returns what the archive would hold: rows per table, media files and bytes.",[520,880,882],{"id":881},"restore-a-backup","Restore a backup",[602,884,885,926,940],{},[605,886,887,904,907],{"label":447},[611,888,890],{"className":613,"code":889,"language":615,"meta":616,"style":616},"npx tenon restore tenon-my-site-2026-11-12-1530.zip\n",[562,891,892],{"__ignoreMap":616},[620,893,894,896,898,901],{"class":622,"line":623},[620,895,627],{"class":626},[620,897,631],{"class":630},[620,899,900],{"class":630}," restore",[620,902,903],{"class":630}," tenon-my-site-2026-11-12-1530.zip\n",[484,905,906],{},"The CLI checks the file first, and shows what it deletes and what it writes. It offers to back up the current data, then asks once more.",[491,908,909,914,920],{},[494,910,911,913],{},[562,912,658],{}," stops after the check.",[494,915,916,919],{},[562,917,918],{},"--backup"," backs up first without asking.",[494,921,922,925],{},[562,923,924],{},"--yes"," skips the questions. Without a terminal, it is required.",[605,927,928,937],{"label":219},[484,929,672,930,932,933,936],{},[497,931,675],{},", choose the file under ",[497,934,935],{},"Import"," and pick how to import it. The admin asks before it writes.",[484,938,939],{},"The admin imports content archives only. Users and API keys stay as they are.",[605,941,942,1042],{"label":694},[611,943,946],{"className":702,"code":944,"filename":945,"language":705,"meta":616,"style":616},"import { openAsBlob } from \"node:fs\";\nimport cms from \"..\u002Ftenon.config\";\n\nawait cms.import(await openAsBlob(\"backup.zip\"), { mode: \"replace\" });\n","scripts\u002Frestore.ts",[562,947,948,969,985,989],{"__ignoreMap":616},[620,949,950,952,954,957,959,961,963,965,967],{"class":622,"line":623},[620,951,713],{"class":712},[620,953,717],{"class":716},[620,955,956],{"class":720}," openAsBlob",[620,958,724],{"class":716},[620,960,727],{"class":712},[620,962,730],{"class":716},[620,964,733],{"class":630},[620,966,736],{"class":716},[620,968,739],{"class":716},[620,970,971,973,975,977,979,981,983],{"class":622,"line":742},[620,972,713],{"class":712},[620,974,770],{"class":720},[620,976,773],{"class":712},[620,978,730],{"class":716},[620,980,778],{"class":630},[620,982,736],{"class":716},[620,984,739],{"class":716},[620,986,987],{"class":622,"line":765},[620,988,789],{"emptyLinePlaceholder":788},[620,990,991,994,996,998,1000,1002,1004,1006,1008,1010,1012,1014,1017,1020,1022,1026,1029,1031,1034,1036,1038,1040],{"class":622,"line":785},[620,992,993],{"class":712},"await",[620,995,808],{"class":720},[620,997,518],{"class":716},[620,999,713],{"class":813},[620,1001,841],{"class":720},[620,1003,993],{"class":712},[620,1005,956],{"class":813},[620,1007,841],{"class":720},[620,1009,736],{"class":716},[620,1011,851],{"class":630},[620,1013,736],{"class":716},[620,1015,1016],{"class":720},")",[620,1018,1019],{"class":716},",",[620,1021,717],{"class":716},[620,1023,1025],{"class":1024},"swJcz"," mode",[620,1027,1028],{"class":716},":",[620,1030,730],{"class":716},[620,1032,1033],{"class":630},"replace",[620,1035,736],{"class":716},[620,1037,724],{"class":716},[620,1039,1016],{"class":720},[620,1041,739],{"class":716},[484,1043,1044,1047,1048,1051],{},[562,1045,1046],{},"{ dryRun: true }"," checks the archive and writes nothing. It returns ",[562,1049,1050],{},"{ errors, deletes, writes }",": why the import would fail, what is stored now, and what the archive holds.",[1053,1054,1055],"caution",{},"A restore of a full backup replaces all data: content, users and API keys. Everyone is signed out. It cannot be undone, so back up the current data first.",[1057,1058,1060],"h3",{"id":1059},"choose-how-to-import","Choose how to import",[484,1062,1063,1064,1067],{},"A content archive can join the content that is already there. ",[562,1065,1066],{},"mode"," decides what happens to entries that exist in both:",[525,1069,1070,1083],{},[528,1071,1072],{},[531,1073,1074,1077,1080],{},[534,1075,1076],{},"Mode",[534,1078,1079],{},"Admin label",[534,1081,1082],{},"What it does",[547,1084,1085,1099,1112],{},[531,1086,1087,1093,1096],{},[552,1088,1089,1092],{},[562,1090,1091],{},"merge"," (default)",[552,1094,1095],{},"Add and overwrite",[552,1097,1098],{},"Adds new entries, and overwrites entries with the same id",[531,1100,1101,1106,1109],{},[552,1102,1103],{},[562,1104,1105],{},"missing",[552,1107,1108],{},"Add only new entries",[552,1110,1111],{},"Adds entries whose id does not exist yet. Existing ones stay as they are",[531,1113,1114,1118,1121],{},[552,1115,1116],{},[562,1117,1033],{},[552,1119,1120],{},"Replace all content",[552,1122,1123],{},"Deletes all documents, globals and versions first, then writes the file",[484,1125,1126,1127,1129,1130,518],{},"A full backup imports only with ",[562,1128,1033],{},". The CLI always uses ",[562,1131,1033],{},[1057,1133,1135],{"id":1134},"what-an-import-does","What an import does",[491,1137,1138,1141,1150,1153,1163,1168],{},[494,1139,1140],{},"The import runs in one transaction. If it fails, the database stays as it was. Media files that were already copied stay in storage, and you can simply run the import again.",[494,1142,1143,1144,518],{},"It writes the stored rows as they are. No hooks, no validation and no webhooks run. To rebuild what your hooks keep up to date, use ",[514,1145,1147],{"href":1146},"\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks#afterimport",[562,1148,1149],{},"afterImport",[494,1151,1152],{},"Every collection and global of the archive MUST exist in your schema.",[494,1154,1155,1158,1159,1162],{},[562,1156,1157],{},"createdBy"," and ",[562,1160,1161],{},"updatedBy"," keep a user only when that user exists in the target. Otherwise they are empty.",[494,1164,1165,1167],{},[562,1166,1033],{}," drops the scheduled publishes of the old content, and leaves its media files in storage. Delete files you no longer need yourself.",[494,1169,1170,1171,1174],{},"Image variants are rendered again on request. With ",[562,1172,1173],{},"prerender",", the restore renders them for you.",[520,1176,1178],{"id":1177},"move-content-between-environments","Move content between environments",[484,1180,1181],{},"A content archive moves between any two Tenon sites with the same collections. The rows are the same on SQLite and Postgres, so this also moves a site to another database.",[1057,1183,1185],{"id":1184},"copy-production-to-your-machine","Copy production to your machine",[1187,1188,1189,1209,1235],"ol",{},[494,1190,1191,1192],{},"Sign in to the deployed site as an admin:",[611,1193,1195],{"className":613,"code":1194,"language":615,"meta":616,"style":616},"npx tenon login https:\u002F\u002Fexample.com\n",[562,1196,1197],{"__ignoreMap":616},[620,1198,1199,1201,1203,1206],{"class":622,"line":623},[620,1200,627],{"class":626},[620,1202,631],{"class":630},[620,1204,1205],{"class":630}," login",[620,1207,1208],{"class":630}," https:\u002F\u002Fexample.com\n",[494,1210,1211,1212],{},"Back up the deployed site as a content archive:",[611,1213,1215],{"className":613,"code":1214,"language":615,"meta":616,"style":616},"npx tenon backup --url https:\u002F\u002Fexample.com --content-only\n",[562,1216,1217],{"__ignoreMap":616},[620,1218,1219,1221,1223,1226,1229,1232],{"class":622,"line":623},[620,1220,627],{"class":626},[620,1222,631],{"class":630},[620,1224,1225],{"class":630}," backup",[620,1227,1228],{"class":630}," --url",[620,1230,1231],{"class":630}," https:\u002F\u002Fexample.com",[620,1233,1234],{"class":630}," --content-only\n",[494,1236,1237,1238],{},"Restore it into your local project:",[611,1239,1241],{"className":613,"code":1240,"language":615,"meta":616,"style":616},"npx tenon restore tenon-example-2026-11-27-0930.zip\n",[562,1242,1243],{"__ignoreMap":616},[620,1244,1245,1247,1249,1251],{"class":622,"line":623},[620,1246,627],{"class":626},[620,1248,631],{"class":630},[620,1250,900],{"class":630},[620,1252,1253],{"class":630}," tenon-example-2026-11-27-0930.zip\n",[484,1255,1256],{},"Your local users stay, because a content archive has none.",[1057,1258,1260],{"id":1259},"move-from-sqlite-to-postgres","Move from SQLite to Postgres",[1187,1262,1263,1269,1280],{},[494,1264,1265,1266,518],{},"Back up the SQLite site with ",[562,1267,1268],{},"npx tenon backup --content-only",[494,1270,1271,1272,1275,1276,1279],{},"Point ",[562,1273,1274],{},"database"," in ",[562,1277,1278],{},"tenon.config.ts"," to Postgres.",[494,1281,1282,1283,518],{},"Restore the file with ",[562,1284,1285],{},"npx tenon restore",[484,1287,1288],{},"The users do not move. Invite them again, or move them with your own script. A full backup MUST stay on the same kind of database.",[520,1290,1292],{"id":1291},"restore-an-older-archive","Restore an older archive",[484,1294,1295],{},"An import does not migrate content to your current fields. It writes what the archive holds:",[525,1297,1298,1308],{},[528,1299,1300],{},[531,1301,1302,1305],{},[534,1303,1304],{},"In the archive",[534,1306,1307],{},"After the import",[547,1309,1310,1318,1326,1334],{},[531,1311,1312,1315],{},[552,1313,1314],{},"A collection that no longer exists",[552,1316,1317],{},"The import stops. Add the collection back, or remove it from the archive.",[531,1319,1320,1323],{},[552,1321,1322],{},"A field that you removed or renamed",[552,1324,1325],{},"The value stays in the database, but reads leave it out. The next save drops it.",[531,1327,1328,1331],{},[552,1329,1330],{},"A field whose type changed",[552,1332,1333],{},"Reads return the old value. The next save fails until an editor fixes it.",[531,1335,1336,1339],{},[552,1337,1338],{},"No value for a new required field",[552,1340,1341],{},"The field is empty. The next publish asks for it.",[484,1343,1344,1345,1347],{},"A full backup also needs the same ",[562,1346,589],{}," version, so the same migrations. The check tells you what differs.",[484,1349,1350,1351,518],{},"The same happens to content after a deploy that changes fields. See ",[514,1352,1353],{"href":316},"Upgrades and schema changes",[520,1355,1357],{"id":1356},"large-archives","Large archives",[484,1359,1360,1361,1364],{},"Hosts limit the size of a request and a response. On Vercel, both are 4.5 MB. With ",[514,1362,1363],{"href":411},"S3 or R2 storage",", the admin and the client avoid that limit:",[491,1366,1367,1370],{},[494,1368,1369],{},"An export writes the archive into the bucket and downloads it through a link that works for 12 hours.",[494,1371,1372],{},"An import uploads the file into the bucket in parts, then imports it from there and deletes it.",[484,1374,1375,1376,1379],{},"Without S3 or R2, import a large archive from a script with ",[562,1377,1378],{},"cms.import()",", or with the CLI on your machine. An archive MUST stay under 4 GB.",[484,1381,1382,1383,1386],{},"Archives on their way in or out live in the bucket under ",[562,1384,1385],{},".tenon\u002F",". The media library does not show them. An export stays there until the next export after 12 hours.",[1388,1389,1390,1391,1393],"warning",{},"With a public bucket, anyone who knows the random name of an archive can download it until it is deleted. Add a lifecycle rule to the bucket that deletes objects under ",[562,1392,1385],{}," after one day.",[520,1395,1397],{"id":1396},"who-can-back-up","Who can back up",[484,1399,1400,1401,1404,1405,1408,1409,1412,1413,1416],{},"Admins can back up and restore. An ",[514,1402,1403],{"href":210},"API key"," needs the ",[497,1406,1407],{},"Backup"," permission: ",[562,1410,1411],{},"read"," to export, ",[562,1414,1415],{},"update"," to import. Use a key for backups from CI:",[611,1418,1420],{"className":613,"code":1419,"language":615,"meta":616,"style":616},"TENON_API_KEY=... npx tenon backup --url https:\u002F\u002Fexample.com\n",[562,1421,1422],{"__ignoreMap":616},[620,1423,1424,1427,1429,1432,1435,1437,1439,1441],{"class":622,"line":623},[620,1425,1426],{"class":720},"TENON_API_KEY",[620,1428,802],{"class":716},[620,1430,1431],{"class":630},"...",[620,1433,1434],{"class":626}," npx",[620,1436,631],{"class":630},[620,1438,1225],{"class":630},[620,1440,1228],{"class":630},[620,1442,1208],{"class":630},[484,1444,1445,1446,1158,1449,1452,1453,1456,1457,580,1460,1158,1463,518],{},"The HTTP routes are ",[562,1447,1448],{},"GET \u002F_tenon\u002Fexport",[562,1450,1451],{},"POST \u002F_tenon\u002Fimport",". The ",[514,1454,1455],{"href":160},"client"," has ",[562,1458,1459],{},"client.export()",[562,1461,1462],{},"client.exportLink()",[562,1464,1465],{},"client.import()",[520,1467,1469],{"id":1468},"the-archive-format","The archive format",[484,1471,1472],{},"The ZIP holds one file per table, with one row per line:",[525,1474,1475,1484],{},[528,1476,1477],{},[531,1478,1479,1482],{},[534,1480,1481],{},"Entry",[534,1483,539],{},[547,1485,1486,1496,1506,1516,1526,1536,1546,1556],{},[531,1487,1488,1493],{},[552,1489,1490],{},[562,1491,1492],{},"manifest.json",[552,1494,1495],{},"Format version, date, default locale, localized fields, database kind, migrations, counts",[531,1497,1498,1503],{},[552,1499,1500],{},[562,1501,1502],{},"documents.ndjson",[552,1504,1505],{},"The documents, as stored",[531,1507,1508,1513],{},[552,1509,1510],{},[562,1511,1512],{},"document-locales.ndjson",[552,1514,1515],{},"The translations of each document",[531,1517,1518,1523],{},[552,1519,1520],{},[562,1521,1522],{},"globals.ndjson",[552,1524,1525],{},"The globals",[531,1527,1528,1533],{},[552,1529,1530],{},[562,1531,1532],{},"global-locales.ndjson",[552,1534,1535],{},"The translations of each global",[531,1537,1538,1543],{},[552,1539,1540],{},[562,1541,1542],{},"versions.ndjson",[552,1544,1545],{},"The version history",[531,1547,1548,1553],{},[552,1549,1550],{},[562,1551,1552],{},"media\u002F\u003Ckey>",[552,1554,1555],{},"The original of each media file",[531,1557,1558,1563],{},[552,1559,1560],{},[562,1561,1562],{},"tables\u002F\u003Ctable>.ndjson",[552,1564,1565],{},"In a full backup: users, accounts, API keys, jobs and the other tables",[520,1567,1569],{"id":1568},"related-resources","Related resources",[491,1571,1572,1582,1587,1593],{},[494,1573,1574,1576,1577,1158,1579,518],{},[514,1575,459],{"href":460},": every flag of ",[562,1578,459],{},[562,1580,1581],{},"tenon restore",[494,1583,1584,1586],{},[514,1585,517],{"href":312},": seed a database from an archive, and run code after an import.",[494,1588,1589,1592],{},[514,1590,1591],{"href":424},"Seed content",": ship sample content with a starter.",[494,1594,1595,1598],{},[514,1596,1597],{"href":411},"Media storage",": S3 and R2 for large archives.",[1600,1601,1602],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":616,"searchDepth":742,"depth":742,"links":1604},[1605,1606,1607,1611,1615,1616,1617,1618,1619],{"id":522,"depth":742,"text":523},{"id":599,"depth":742,"text":600},{"id":881,"depth":742,"text":882,"children":1608},[1609,1610],{"id":1059,"depth":765,"text":1060},{"id":1134,"depth":765,"text":1135},{"id":1177,"depth":742,"text":1178,"children":1612},[1613,1614],{"id":1184,"depth":765,"text":1185},{"id":1259,"depth":765,"text":1260},{"id":1291,"depth":742,"text":1292},{"id":1356,"depth":742,"text":1357},{"id":1396,"depth":742,"text":1397},{"id":1468,"depth":742,"text":1469},{"id":1568,"depth":742,"text":1569},"Save all content in one file and write it back.","md",null,{},{"title":307,"description":1620},"3bimirX9nrvqB7KXPUMiDczikgtHEf2F1IYI8odn3Yk",[1627,1629],{"title":303,"path":304,"stem":305,"description":1628,"children":-1},"Start a new build of a prerendered site when an editor publishes.",{"title":311,"path":312,"stem":313,"description":1630,"children":-1},"Code that runs when the CMS starts, after an import and on unexpected errors.",1795884688015]