# Source Docs > The Source Stack Documentation This file contains links to documentation sections following the llmstxt.org standard. ## Table of Contents - [Backup & Restore](https://docs.source.network/defradb/backup-restore/): It is currently not possible to do a full backup of DefraDB that includes the history of changes through the Merkle DAG. However, DefraDB supports ... - [Aggregating functions](https://docs.source.network/defradb/dql/aggregating-functions/): The aggregating functions `MIN`, `MAX`, `SUM`, `AVG`, and `COUNT` allow you to compute operations on groups of documents. - [Rename result fields (aliases)](https://docs.source.network/defradb/dql/aliases/): Aliases allow you to rename fields and entire query results with identifiers of your choice. - [Filter documents](https://docs.source.network/defradb/dql/filter/): The filter object allow you to specify criteria for selecting documents. Filter on single fields, a combination of fields, relationship sub-objects. - [Group results](https://docs.source.network/defradb/dql/group/): The groupBy argument allows you to group results into buckets basing on the value of one or more fields. - [DQL Query Language overview](https://docs.source.network/defradb/dql/): The DefraDB Query Language (DQL) allows you to store and query data in a DefraDB node with query and mutation blocks, based on GraphQL. - [Limit and paginate results](https://docs.source.network/defradb/dql/limit-paginate/): The `limit` and `offset` keywords allow you to control how many records a query will return. - [Create new documents](https://docs.source.network/defradb/dql/mutation-create/): How to use the add_ GraphQL mutation to insert new documents in DefraDB. - [Delete documents](https://docs.source.network/defradb/dql/mutation-delete/): How to use the delete_ GraphQL mutation to delete documents in DefraDB. - [Query the database](https://docs.source.network/defradb/dql/mutation-query/): How to retrieve documents from a DefraDB database. - [Update existing documents](https://docs.source.network/defradb/dql/mutation-update/): How to use the update_ GraphQL mutation to update documents in DefraDB. - [Order results](https://docs.source.network/defradb/dql/order/): The order object allows you to specify an ordering for the documents returned by a DQL query. - [Profile and explain queries](https://docs.source.network/defradb/dql/profile-query-explain/): This guide shows you how to run Explain requests in DefraDB to understand query execution and identify optimization opportunities. - [Query variables](https://docs.source.network/defradb/dql/variables/): How and why to use variables in GraphQL queries in DefraDB. - [Deployment & Configuration](https://docs.source.network/defradb/install/deploy-config/): Information and steps to deploy and configure a DefraDB instance. - [Install](https://docs.source.network/defradb/install/): How to download, compile, install, and start a DefraDB instance. - [Peer-to-peer setup](https://docs.source.network/defradb/p2p/): DefraDB uses peer-to-peer (P2P) networking for data exchange, synchronization, and replication of documents and commits. P2P does not require a cen... - [Publisher-Subscriber](https://docs.source.network/defradb/p2p/pub-sub/): How to configure a group of DefraDB nodes to communicate via the Pub-Sub model, sharing a collection. - [Replicator](https://docs.source.network/defradb/p2p/replicator/): How to configure a DefraDB node to replicate data onto another node. - [Quickstart](https://docs.source.network/defradb/): DefraDB is the database for local-first applications centered around data privacy, time-traveling queries, multi-write architecture, and P2P synchr... - [Defradb](https://docs.source.network/defradb/references/cli/defradb/): DefraDB Edge Database - [Defradb_client](https://docs.source.network/defradb/references/cli/defradb_client/): Interact with a DefraDB node - [Defradb_client_acp](https://docs.source.network/defradb/references/cli/defradb_client_acp/): Interact with the access control system(s) of a DefraDB node - [Defradb_client_acp_document](https://docs.source.network/defradb/references/cli/defradb_client_acp_document/): Interact with the document access control system of a DefraDB node - [Defradb_client_acp_document_policy](https://docs.source.network/defradb/references/cli/defradb_client_acp_document_policy/): Interact with the document acp policy features of DefraDB instance - [Defradb_client_acp_document_policy_add](https://docs.source.network/defradb/references/cli/defradb_client_acp_document_policy_add/): Add new policy - [Defradb_client_acp_document_relationship](https://docs.source.network/defradb/references/cli/defradb_client_acp_document_relationship/): Interact with the document acp relationship features of DefraDB instance - [Defradb_client_acp_document_relationship_add](https://docs.source.network/defradb/references/cli/defradb_client_acp_document_relationship_add/): Add new relationship - [Defradb_client_acp_document_relationship_delete](https://docs.source.network/defradb/references/cli/defradb_client_acp_document_relationship_delete/): Delete relationship - [Defradb_client_acp_node](https://docs.source.network/defradb/references/cli/defradb_client_acp_node/): Interact with the node access control system of a DefraDB node - [Defradb_client_acp_node_disable](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_disable/): Disable the node access control - [Defradb_client_acp_node_re Enable](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_re-enable/): Re-enable the node access control - [Defradb_client_acp_node_relationship](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_relationship/): Interact with the node acp relationship features of DefraDB instance - [Defradb_client_acp_node_relationship_add](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_relationship_add/): Add new relationship - [Defradb_client_acp_node_relationship_delete](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_relationship_delete/): Delete relationship - [Defradb_client_acp_node_status](https://docs.source.network/defradb/references/cli/defradb_client_acp_node_status/): Check the node access control status - [Defradb_client_action](https://docs.source.network/defradb/references/cli/defradb_client_action/): Manage DefraDB actions - [Defradb_client_action_list](https://docs.source.network/defradb/references/cli/defradb_client_action_list/): List action information. - [Defradb_client_backup](https://docs.source.network/defradb/references/cli/defradb_client_backup/): Interact with the backup utility - [Defradb_client_backup_export](https://docs.source.network/defradb/references/cli/defradb_client_backup_export/): Export the database to a file - [Defradb_client_backup_import](https://docs.source.network/defradb/references/cli/defradb_client_backup_import/): Import a JSON data file to the database - [Defradb_client_block](https://docs.source.network/defradb/references/cli/defradb_client_block/): Manage blocks of a running DefraDB instance - [Defradb_client_block_verify Signature](https://docs.source.network/defradb/references/cli/defradb_client_block_verify-signature/): Verify the signature of a block - [Defradb_client_collection](https://docs.source.network/defradb/references/cli/defradb_client_collection/): Interact with a collection. - [Defradb_client_collection_add](https://docs.source.network/defradb/references/cli/defradb_client_collection_add/): Add new collection - [Defradb_client_collection_delete](https://docs.source.network/defradb/references/cli/defradb_client_collection_delete/): Delete collections - [Defradb_client_collection_describe](https://docs.source.network/defradb/references/cli/defradb_client_collection_describe/): View collection version. - [Defradb_client_collection_patch](https://docs.source.network/defradb/references/cli/defradb_client_collection_patch/): Patch existing collection versions - [Defradb_client_collection_set Active](https://docs.source.network/defradb/references/cli/defradb_client_collection_set-active/): Set the active collection version - [Defradb_client_collection_truncate](https://docs.source.network/defradb/references/cli/defradb_client_collection_truncate/): Truncate the given collection - [Defradb_client_document](https://docs.source.network/defradb/references/cli/defradb_client_document/): Interact with documents. - [Defradb_client_document_add](https://docs.source.network/defradb/references/cli/defradb_client_document_add/): Add a new document. - [Defradb_client_document_delete](https://docs.source.network/defradb/references/cli/defradb_client_document_delete/): Delete documents by docID or filter. - [Defradb_client_document_get](https://docs.source.network/defradb/references/cli/defradb_client_document_get/): View document fields. - [Defradb_client_document_update](https://docs.source.network/defradb/references/cli/defradb_client_document_update/): Update documents by docID or filter. - [Defradb_client_dump](https://docs.source.network/defradb/references/cli/defradb_client_dump/): Dump the contents of DefraDB node-side - [Defradb_client_encrypted Index](https://docs.source.network/defradb/references/cli/defradb_client_encrypted-index/): Manage collections' encrypted indexes on a running DefraDB node - [Defradb_client_encrypted Index_delete](https://docs.source.network/defradb/references/cli/defradb_client_encrypted-index_delete/): Delete an encrypted index from a collection's field - [Defradb_client_encrypted Index_list](https://docs.source.network/defradb/references/cli/defradb_client_encrypted-index_list/): Lists the encrypted indexes in the database or for a specific collection - [Defradb_client_encrypted Index_new](https://docs.source.network/defradb/references/cli/defradb_client_encrypted-index_new/): Make a new encrypted index on a collection's field - [Defradb_client_index](https://docs.source.network/defradb/references/cli/defradb_client_index/): Manage collections' indexes of a running DefraDB instance - [Defradb_client_index_delete](https://docs.source.network/defradb/references/cli/defradb_client_index_delete/): Delete a collection's secondary index - [Defradb_client_index_list](https://docs.source.network/defradb/references/cli/defradb_client_index_list/): Shows the list indexes in the database or for a specific collection - [Defradb_client_index_new](https://docs.source.network/defradb/references/cli/defradb_client_index_new/): Make a new secondary index on a collection's field(s) - [Defradb_client_lens](https://docs.source.network/defradb/references/cli/defradb_client_lens/): Interact with the collection migration system of a running DefraDB instance - [Defradb_client_lens_add](https://docs.source.network/defradb/references/cli/defradb_client_lens_add/): Add a lens to the lens store - [Defradb_client_lens_list](https://docs.source.network/defradb/references/cli/defradb_client_lens_list/): List all stored lenses - [Defradb_client_lens_set](https://docs.source.network/defradb/references/cli/defradb_client_lens_set/): Set a collection migration within DefraDB - [Defradb_client_node Identity](https://docs.source.network/defradb/references/cli/defradb_client_node-identity/): Get the public information about the node's identity - [Defradb_client_node Options](https://docs.source.network/defradb/references/cli/defradb_client_node-options/): Get the node's configuration options as JSON - [Defradb_client_p2p](https://docs.source.network/defradb/references/cli/defradb_client_p2p/): Interact with the DefraDB P2P system - [Defradb_client_p2p_active Peers](https://docs.source.network/defradb/references/cli/defradb_client_p2p_active-peers/): Get list of active peer connections - [Defradb_client_p2p_collection](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection/): Configure the P2P collection system - [Defradb_client_p2p_collection_add](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection_add/): Add P2P collections - [Defradb_client_p2p_collection_delete](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection_delete/): Delete P2P collections - [Defradb_client_p2p_collection_list](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection_list/): List P2P collections - [Defradb_client_p2p_collection_sync Branchable](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection_sync-branchable/): Synchronize a branchable collection's DAG from the network - [Defradb_client_p2p_collection_sync Versions](https://docs.source.network/defradb/references/cli/defradb_client_p2p_collection_sync-versions/): Synchronize specific collection versions from the network - [Defradb_client_p2p_connect](https://docs.source.network/defradb/references/cli/defradb_client_p2p_connect/): Connect to one or more peers - [Defradb_client_p2p_disconnect](https://docs.source.network/defradb/references/cli/defradb_client_p2p_disconnect/): Disconnect from one or more peers - [Defradb_client_p2p_document](https://docs.source.network/defradb/references/cli/defradb_client_p2p_document/): Configure the P2P document system - [Defradb_client_p2p_document_add](https://docs.source.network/defradb/references/cli/defradb_client_p2p_document_add/): Add P2P documents - [Defradb_client_p2p_document_delete](https://docs.source.network/defradb/references/cli/defradb_client_p2p_document_delete/): Delete P2P documents - [Defradb_client_p2p_document_list](https://docs.source.network/defradb/references/cli/defradb_client_p2p_document_list/): List P2P documents - [Defradb_client_p2p_document_sync](https://docs.source.network/defradb/references/cli/defradb_client_p2p_document_sync/): Synchronize specific documents from the network - [Defradb_client_p2p_info](https://docs.source.network/defradb/references/cli/defradb_client_p2p_info/): Get peer info from a DefraDB node - [Defradb_client_p2p_replicator](https://docs.source.network/defradb/references/cli/defradb_client_p2p_replicator/): Configure the replicator system - [Defradb_client_p2p_replicator_add](https://docs.source.network/defradb/references/cli/defradb_client_p2p_replicator_add/): Add replicator(s) and start synchronization - [Defradb_client_p2p_replicator_delete](https://docs.source.network/defradb/references/cli/defradb_client_p2p_replicator_delete/): Delete replicator(s) and stop synchronization - [Defradb_client_p2p_replicator_list](https://docs.source.network/defradb/references/cli/defradb_client_p2p_replicator_list/): List all replicators - [Defradb_client_purge](https://docs.source.network/defradb/references/cli/defradb_client_purge/): Delete all persisted data and restart - [Defradb_client_query](https://docs.source.network/defradb/references/cli/defradb_client_query/): Send a DefraDB GraphQL query request - [Defradb_client_tx](https://docs.source.network/defradb/references/cli/defradb_client_tx/): Create, commit, and discard DefraDB transactions - [Defradb_client_tx_commit](https://docs.source.network/defradb/references/cli/defradb_client_tx_commit/): Commit a DefraDB transaction. - [Defradb_client_tx_discard](https://docs.source.network/defradb/references/cli/defradb_client_tx_discard/): Discard a DefraDB transaction. - [Defradb_client_tx_new](https://docs.source.network/defradb/references/cli/defradb_client_tx_new/): Create a new DefraDB transaction. - [Defradb_client_view](https://docs.source.network/defradb/references/cli/defradb_client_view/): Manage views within a running DefraDB instance - [Defradb_client_view_add](https://docs.source.network/defradb/references/cli/defradb_client_view_add/): Add new view - [Defradb_client_view_refresh](https://docs.source.network/defradb/references/cli/defradb_client_view_refresh/): Refresh views. - [Defradb_identity](https://docs.source.network/defradb/references/cli/defradb_identity/): Interact with identity features of DefraDB instance - [Defradb_identity_new](https://docs.source.network/defradb/references/cli/defradb_identity_new/): Generate a new identity - [Defradb_keyring](https://docs.source.network/defradb/references/cli/defradb_keyring/): Manage DefraDB private keys - [Defradb_keyring_add](https://docs.source.network/defradb/references/cli/defradb_keyring_add/): Add a private key - [Defradb_keyring_get](https://docs.source.network/defradb/references/cli/defradb_keyring_get/): Get a private key - [Defradb_keyring_list](https://docs.source.network/defradb/references/cli/defradb_keyring_list/): List all keys in the keyring - [Defradb_keyring_new](https://docs.source.network/defradb/references/cli/defradb_keyring_new/): Create new private keys - [Defradb_sdl](https://docs.source.network/defradb/references/cli/defradb_sdl/): Utilities to interact with the DefraDB SDL - [Defradb_sdl_generate](https://docs.source.network/defradb/references/cli/defradb_sdl_generate/): Generate full GraphQL formatted schema. - [Defradb_server Dump](https://docs.source.network/defradb/references/cli/defradb_server-dump/): Dumps the state of the entire database - [Defradb_start](https://docs.source.network/defradb/references/cli/defradb_start/): Start a DefraDB node - [Defradb_version](https://docs.source.network/defradb/references/cli/defradb_version/): Display the version information of DefraDB and its components - [Defradb_wizard](https://docs.source.network/defradb/references/cli/defradb_wizard/): Runs the DefraDB setup wizard - [Configuration settings](https://docs.source.network/defradb/references/config/): DefraDB list of configuration settings. - [Database API](https://docs.source.network/defradb/references/database-internals/database-api/): So far, all the queries and mutations that have been discussed were specific to the stored and managed developer or user-created objects. However, ... - [Execution Flow](https://docs.source.network/defradb/references/database-internals/execution-flow/): Understanding the execution flow of a query can help understand its structure, and help you with your queries. Query execution is broken down into ... - [Private keys](https://docs.source.network/defradb/references/keys/): Information on the private keys DefraDB uses to encrypt or sign data. - [Collections](https://docs.source.network/defradb/schema/collections/): How to create, list, truncate, delete collections. What data types and relationships are available. - [Indexes](https://docs.source.network/defradb/schema/indexes/): The `@index` directive allows you to create indexes on selected properties to speed up data lookup. - [Schema Migration](https://docs.source.network/defradb/schema/migrate/): :::tip[Key Points] - [Authentication](https://docs.source.network/defradb/security/authentication/): How to authenticate CLI and HTTP requests (JWT tokens) when Document or Node Access Control is enabled. - [Restrict documents access](https://docs.source.network/defradb/security/document-access-control/): Set up Document Access Control to restrict who is allowed to do what on the documents of a collection. - [Identities](https://docs.source.network/defradb/security/identity/): Identity keys are hex-encoded and identify actors. The keys authenticate all CLI/HTTP requests when Document/Node Access Control is enabled. - [Restrict node management operations](https://docs.source.network/defradb/security/node-access-control/): Set up Node Access Control to restrict who is allowed to perform administration operations on the instance. - [Explore the history of documents](https://docs.source.network/defradb/time-travel/): DefraDB's data model is based on [MerkleCRDTs](https://arxiv.org/pdf/2004.00107.pdf). Each document has a graph of all of its updates, similar to G... - [Transactions](https://docs.source.network/defradb/transactions/): Transactions allow you to group together a number of database operations that must either succeed together or not at all. - [LensVM](https://docs.source.network/lensvm/): LensVM is a bi-directional data transformation engine originally developed for DefraDB, now available as a standalone tool. It enables transforming... - [Distributed Key Generation](https://docs.source.network/orbis/concepts/dkg/): Distributed Key Generation (DKG) is a cryptographic protocol that enables a group of participants to collaboratively generate a public-private keyp... - [Multi-Party Computation](https://docs.source.network/orbis/concepts/mpc/): Multi-Party Computation (MPC) is a cryptographic technique that allows multiple parties to jointly compute a function over their inputs while keepi... - [Proxy Re-Encryption](https://docs.source.network/orbis/concepts/pre/): ![Proxy ReEncryption](/img/orbis/pre.png) - [Proactive Secret Sharing](https://docs.source.network/orbis/concepts/pss/): Proactive Secret Sharing (PSS) is a cryptographic protocol that enhances the security of a shared secret over time by periodically refreshing the s... - [Installing Orbis](https://docs.source.network/orbis/getting-started/install/): `docker pull ghcr.io/sourcenetwork/orbis:0.2.3` - [Create a Secret Ring](https://docs.source.network/orbis/getting-started/create/): ***To skip ahead to using an existing Secret Ring deployment, - [Setup Authorization Policy](https://docs.source.network/orbis/getting-started/policy/): This section will assume you are using the `Zanzi` Authorization GRPC Service that is included in the example `docker-compose.yaml` file from the p... - [Store, Recover, and Share Secrets](https://docs.source.network/orbis/getting-started/secrets/): To store a secret in a ring, theres a series of steps that clients must execute (thankfully our CLI Client does this all for you). The TLDR is that... - [Overview](https://docs.source.network/orbis/): Orbis is a decentralized Secrets Management engine powered by [Threshold-Proxy ReEncryption](asd) and [Multi-Party Computation](asd) to enable trus... - [Config](https://docs.source.network/orbis/reference/config/): > TODO - [Manifest](https://docs.source.network/orbis/reference/manifest/): ```json