Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The most maintainable Trilium Notes homelab setup is a small, predictable note tree combined with a few consistent labels, explicit links between related notes, reusable templates, and saved searches for recurring tasks. Start with broad areas such as Services, Hosts, Network, Storage, and Runbooks. Keep each note useful on its own, add child notes when a subject needs separate procedures or history, and treat the Trilium data directory as backup data that must exist in more than one place.

Why Trilium works well for homelab documentation

Trilium stores notes in a hierarchy, but a note is not merely an empty folder. A note can contain its own text, tables, code blocks, screenshots, or checklists and can also have child notes. You therefore do not need a separate folder-note type to build a documentation tree. This lets you keep an overview and the detailed records below it without splitting the information between a wiki and a file manager.

For a homelab, that model matches the way systems are operated. A service can have a short description at the parent level, then child notes for deployment, configuration changes, incidents, and recovery. A host can describe its role while child notes record maintenance or hardware changes. Search then finds information by title, body text, or attributes even when the relevant note is several levels down the tree.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Trilium’s interface and exact labels can change between releases. The structure and query examples below follow the behavior documented in the Trilium Notes User Guide; check the current guide if a control has a different name in your installation.

#1 Best Overall
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Build a small starter tree before adding detail

Begin with a deliberately small set of top-level notes. The following is a practical taxonomy, not an official Trilium standard:

Top-level note What belongs there Typical child notes
Homelab Scope, naming conventions, and a short inventory summary Services, Hosts, Network, Storage, Runbooks
Services Applications and infrastructure services you operate One note per service; deployment, operations, and recovery children as needed
Hosts Physical machines, virtual machines, containers, and other compute nodes Hardware, operating system, maintenance, or change-history notes
Network VLANs, DNS, addressing, routing, firewall, and access procedures One note per segment, device, or procedure
Storage Arrays, datasets, shares, disks, and retention policies Per-system details, capacity records, and restore procedures
Runbooks Step-by-step actions used during maintenance or incidents Upgrade, outage, certificate, restore, and emergency procedures

Keep the first level broad enough that you can remember where to look. Do not create a new branch for every noun. A single service note can hold its normal operating instructions until those instructions become long, change at a different rate, or need their own links and history.

Choose a useful note boundary

Create a separate note when at least one of these conditions is true:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • The subject has a distinct lifecycle, such as a service that can be retired independently.
  • People need to search for it directly by name.
  • It requires its own procedure, configuration history, or troubleshooting record.
  • It must be linked from several other notes, such as a host or dataset used by multiple services.

Keep closely related facts together when splitting them would force readers to open many notes for one routine task. A service overview should state what the service does and where it runs, while a separate recovery child can contain the longer, less frequently used procedure.

Use restrained metadata that answers recurring questions

Trilium attributes provide searchable metadata. Labels are useful when you repeatedly ask the same kind of question across the tree; relations are useful when a reader must move from one note to another. A modest vocabulary is easier to remember and produces more reliable searches than tagging every term.

A practical label vocabulary

Start with labels such as #service, #host, #status, and #environment. Add a label only when it supports a recurring retrieval task, for example finding every production service or every note that describes a host. Keep values consistent: choose one spelling for an environment and one status vocabulary rather than mixing variants such as prod, production, and live.

Labels should complement clear titles, not replace them. A note titled “Prometheus on monitor-vm” is easier to recognize than a note with a generic title and a long list of tags. Put distinctive names, addresses, service names, and product-independent identifiers in the title or body so ordinary full-text search can find them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use relations for topology and dependencies

Use a relation when the connection itself matters: a service runs on a particular virtual machine, a dataset backs a service, or a firewall procedure applies to a network segment. A relation lets the reader follow that connection directly instead of relying on a shared keyword. Keep the target notes stable and meaningful; linking to a precise host or storage note is more useful than linking to a broad category note.

Rank #2
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Be cautious with inherited attributes

Trilium can inherit attributes from an ancestor note. Inheritance is appropriate when the property genuinely applies to all descendants, such as a branch representing one environment. It is dangerous when a parent contains mixed systems. If a parent labeled environment=production later gains a development child, searches and automation may report the wrong state. Apply attributes at the narrowest level that remains practical, and use inheritance only for properties that descendants should share.

Create templates for repeatable service and host entries

Templates can initialize note content and attributes and can duplicate a child-note structure. That makes them suitable for recurring service, host, and runbook entries. A template is a starting point, not a claim that Trilium has built-in fields for your infrastructure; the headings below are documentation choices you control.

Service template

Create a service template with prompts or headings for:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Purpose and owner
  • Hostname, virtual machine, or container
  • URLs, ports, and listening interfaces
  • Dependencies, including host, database, storage, and network requirements
  • Data location and retention expectations
  • Backup method and the last restore verification
  • Update procedure and rollback notes
  • Recovery steps and health checks

You can add child notes for Deployment, Operations, Change history, and Recovery. Duplicating that child structure keeps every new service recognizable without forcing all services into identical prose.

Host template

A host template can include hardware or virtual-resource details, operating system and version, address and naming information, storage assignments, monitoring, maintenance windows, and decommissioning notes. Add child notes for hardware changes, operating-system upgrades, and incident history when those records would otherwise make the inventory note unwieldy.

Runbook template

For a runbook, use headings such as Preconditions, Impact, Commands or UI path, Verification, Rollback, and Escalation. Put destructive commands in code blocks and state the expected result after each significant step. Include a “last verified” date so an old procedure is visible as a maintenance item rather than mistaken for current truth.

Search titles, content, and attributes in layers

Trilium search covers note titles, note content, and attributes. Start with the terms you remember, then narrow the result set only when necessary.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Full-text searches

Search for a distinctive term such as proxmox to find matching titles and content. Include alternate names that operators actually use in the text of a note: a service’s short name, its DNS name, and an internal identifier can all be valuable search terms. Avoid relying on memory of the tree location when a direct text search is faster.

Rank #3
YOTUO 1TB External Hard Drive, Portable Storage Expansion HDD, USB 3.0 & USB-C for PC, Mac, Desktop, Laptop, Smartphone, PS4, Xbox One, Xbox 360, Office & Game, Black
  • 【Versatile Storage Expansion – For Gaming, Work & Everyday Use】 Running out of space on your PS5 or Xbox Series X/S? This external hard drive lets you store and play PS4 / Xbox One games directly, instantly freeing up your console’s internal storage for next‑gen titles. At the same time, it handles work file backups, media libraries, and cross‑device data transfers with ease. One drive, all your needs. *(Note: PS5 / Xbox Series X|S games cannot be run or stored directly from the external hard drive. However, by offloading your PS4 / Xbox One games, you can free up valuable space for newer titles.)*
  • 【Patented Silicone Sleeve – Data Protection You Can Count On】 Worried about drops? We’ve got you covered. The patented built‑in silicone sleeve acts like a shock‑absorbing armor, cushioning your drive against bumps and falls. Whether it’s important work documents, precious family photos, or hard‑earned game saves, your data deserves this level of protection.
  • 【Plug & Play, Compatible with Computers & Consoles】 No complicated setup—just plug in and go. Works seamlessly with Windows, Mac, and Linux computers, as well as PS4, PS5, Xbox One, and Xbox Series X/S. Process files at the office, back up data at home, or enjoy gaming in your downtime—one drive handles all your devices, simply and hassle‑free.
  • 【USB 3.0 Ultra‑Fast Transfer – No More Waiting】 Tired of watching progress bars crawl? With USB 3.0 speeds up to 5Gbps, large files transfer in seconds. Whether you’re moving work documents, transferring hundreds of gigs of games, or backing up a year’s worth of photos, you get more done in less time.
  • 【Sleek, Lightweight, and Ready to Go】 Weighing just 0.16 kg—lighter than a can of soda—this compact drive features a stylish mirror‑and‑frosted finish. Toss it in your bag and go, whether you’re heading to the office, visiting a friend for a gaming session, or giving a presentation on the road.

Combine text and labels

The documented query style combines full-text text with an attribute expression. For example, proxmox #service finds notes matching “proxmox” that also carry the service label. This is useful when a common word appears in incident notes, host notes, and service notes but you want only service entries.

Filter by an attribute value

An attribute condition such as #status = 'active' can find notes whose status is active. Use the exact spelling and value conventions you established for your labels. If a result is unexpectedly empty, inspect a known note to confirm that the attribute name and value match the query rather than assuming the search engine failed.

Scope by ancestor and depth

Full search can be restricted to an ancestor and a depth. Use this when a term is common across the homelab but you need results only under Services, Hosts, or a particular environment branch. A shallow depth limits the search to the selected note and its immediate descendants; a deeper setting includes more of the subtree. Scoping is often clearer than inventing additional labels for every organizational boundary.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Save searches that represent operating questions

Save searches you expect to run repeatedly, such as active services, notes needing a backup review, or recovery procedures under Runbooks. Name each saved search after the question it answers, not after the syntax. Revisit saved searches after changing your label vocabulary or tree structure so they continue to reflect the information you intend to retrieve.

Document the parts of a homelab people actually operate

Services

Record the service’s purpose, endpoint, runtime location, dependencies, data path, update method, and recovery procedure. State what “healthy” means: a URL response, a systemd status, a container health check, or another observable result. Link the service to its host, storage, and network notes when those relationships are operationally important.

Hosts

For each physical or virtual host, record its role, operating system, address, resource limits, storage, and access method. Do not place secrets in ordinary documentation. Instead, identify where credentials are managed and describe the non-secret steps needed to obtain authorized access.

Network

Document naming, address ranges, VLAN purpose, DNS dependencies, firewall rules, and the procedure for adding or changing a device. A short explanation of why a rule exists is often more valuable than a copied rule list during an outage.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Storage and backups

Identify datasets, shares, mount points, retention expectations, and which services depend on them. Distinguish a backup copy from a replica or cache, and record how to restore a representative file and an entire service. Link storage notes to the services that rely on them so a planned change exposes its dependencies.

Rank #4
YOTUO 500GB External Hard Drive, Portable Storage Expansion HDD, USB 3.0 & USB-C for PC, Mac, Desktop, Laptop, Smartphone, PS4, Xbox One, Xbox 360, Office & Game Black
  • 【Versatile Storage Expansion – For Gaming, Work & Everyday Use】 Running out of space on your PS5 or Xbox Series X/S? This external hard drive lets you store and play PS4 / Xbox One games directly, instantly freeing up your console’s internal storage for next‑gen titles. At the same time, it handles work file backups, media libraries, and cross‑device data transfers with ease. One drive, all your needs. *(Note: PS5 / Xbox Series X|S games cannot be run or stored directly from the external hard drive. However, by offloading your PS4 / Xbox One games, you can free up valuable space for newer titles.)*
  • 【Patented Silicone Sleeve – Data Protection You Can Count On】 Worried about drops? We’ve got you covered. The patented built‑in silicone sleeve acts like a shock‑absorbing armor, cushioning your drive against bumps and falls. Whether it’s important work documents, precious family photos, or hard‑earned game saves, your data deserves this level of protection.
  • 【Plug & Play, Compatible with Computers & Consoles】 No complicated setup—just plug in and go. Works seamlessly with Windows, Mac, and Linux computers, as well as PS4, PS5, Xbox One, and Xbox Series X/S. Process files at the office, back up data at home, or enjoy gaming in your downtime—one drive handles all your devices, simply and hassle‑free.
  • 【USB 3.0 Ultra‑Fast Transfer – No More Waiting】 Tired of watching progress bars crawl? With USB 3.0 speeds up to 5Gbps, large files transfer in seconds. Whether you’re moving work documents, transferring hundreds of gigs of games, or backing up a year’s worth of photos, you get more done in less time.
  • 【Sleek, Lightweight, and Ready to Go】 Weighing just 0.16 kg—lighter than a can of soda—this compact drive features a stylish mirror‑and‑frosted finish. Toss it in your bag and go, whether you’re heading to the office, visiting a friend for a gaming session, or giving a presentation on the road.

Runbooks and incident records

Keep routine procedures in Runbooks and link them from the affected service or host. Record incidents separately when the timeline, symptoms, and corrective action would clutter the permanent procedure. After an incident, update the runbook with the verified fix rather than leaving the next operator to reconstruct it from the old incident note.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Back up the Trilium data, not just the visible notes

The official Trilium Notes User Guide describes the built-in automatic database backup as a basic solution and encourages an additional copy. Its backup guidance says: “This is only very basic backup solution, and you’re encouraged to add some better backup solution – e.g. backing up the Database to cloud / different computer etc.” Treat that as an operational requirement for a homelab, not as an optional convenience.

The data-directory guidance identifies the directory that contains the data needed for a backup. Preserve that directory with a separate backup system, such as storage on another computer, an off-site destination, or an external USB drive. No particular device or provider is required; the important properties are separation from the primary system and a restore process you can test.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical backup routine

  1. Locate the Trilium data directory specified by the current documentation for your installation.
  2. Stop or quiesce the instance if the documented procedure requires it, then copy the directory using your normal backup tool.
  3. Keep at least one copy on a different system or storage medium so a failure of the homelab host does not remove both copies.
  4. Protect the backup because notes may contain network details, infrastructure diagrams, and other sensitive operational information.
  5. Periodically restore a copy in a test location and open representative notes, attachments, and templates. A backup is useful only when the restore works.

Record the backup destination and the last successful restore test in your homelab documentation, but do not store the credentials needed to access that destination in the same note.

Troubleshoot common organization and search problems

Search returns too many notes

Use a distinctive term, add a label expression such as #service, or scope the search to the relevant ancestor and depth. If the same word appears in many incident records, improve titles and add a stable label to the notes you actually want to retrieve.

Search returns nothing

Check spelling, attribute name, and value capitalization. Search the distinctive word alone first, then add the attribute condition. Also verify that the note is inside the ancestor subtree you selected and that the depth is not too shallow.

Inherited metadata misclassifies notes

Inspect the ancestor attributes and remove inheritance where descendants do not share the property. Apply the attribute directly to the notes that need it, then rerun the saved searches that depend on that value.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The tree has become difficult to navigate

Move operational detail into child notes only when it has a separate purpose. Merge branches that differ only by arbitrary grouping, improve note titles, and use relations for cross-cutting connections instead of duplicating the same text in several places.

A template no longer matches reality

Update the template and decide whether existing notes should be migrated. Keep the template focused on durable questions; avoid adding fields merely because one service has an unusual requirement. A short, current template is safer than a comprehensive form that operators stop completing.

A 30-minute setup checklist

  1. Create the Homelab root note and the Services, Hosts, Network, Storage, and Runbooks children.
  2. Add one real service note and one host note using clear, searchable titles.
  3. Choose a small label vocabulary, write its spelling conventions in the Homelab note, and apply only the labels that answer recurring questions.
  4. Create relations between the sample service, its host, and its storage or network dependencies.
  5. Build a service template with deployment, operations, backup, update, and recovery headings.
  6. Run a full-text search, a combined query such as proxmox #service, and an attribute query such as #status = 'active'.
  7. Scope one search by ancestor and depth, then save it with a descriptive name.
  8. Locate the Trilium data directory, configure an additional backup destination, and write down how you would restore it.

This approach keeps the tree understandable for a new operator while preserving the metadata and relationships that make a larger homelab searchable. Expand the structure only when a real retrieval or operating problem demonstrates that another branch, label, relation, or template section is needed.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.