Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit f56927f

Browse files
author
Katie Horne
committed
fix code blocks
1 parent 61c55b3 commit f56927f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

guides/admin/timescale-migration.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Database migration
3-
description: Learn how to migrate data from Coder's built-in PostgreSQL database
4-
to an external PostgreSQL instance.
3+
description: Learn how to migrate data from Coder's built-in database.
54
---
65

76
By default, Coder deploys a built-in database in the installation's Kubernetes
@@ -24,7 +23,7 @@ This article will walk you through the process of doing so.
2423
1. **Optional**: If your database is large, you can truncate Coder's telemetry,
2524
metrics, and audit log data to reduce the file size:
2625

27-
```psql
26+
```sql
2827
TRUNCATE metric_events;
2928
TRUNCATE environment_stats;
3029
TRUNCATE audit_logs;
@@ -34,7 +33,7 @@ This article will walk you through the process of doing so.
3433

3534
1. Import the data you exported in the first step into your external database:
3635

37-
```psql
36+
```sql
3837
psql -U coder < backup.sql
3938
```
4039

0 commit comments

Comments
 (0)