[{"data":1,"prerenderedAt":515},["ShallowReactive",2],{"docs-nav":3,"content-query-A4aOxg5Ypc":249},[4,8,11,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162,165,168,171,174,177,180,183,186,189,192,195,198,201,204,207,210,213,216,219,222,225,228,231,234,237,240,243,246],{"_path":5,"title":6,"order":7},"/docs/getting-started","Getting Started",1,{"_path":9,"title":10,"order":7},"/docs/self-hosting/all-in-one","All-in-One Setup",{"_path":12,"title":13,"order":7},"/docs/views/grid","Grid View",{"_path":15,"title":16,"order":17},"/docs/core-concepts","Core Concepts",10,{"_path":19,"title":20,"order":21},"/docs/crdt","What is a CRDT?",11,{"_path":23,"title":24,"order":25},"/docs/self-hosting/separate-containers","Separate Containers Setup",2,{"_path":27,"title":28,"order":29},"/docs/interface-overview","Interface Overview",20,{"_path":31,"title":32,"order":33},"/docs/global-search","Global Search",22,{"_path":35,"title":36,"order":37},"/docs/filters","Filters",24,{"_path":39,"title":40,"order":41},"/docs/sorting","Sorting",25,{"_path":43,"title":44,"order":45},"/docs/tagging-and-selection","Tagging & Selection",26,{"_path":47,"title":48,"order":49},"/docs/quick-view","Quick View",28,{"_path":51,"title":52,"order":53},"/docs/self-hosting/remote-access-tailscale","Remote Access with Tailscale",3,{"_path":55,"title":56,"order":57},"/docs/block-actions","Block Actions",30,{"_path":59,"title":60,"order":61},"/docs/deleting-blocks","Deleting Blocks & Trash",32,{"_path":63,"title":64,"order":65},"/docs/self-hosting","Self-Hosting",4,{"_path":67,"title":68,"order":69},"/docs/managing-heaps","Managing Heaps",40,{"_path":71,"title":72,"order":73},"/docs/file-scanning","File Scanning & Importing",42,{"_path":75,"title":76,"order":77},"/docs/storage-management","Storage Management",44,{"_path":79,"title":80,"order":81},"/docs/daily-notes","Daily Notes & Calendar",46,{"_path":83,"title":84,"order":85},"/docs/views","Views",60,{"_path":87,"title":88,"order":89},"/docs/authentication","Authentication & User Management",70,{"_path":91,"title":92,"order":93},"/docs/licenses-privacy","Licenses & Privacy",72,{"_path":95,"title":96,"order":97},"/docs/faq","FAQ",80,{"_path":99,"title":100,"order":101},"/docs/changelog","Changelog",99,{"_path":103,"title":104},"/docs/changelog/v16.16.15","v16.16.15",{"_path":106,"title":107},"/docs/changelog/v16.16.34","v16.16.34",{"_path":109,"title":110},"/docs/changelog/v16.16.28","v16.16.28",{"_path":112,"title":113},"/docs/changelog/v16.16.35","v16.16.35",{"_path":115,"title":116},"/docs/changelog/v16.16.32","v16.16.32",{"_path":118,"title":119},"/docs/changelog/v16.8.0","v16.8.0",{"_path":121,"title":122},"/docs/changelog/v16.16.8","v16.16.8",{"_path":124,"title":125},"/docs/changelog/v16.16.27","v16.16.27",{"_path":127,"title":128},"/docs/changelog/v16.16.41","v16.16.41",{"_path":130,"title":131},"/docs/changelog/v16.16.11","v16.16.11",{"_path":133,"title":134},"/docs/changelog/v16.16.14","v16.16.14",{"_path":136,"title":137},"/docs/changelog/v16.16.17","v16.16.17",{"_path":139,"title":140},"/docs/changelog/v16.16.10","v16.16.10",{"_path":142,"title":143},"/docs/changelog/v16.16.20","v16.16.20",{"_path":145,"title":146},"/docs/changelog/v16.6.0","v16.6.0",{"_path":148,"title":149},"/docs/changelog/v16.16.22","v16.16.22",{"_path":151,"title":152},"/docs/changelog/v16.16.6","v16.16.6",{"_path":154,"title":155},"/docs/changelog/v16.16.36","v16.16.36",{"_path":157,"title":158},"/docs/changelog/v16.16.18","v16.16.18",{"_path":160,"title":161},"/docs/changelog/v16.16.38","v16.16.38",{"_path":163,"title":164},"/docs/changelog/v16.16.1","v16.16.1",{"_path":166,"title":167},"/docs/changelog/v16.16.12","v16.16.12",{"_path":169,"title":170},"/docs/changelog/v16.16.31","v16.16.31",{"_path":172,"title":173},"/docs/changelog/v16.16.40","v16.16.40",{"_path":175,"title":176},"/docs/changelog/v16.7.0","v16.7.0",{"_path":178,"title":179},"/docs/changelog/v16.9.0","v16.9.0",{"_path":181,"title":182},"/docs/changelog/v16.16.4","v16.16.4",{"_path":184,"title":185},"/docs/changelog/v16.16.13","v16.16.13",{"_path":187,"title":188},"/docs/changelog/v16.16.37","v16.16.37",{"_path":190,"title":191},"/docs/changelog/v16.16.9","v16.16.9",{"_path":193,"title":194},"/docs/changelog/v16.16.25","v16.16.25",{"_path":196,"title":197},"/docs/changelog/v16.16.24","v16.16.24",{"_path":199,"title":200},"/docs/changelog/v16.16.3","v16.16.3",{"_path":202,"title":203},"/docs/changelog/v16.10.0","v16.10.0",{"_path":205,"title":206},"/docs/changelog/v16.16.16","v16.16.16",{"_path":208,"title":209},"/docs/changelog/v16.16.33","v16.16.33",{"_path":211,"title":212},"/docs/changelog/v16.16.26","v16.16.26",{"_path":214,"title":215},"/docs/changelog/v16.16.43","v16.16.43",{"_path":217,"title":218},"/docs/changelog/v16.11.0","v16.11.0",{"_path":220,"title":221},"/docs/changelog/v16.16.29","v16.16.29",{"_path":223,"title":224},"/docs/changelog/v16.16.5","v16.16.5",{"_path":226,"title":227},"/docs/changelog/v16.16.39","v16.16.39",{"_path":229,"title":230},"/docs/changelog/v16.16.2","v16.16.2",{"_path":232,"title":233},"/docs/changelog/v16.16.7","v16.16.7",{"_path":235,"title":236},"/docs/changelog/v16.16.23","v16.16.23",{"_path":238,"title":239},"/docs/changelog/v16.16.0","v16.16.0",{"_path":241,"title":242},"/docs/changelog/v16.16.30","v16.16.30",{"_path":244,"title":245},"/docs/changelog/v16.16.21","v16.16.21",{"_path":247,"title":248},"/docs/changelog/v16.16.19","v16.16.19",{"_path":75,"_dir":250,"_draft":251,"_partial":251,"_locale":252,"title":76,"description":253,"order":77,"body":254,"_type":509,"_id":510,"_source":511,"_file":512,"_stem":513,"_extension":514},"docs",false,"","Manage local storage, clear cached data, and keep your device lean",{"type":255,"children":256,"toc":504},"root",[257,265,271,278,355,361,366,401,413,419,424,490],{"type":258,"tag":259,"props":260,"children":262},"element","h1",{"id":261},"storage-management",[263],{"type":264,"value":76},"text",{"type":258,"tag":266,"props":267,"children":268},"p",{},[269],{"type":264,"value":270},"Heaper stores data locally on your device for offline access and fast performance. Over time, cached thumbnails and synced content can accumulate. Here's how to manage local storage.",{"type":258,"tag":272,"props":273,"children":275},"h2",{"id":274},"whats-stored-locally",[276],{"type":264,"value":277},"What's Stored Locally",{"type":258,"tag":279,"props":280,"children":281},"table",{},[282,301],{"type":258,"tag":283,"props":284,"children":285},"thead",{},[286],{"type":258,"tag":287,"props":288,"children":289},"tr",{},[290,296],{"type":258,"tag":291,"props":292,"children":293},"th",{},[294],{"type":264,"value":295},"Data",{"type":258,"tag":291,"props":297,"children":298},{},[299],{"type":264,"value":300},"Description",{"type":258,"tag":302,"props":303,"children":304},"tbody",{},[305,323,339],{"type":258,"tag":287,"props":306,"children":307},{},[308,318],{"type":258,"tag":309,"props":310,"children":311},"td",{},[312],{"type":258,"tag":313,"props":314,"children":315},"strong",{},[316],{"type":264,"value":317},"SQLite database",{"type":258,"tag":309,"props":319,"children":320},{},[321],{"type":264,"value":322},"Local copy of block metadata, relations, and search index",{"type":258,"tag":287,"props":324,"children":325},{},[326,334],{"type":258,"tag":309,"props":327,"children":328},{},[329],{"type":258,"tag":313,"props":330,"children":331},{},[332],{"type":264,"value":333},"Thumbnails",{"type":258,"tag":309,"props":335,"children":336},{},[337],{"type":264,"value":338},"Preview images at multiple sizes",{"type":258,"tag":287,"props":340,"children":341},{},[342,350],{"type":258,"tag":309,"props":343,"children":344},{},[345],{"type":258,"tag":313,"props":346,"children":347},{},[348],{"type":264,"value":349},"Cached files",{"type":258,"tag":309,"props":351,"children":352},{},[353],{"type":264,"value":354},"Files downloaded for offline access",{"type":258,"tag":272,"props":356,"children":358},{"id":357},"clearing-local-data",[359],{"type":264,"value":360},"Clearing Local Data",{"type":258,"tag":266,"props":362,"children":363},{},[364],{"type":264,"value":365},"To free up space while keeping your data safe on the server:",{"type":258,"tag":367,"props":368,"children":369},"ol",{},[370,381,386,396],{"type":258,"tag":371,"props":372,"children":373},"li",{},[374,376],{"type":264,"value":375},"Open ",{"type":258,"tag":313,"props":377,"children":378},{},[379],{"type":264,"value":380},"Settings → Heaps",{"type":258,"tag":371,"props":382,"children":383},{},[384],{"type":264,"value":385},"Select the heap you want to clear",{"type":258,"tag":371,"props":387,"children":388},{},[389,391],{"type":264,"value":390},"Click ",{"type":258,"tag":313,"props":392,"children":393},{},[394],{"type":264,"value":395},"Clear Cache",{"type":258,"tag":371,"props":397,"children":398},{},[399],{"type":264,"value":400},"Confirm the action",{"type":258,"tag":266,"props":402,"children":403},{},[404,406,411],{"type":264,"value":405},"This will just remove the full files of all the blocks that are not pinned to your device. The pinned attribute not on the block but on the file(better wording planned) means that it gets downloaded automatically on that specific device.\nYour data on the server is ",{"type":258,"tag":313,"props":407,"children":408},{},[409],{"type":264,"value":410},"not affected",{"type":264,"value":412},".",{"type":258,"tag":272,"props":414,"children":416},{"id":415},"storage-on-self-hosted-instances",[417],{"type":264,"value":418},"Storage on Self-Hosted Instances",{"type":258,"tag":266,"props":420,"children":421},{},[422],{"type":264,"value":423},"If you're self-hosting, your server stores:",{"type":258,"tag":425,"props":426,"children":427},"ul",{},[428,438,456,473],{"type":258,"tag":371,"props":429,"children":430},{},[431,436],{"type":258,"tag":313,"props":432,"children":433},{},[434],{"type":264,"value":435},"PostgreSQL database",{"type":264,"value":437}," — All block data, relations, and CRDT documents",{"type":258,"tag":371,"props":439,"children":440},{},[441,445,447,454],{"type":258,"tag":313,"props":442,"children":443},{},[444],{"type":264,"value":333},{"type":264,"value":446}," — Generated previews (",{"type":258,"tag":448,"props":449,"children":451},"code",{"className":450},[],[452],{"type":264,"value":453},"/mnt/thumbnails",{"type":264,"value":455}," volume)",{"type":258,"tag":371,"props":457,"children":458},{},[459,464,466,472],{"type":258,"tag":313,"props":460,"children":461},{},[462],{"type":264,"value":463},"File storage",{"type":264,"value":465}," — User-uploaded files (",{"type":258,"tag":448,"props":467,"children":469},{"className":468},[],[470],{"type":264,"value":471},"/mnt/storage",{"type":264,"value":455},{"type":258,"tag":371,"props":474,"children":475},{},[476,481,483,489],{"type":258,"tag":313,"props":477,"children":478},{},[479],{"type":264,"value":480},"Backups",{"type":264,"value":482}," — Automated database backups (",{"type":258,"tag":448,"props":484,"children":486},{"className":485},[],[487],{"type":264,"value":488},"/mnt/backups",{"type":264,"value":455},{"type":258,"tag":266,"props":491,"children":492},{},[493,495,502],{"type":264,"value":494},"Monitor disk usage on your server and configure ",{"type":258,"tag":496,"props":497,"children":499},"a",{"href":498},"/docs/self-hosting#backup--restore",[500],{"type":264,"value":501},"backup retention",{"type":264,"value":503}," to control how many days of backups are kept.",{"title":252,"searchDepth":25,"depth":25,"links":505},[506,507,508],{"id":274,"depth":25,"text":277},{"id":357,"depth":25,"text":360},{"id":415,"depth":25,"text":418},"markdown","content:docs:storage-management.md","content","docs/storage-management.md","docs/storage-management","md",1774954237668]