Maintenance › Disk: what uses the disk, Docker prune, remote media retention

A full disk is how small Matrix servers usually die, mostly from media
cached from other servers. Choice rows now wrap onto as many lines as
they need instead of going one per line, so the seventh tab fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vvvomitandClaude Opus 5.5 committed 2026-10-29 04:37:27 +03:30
1 parent ee4febfe7e
commit 7a127ada16
17 files changed
+168 -42

No files matched your search

+6 -1
View File
@@ -259,7 +259,12 @@ or the [Telegram group](https://t.me/+6UwIu9F4gZQxNjM0).
*Services* starts, stops or reinstalls every service or one group of
them (`start-all`, `stop-group`, `install-SERVICE`); reinstalling
everything runs `setup-all`, which also removes the components you've
turned off, where a normal update leaves them installed. *Vacuum* runs
turned off, where a normal update leaves them installed. *Disk* shows
what takes the server's disk (free space, the largest directories in
`/matrix`, Synapse's local and cached remote media, Docker's images),
removes Docker data nothing uses (`run-docker-prune`), and on Synapse
sets how many days media cached from other servers is kept
(`media_retention`), saved so later updates keep it. *Vacuum* runs
one of the five Postgres `VACUUM` presets, *Upgrade* moves Postgres to
its newest major version (keeping the old data), *Compress* runs
rust-synapse-compress-state, *Tags* runs any playbook tags with extra
+6
View File
@@ -48,6 +48,7 @@ const (
StepCopyData
StepTags
StepUninstall
StepDisk
)
var stepNames = map[Step]string{
@@ -74,6 +75,7 @@ var stepNames = map[Step]string{
StepCopyData: "Copy /matrix to the new server",
StepTags: "Run the playbook",
StepUninstall: "Remove everything",
StepDisk: "Measure the disk",
}
func (s Step) String() string { return stepNames[s] }
@@ -99,6 +101,7 @@ const (
ActionMigrate
ActionTags // run Options.Tags (docs/playbook-tags.md)
ActionUninstall // the playbook's remove-all (docs/uninstalling.md)
ActionDisk // what takes the server's disk space
)
// Plan lists the steps an action runs, in order.
@@ -134,6 +137,8 @@ func Plan(a Action) []Step {
return []Step{StepAnsible, StepInventory, StepTags}
case ActionUninstall:
return []Step{StepAnsible, StepInventory, StepUninstall}
case ActionDisk:
return []Step{StepAnsible, StepInventory, StepDisk}
case ActionMigrate:
return []Step{StepAnsible, StepPlaybook, StepInventory, StepRoles, StepStopOld, StepCopyData, StepMirrors, StepInstall, StepSelfCheck}
}
@@ -305,6 +310,7 @@ func (r *Runner) run(ctx context.Context) error {
StepCopyData: r.copyData,
StepTags: r.tags,
StepUninstall: r.uninstall,
StepDisk: r.disk,
}
plan := Plan(r.opts.Action)
r.emit(Event{Plan: plan})
+40 -4
View File
@@ -48,12 +48,48 @@ const uninstallPlay = `- name: Remove everything the playbook installed
// (docs/uninstalling.md): every matrix-* service, the Docker images and
// /matrix go. Docker itself stays.
func (r *Runner) uninstall(ctx context.Context) error {
r.begin(StepUninstall)
play := filepath.Join(r.cfg.PlaybookDir, "inventory", "interzone-uninstall.yml")
if err := os.WriteFile(play, []byte(uninstallPlay), 0o644); err != nil {
return r.play(ctx, StepUninstall, "uninstall", uninstallPlay)
}
const diskPlay = `- name: Measure the disk
hosts: matrix_servers
become: true
gather_facts: false
tasks:
- name: Measure
ansible.builtin.shell: |
df -h / /matrix 2>/dev/null | awk '!seen[$0]++'
echo
echo "Largest under /matrix:"
du -xsh /matrix/* 2>/dev/null | sort -rh | head -12
if [ -d /matrix/synapse/storage/media-store ]; then
echo
echo "Synapse media (remote_* is media cached from other servers):"
du -xsh /matrix/synapse/storage/media-store/* 2>/dev/null | sort -rh
fi
echo
docker system df 2>/dev/null
register: interzone_disk
changed_when: false
- name: Disk usage
ansible.builtin.debug:
var: interzone_disk.stdout_lines
`
// disk shows what takes the server's disk space: free space, the largest
// directories under /matrix, Synapse's media and Docker's images.
func (r *Runner) disk(ctx context.Context) error {
return r.play(ctx, StepDisk, "disk", diskPlay)
}
// play runs one of interzone's own plays against the server.
func (r *Runner) play(ctx context.Context, step Step, name, play string) error {
r.begin(step)
path := filepath.Join(r.cfg.PlaybookDir, "inventory", "interzone-"+name+".yml")
if err := os.WriteFile(path, []byte(play), 0o644); err != nil {
return err
}
return r.exec(ctx, StepUninstall, r.cfg.PlaybookDir, "ansible-playbook", "-i", "inventory/hosts", play)
return r.exec(ctx, step, r.cfg.PlaybookDir, "ansible-playbook", "-i", "inventory/hosts", path)
}
// ServiceGroups are the service groups the playbook can start, stop or
+9 -3
View File
@@ -444,10 +444,16 @@ func (f *form) renderField(fl *field, idx int, focused bool, width int) string {
}
parts = append(parts, mark(f.id+"c"+strconv.Itoa(idx)+"."+strconv.Itoa(i), opt))
}
body = strings.Join(parts, " ")
if lipgloss.Width(body) > inner {
body = strings.Join(parts, "\n") // too narrow for a row: one per line
// as many to a row as fit
var rows []string
for _, p := range parts {
if n := len(rows); n > 0 && lipgloss.Width(rows[n-1])+2+lipgloss.Width(p) <= inner {
rows[n-1] += " " + p
} else {
rows = append(rows, p)
}
}
body = strings.Join(rows, "\n")
case fArea:
fl.area.SetWidth(max(20, inner))
body = fl.area.View()
+49
View File
@@ -1,6 +1,7 @@
package ui
import (
"errors"
"slices"
"strconv"
"strings"
@@ -24,6 +25,7 @@ type maintTask struct{ id, label, help string }
var maintTasks = []maintTask{
{"services", "Services", "Start, stop or reinstall every service or one group of them. Reinstalling everything also removes the components you've turned off (setup-all), which a normal update leaves in place."},
{"disk", "Disk", "See what takes the server's disk space, remove Docker images nothing uses, or have Synapse delete media cached from other servers after a while. Media from other servers is usually what fills a small server's disk."},
{"vacuum", "Vacuum", "Give the disk space of deleted rows back (Postgres VACUUM). Do it after deleting a lot, e.g. after compressing Synapse's state."},
{"pgupgrade", "Upgrade", "Move the database to the newest Postgres major version: it is dumped, a new empty server started and the dump restored. The old data directory is kept until you delete it."},
{"compress", "Compress", "Shrink Synapse's _state tables with rust-synapse-compress-state; the most effective way to reduce the database of a server in large rooms. Safe while Synapse runs, but back up first."},
@@ -38,6 +40,9 @@ var vacuumLabels = []string{
"Plain + ANALYZE (services keep running)", "ANALYZE only (fastest)",
}
// remoteMediaVar is how long Synapse keeps media cached from other servers.
const remoteMediaVar = "matrix_synapse_media_retention_remote_media_lifetime"
const pgUpgradeBackup = "/matrix/postgres/data-auto-upgrade-backup"
// maintainMsg opens Maintenance on one task.
@@ -78,6 +83,10 @@ func (s *maintenanceScreen) available() []maintTask {
func (s *maintenanceScreen) enter(c *config.Config) tea.Cmd {
s.cfg, s.err = c, ""
diskIDs, diskLabels := []string{"usage", "prune"}, []string{"Show what uses the disk", "Remove unused Docker data"}
if c.Homeserver == "synapse" {
diskIDs, diskLabels = append(diskIDs, "retention"), append(diskLabels, "Delete old media from other servers")
}
var ids, labels []string
for _, t := range s.available() {
ids, labels = append(ids, t.id), append(labels, t.label)
@@ -90,6 +99,9 @@ func (s *maintenanceScreen) enter(c *config.Config) tea.Cmd {
textField("group", "Service group", "", "everything",
"Empty for every service, or one group: synapse, postgres, traefik, element, mautrix-telegram, bots, bridges…"),
choiceField("do", "Do", []string{"start", "stop", "reinstall"}, []string{"Start or restart", "Stop", "Reinstall"}, "start", ""),
choiceField("disk", "Do", diskIDs, diskLabels, diskIDs[0], ""),
textField("keep", "Keep media from other servers for (days)", strings.TrimSuffix(c.Overrides[remoteMediaVar], "d"), "forever",
"Empty keeps it forever. Synapse fetches it again if someone opens it later; your own users' uploads are never deleted."),
choiceField("preset", "Kind of vacuum", vacuumPresets, vacuumLabels, vacuumPresets[0],
"The FULL kinds need about as much free disk space as the database takes, and stop every service while they run."),
textField("backup", "Keep the old data in", pgUpgradeBackup, pgUpgradeBackup, "Stays until you delete it."),
@@ -102,6 +114,8 @@ func (s *maintenanceScreen) enter(c *config.Config) tea.Cmd {
return func() bool { return !slices.Contains(ids, f.value("task")) }
}
f.get("group").hidden, f.get("do").hidden = on("services"), on("services")
f.get("disk").hidden = on("disk")
f.get("keep").hidden = func() bool { return f.value("task") != "disk" || f.value("disk") != "retention" }
f.get("preset").hidden = on("vacuum")
f.get("backup").hidden = on("pgupgrade")
f.get("min").hidden = on("compress")
@@ -165,6 +179,19 @@ func (s *maintenanceScreen) options() (deploy.Options, string) {
o.Vars = map[string]string{"group": g}
o.Tags = map[string]string{"start": "start-group", "stop": "stop-group", "reinstall": "install-" + g + ",start-group"}[do]
o.Title = map[string]string{"start": "Restart ", "stop": "Stop ", "reinstall": "Reinstall "}[do] + g
case "disk":
switch f.value("disk") {
case "usage":
o.Action = deploy.ActionDisk
case "prune":
o.Tags, o.Title = "run-docker-prune", "Remove unused Docker data"
case "retention":
if _, err := s.keepDays(); err != nil {
return o, err.Error()
}
o.Tags, o.Title = "install-synapse,start-group", "Apply Synapse's media retention"
o.Vars = map[string]string{"group": "synapse"}
}
case "vacuum":
o.Tags, o.Title = "run-postgres-vacuum", "Vacuum the database"
o.Vars = map[string]string{"postgres_vacuum_preset": f.value("preset")}
@@ -202,6 +229,19 @@ func (s *maintenanceScreen) options() (deploy.Options, string) {
return o, ""
}
// keepDays is the retention typed in, 0 for forever.
func (s *maintenanceScreen) keepDays() (int, error) {
v := strings.TrimSpace(s.form.value("keep"))
if v == "" || v == "forever" {
return 0, nil
}
n, err := strconv.Atoi(v)
if err != nil || n < 1 {
return 0, errors.New("The days to keep media for must be a whole number, or empty for forever.")
}
return n, nil
}
// databaseShell runs psql on the server in this terminal, the TUI paused.
func databaseShell(c *config.Config) tea.Cmd {
return tea.ExecProcess(deploy.DatabaseShell(c), func(err error) tea.Msg {
@@ -220,6 +260,15 @@ func (s *maintenanceScreen) run() tea.Cmd {
if o.Action == deploy.ActionUninstall {
s.form.get("confirm").input.SetValue("")
}
if s.form.value("task") == "disk" && s.form.value("disk") == "retention" {
// Saved like a Tuning change, so later deploys keep it.
if days, _ := s.keepDays(); days == 0 {
delete(s.cfg.Overrides, remoteMediaVar)
} else {
s.cfg.Overrides[remoteMediaVar] = strconv.Itoa(days) + "d"
}
_ = s.cfg.Save()
}
return run(o)
}
+19 -1
View File
@@ -21,7 +21,7 @@ func TestMaintenance(t *testing.T) {
set := func(task string, values map[string]string) {
deliver(a, maintainMsg(task))
for k, v := range values {
if k == "do" || k == "preset" {
if k == "do" || k == "preset" || k == "disk" {
f := s.form.get(k)
for i, c := range f.choices {
if c == v {
@@ -44,6 +44,10 @@ func TestMaintenance(t *testing.T) {
{"services", map[string]string{"do": "reinstall"}, deploy.ActionTags, "setup-all,ensure-matrix-users-created,start", nil, false},
{"services", map[string]string{"group": "postgres", "do": "stop"}, deploy.ActionTags, "stop-group", map[string]string{"group": "postgres"}, false},
{"services", map[string]string{"group": "mautrix-slack", "do": "reinstall"}, deploy.ActionTags, "install-mautrix-slack,start-group", map[string]string{"group": "mautrix-slack"}, false},
{"disk", map[string]string{"disk": "usage"}, deploy.ActionDisk, "", nil, false},
{"disk", map[string]string{"disk": "prune"}, deploy.ActionTags, "run-docker-prune", nil, false},
{"disk", map[string]string{"disk": "retention", "keep": "30"}, deploy.ActionTags, "install-synapse,start-group", map[string]string{"group": "synapse"}, false},
{"disk", map[string]string{"disk": "retention", "keep": "a month"}, 0, "", nil, true},
{"vacuum", map[string]string{"preset": "analyze"}, deploy.ActionTags, "run-postgres-vacuum", map[string]string{"postgres_vacuum_preset": "analyze"}, false},
{"pgupgrade", nil, deploy.ActionTags, "upgrade-postgres", map[string]string{"postgres_auto_upgrade_backup_data_path": pgUpgradeBackup}, false},
{"compress", map[string]string{"min": "5000"}, deploy.ActionTags, "rust-synapse-compress-state", map[string]string{"matrix_synapse_rust_synapse_compress_state_min_state_groups_required": "5000"}, false},
@@ -66,6 +70,20 @@ func TestMaintenance(t *testing.T) {
}
}
// Applying a retention keeps it for later deploys; empty keeps media forever.
set("disk", map[string]string{"disk": "retention", "keep": "14"})
deliver(a, formDoneMsg{})
if got := a.cfg.Overrides[remoteMediaVar]; got != "14d" {
t.Errorf("retention saved as %q", got)
}
a.jump(a.index("Maintenance"))
set("disk", map[string]string{"disk": "retention", "keep": ""})
deliver(a, formDoneMsg{})
if _, ok := a.cfg.Overrides[remoteMediaVar]; ok {
t.Errorf("forever left the retention set")
}
a.jump(a.index("Maintenance"))
// Enter with a problem stays on the screen and says so.
set("uninstall", map[string]string{"confirm": "nope"})
deliver(a, formDoneMsg{})
+4
View File
@@ -522,6 +522,7 @@ var actionTitles = map[deploy.Action][3]string{ // running, done, failed
deploy.ActionFetchBackups: {"Downloading backups…", "Backups downloaded", "Couldn't download the backups"},
deploy.ActionMigrate: {"Moving the server…", "Moved to the new server ✨", "The move stopped"},
deploy.ActionUninstall: {"Removing everything…", "Everything was removed", "The removal stopped"},
deploy.ActionDisk: {"Measuring the disk…", "Disk usage", "Couldn't measure the disk"},
}
func (s *deployScreen) name() string { return "Deploy" }
@@ -925,6 +926,9 @@ func (s *deployScreen) resultView(w int) string {
sMuted.Render(fmt.Sprintf("%d backup(s) of %s on this computer now.", n, c.Domain)))
case deploy.ActionLogs:
return ""
case deploy.ActionDisk:
return panel(cMint, sGood.Render("✓ What uses the disk is in the output above."),
sMuted.Render("Manage › Disk space removes unused Docker data, or deletes old media from other servers."))
case deploy.ActionTags:
return panel(cMint, sGood.Render("✓ Done in "+s.elapsed.Round(time.Second).String()+"."),
sMuted.Render("The full output is above and in ")+s.logPath())
+5 -3
View File
@@ -52,7 +52,7 @@ var manageGroups = []string{"Keep it running", "People", "Data", "Look closer",
var actionGroup = map[string]int{
"update": 0, "check": 0, "restart": 0, "services": 0, "changes": 0, "images": 0, "selfupdate": 0,
"user": 1, "registration": 1, "users": 1, "tokens": 1,
"backup": 2, "schedule": 2, "restore": 2, "rollback": 2, "vacuum": 2, "pgupgrade": 2, "compress": 2,
"backup": 2, "schedule": 2, "restore": 2, "rollback": 2, "disk": 2, "vacuum": 2, "pgupgrade": 2, "compress": 2,
"dashboard": 3, "logs": 3, "tuning": 3, "psql": 3, "tags": 3,
"setup": 4, "migrate": 4, "servers": 4, "uninstall": 4,
}
@@ -63,7 +63,7 @@ var actionIcons = map[string]string{
"backup": "⇩", "schedule": "◷", "restore": "↺", "rollback": "↶",
"dashboard": "▦", "logs": "≡", "tuning": "✎",
"setup": "◇", "migrate": "⇢", "servers": "▤",
"services": "⏻", "vacuum": "⌫", "pgupgrade": "⇡", "compress": "⇲", "psql": "$", "tags": "#", "uninstall": "✗",
"services": "⏻", "disk": "◔", "vacuum": "⌫", "pgupgrade": "⇡", "compress": "⇲", "psql": "$", "tags": "#", "uninstall": "✗",
}
// runsAtOnce are the Manage actions that start changing the server as
@@ -200,6 +200,8 @@ func (s *manageScreen) actions() []manageAction {
desc: "Switch between the servers interzone manages, or add another."},
manageAction{id: "services", title: "Start, stop or reinstall services",
desc: "Every service or one group of them. Reinstalling everything also removes the components you've turned off."},
manageAction{id: "disk", title: "Disk space",
desc: "See what uses the disk, remove unused Docker data, or delete old media cached from other servers."},
manageAction{id: "vacuum", title: "Vacuum the database",
desc: "Give the disk space of deleted rows back to the server (Postgres VACUUM)."},
manageAction{id: "pgupgrade", title: "Upgrade Postgres",
@@ -365,7 +367,7 @@ func (s *manageScreen) choose(id string) tea.Cmd {
return func() tea.Msg { return gotoMsg(screen) }
case "psql":
return databaseShell(s.cfg)
case "services", "vacuum", "pgupgrade", "compress", "tags", "uninstall":
case "services", "disk", "vacuum", "pgupgrade", "compress", "tags", "uninstall":
return func() tea.Msg { return maintainMsg(id) }
case "user":
u := textField("name", "Username", "", "alice", "Just the name, not @alice:"+s.cfg.Domain+".")
+10 -10
View File
@@ -4,16 +4,16 @@
│ ││ Maintenance │
│ ▾ Manage example.org ││ │
│ ⌂ Overview ││ ▌ Task │
│ @ Users ││ ▌ Services Vacuum Upgrade Compress Tags Uninstall │
│ ▦ Dashboard ││ ▌ Give the disk space of deleted rows back (Postgres VACUUM). Do it after deleting │
│ ↻ Updates ││ ▌ a lot, e.g. after compressing Synapse's state. │
│ ◷ Backups ││ │
│ ↺ Restore ││ Kind of vacuum │
│ ↶ Rollback ││ Complete (FULL, ANALYZE; services stop) │
│ ✎ Fine-tune ││ Full (services stop) │
│ ▌ ⚒ Maintenance ││ Plain (services keep running) │
│ ⇢ Move server ││ Plain + ANALYZE (services keep running) │
│ ▤ Servers ││ ANALYZE only (fastest) │
│ @ Users ││ ▌ Services Disk Vacuum Upgrade Compress Tags │
│ ▦ Dashboard ││ ▌ Uninstall │
│ ↻ Updates ││ ▌ Give the disk space of deleted rows back (Postgres VACUUM). Do it after deleting │
│ ◷ Backups ││ ▌ a lot, e.g. after compressing Synapse's state. │
│ ↺ Restore ││ │
│ ↶ Rollback ││ Kind of vacuum │
│ ✎ Fine-tune ││ Complete (FULL, ANALYZE; services stop) Full (services stop) │
│ ▌ ⚒ Maintenance ││ Plain (services keep running) Plain + ANALYZE (services keep running) │
│ ⇢ Move server ││ ANALYZE only (fastest) │
│ ▤ Servers ││ │
│ ││ │
│ ▸ Mirrors ││ │
│ ││ │
+5 -5
View File
@@ -2,11 +2,8 @@
Maintenance
▌ Task
▌ Services
▌ Vacuum
▌ Upgrade
▌ Compress
▌ Tags
▌ Services Disk Vacuum
▌ Upgrade Compress Tags
▌ Uninstall
▌ Give the disk space of deleted rows
▌ back (Postgres VACUUM). Do it after
@@ -36,5 +33,8 @@
‹ back ≡ menu run › ⋯
+5 -5
View File
@@ -1,11 +1,8 @@
◢◤ ◆ Manage › Maintenance
Maintenance
▌ Task
▌ Services
▌ Vacuum
▌ Upgrade
▌ Compress
▌ Tags
▌ Services Disk Vacuum
▌ Upgrade Compress Tags
▌ Uninstall
▌ Give the disk space of deleted rows back
▌ (Postgres VACUUM). Do it after deleting a
@@ -17,4 +14,7 @@
‹ back ≡ menu run › ⋯
+2 -2
View File
@@ -25,11 +25,11 @@
│ ││ ◷ Scheduled backups s │
│ ││ ↺ Restore a backup e │
│ ││ ↶ Roll back z │
│ ││ ◔ Disk space │
│ ││ ⌫ Vacuum the database │
│ ││ ⇡ Upgrade Postgres │
│ ││ ⇲ Compress Synapse's state │
│ ││ │
│ ◫ auto (wide) ctrl+l ││ Look closer ────────────────────────────────────────────────────────────────────────── │
│ ◫ auto (wide) ctrl+l ││ │
│ ◐ interzone ctrl+y ││ ▼ more below │
│ ◂ fold ctrl+b menu ││ │
╰────────────────────────╯╰────────────────────────────────────────────────────────────────────────────────────────────╯
+1 -1
View File
@@ -25,6 +25,7 @@
◷ Scheduled backups s
↺ Restore a backup e
↶ Roll back z
◔ Disk space
⌫ Vacuum the database
⇡ Upgrade Postgres
⇲ Compress Synapse's state
@@ -35,6 +36,5 @@
✎ Fine-tune the roles f
$ Database shell
# Run playbook tags x
▼ more below
‹ back ≡ menu run › ⋯
+2 -2
View File
@@ -24,12 +24,12 @@
│ ││ ◷ Scheduled backups s │
│ ││ ↺ Restore a backup e │
│ ││ ↶ Roll back z │
│ ││ ◔ Disk space │
│ ││ ⌫ Vacuum the database │
│ ││ ⇡ Upgrade Postgres │
│ ││ ⇲ Compress Synapse's state │
│ ││ │
│ ││ Look closer ────────────────────────────────────────────────────────────────────────── │
│ ◫ auto (wide) ctrl+l ││ ▦ Server dashboard d │
│ ◫ auto (wide) ctrl+l ││ Look closer ────────────────────────────────────────────────────────────────────────── │
│ ◐ interzone ctrl+y ││ ▼ more below │
│ ◂ fold ctrl+b menu ││ │
╰────────────────────────╯╰────────────────────────────────────────────────────────────────────────────────────────────╯
+1 -1
View File
@@ -22,6 +22,7 @@
◷ Scheduled backups s
↺ Restore a backup e
↶ Roll back z
◔ Disk space
⌫ Vacuum the database
⇡ Upgrade Postgres
⇲ Compress Synapse's state
@@ -35,6 +36,5 @@
Change things ──────────────────────────────
◇ Change the setup w
⇢ Move to another server v
▼ more below
‹ back ≡ menu run › ⋯
+2 -2
View File
@@ -25,11 +25,11 @@
│ ││ ◷ Scheduled backups s │
│ ││ ↺ Restore a backup e │
│ ││ ↶ Roll back z │
│ ││ ◔ Disk space │
│ ││ ⌫ Vacuum the database │
│ ││ ⇡ Upgrade Postgres │
│ ││ ⇲ Compress Synapse's state │
│ ││ │
│ ◫ auto (wide) ctrl+l ││ Look closer ────────────────────────────────────────────────────────────────────────── │
│ ◫ auto (wide) ctrl+l ││ │
│ ◐ interzone ctrl+y ││ ▼ more below │
│ ◂ fold ctrl+b menu ││ │
╰────────────────────────╯╰────────────────────────────────────────────────────────────────────────────────────────────╯
+2 -2
View File
@@ -25,11 +25,11 @@
│ ││ ◷ Scheduled backups s │
│ ││ ↺ Restore a backup e │
│ ││ ↶ Roll back z │
│ ││ ◔ Disk space │
│ ││ ⌫ Vacuum the database │
│ ││ ⇡ Upgrade Postgres │
│ ││ ⇲ Compress Synapse's state │
│ ││ │
│ ◫ auto (wide) ctrl+l ││ Look closer ────────────────────────────────────────────────────────────────────────── │
│ ◫ auto (wide) ctrl+l ││ │
│ ◐ interzone ctrl+y ││ ▼ more below │
│ ◂ fold ctrl+b menu ││ │
╰────────────────────────╯╰────────────────────────────────────────────────────────────────────────────────────────────╯