# Operations

> Install, build, secure, upgrade, back up and recover pgredis.

---

LLMS index: [llms.txt](/llms.txt)

---

A `pgredis` deployment runs as two components alongside PostgreSQL 18: the `pg_redis` C extension inside the database server and the stateless `pgredis` Go gateway on the Redis wire port. Because all persistent state lives in PostgreSQL tables and write-ahead logs, day-two operations use standard PostgreSQL tooling for roles, upgrades, backups, and crash recovery.

## Guides {#guides}

{.cards}
- ### [Install](/docs/redis/operations/install/)
  Install `pgredis` and `pg_redis` from a Linux development archive, enable the extension, and verify the deployment.
- ### [Build from source](/docs/redis/operations/build/)
  Required compilers, headers, Makefile targets, and test suites for building `pgredis` and `pg_redis` from source.
- ### [Authentication and permissions](/docs/redis/operations/security/)
  Configure native PostgreSQL role authentication, Redis ACL mode, SQL capability grants, and TLS listeners.
- ### [Upgrade and recovery](/docs/redis/operations/upgrade/)
  Run `ALTER EXTENSION pg_redis UPDATE`, configure the background maintenance worker, and back up or restore data.

---

Section pages:

- [Install](/docs/redis/operations/install/): Install the gateway and extension from a package, and what to check afterwards.
- [Build from source](/docs/redis/operations/build/): Toolchain, build targets and test targets.
- [Authentication and permissions](/docs/redis/operations/security/): PostgreSQL-role authentication, Redis ACL mode, TLS and the grants each role needs.
- [Upgrade and recovery](/docs/redis/operations/upgrade/): Extension upgrades, backups and recovery with PostgreSQL tools.
