Skip to content

Commit e141bdc

Browse files
committed
Add support for TimescaleDB
Fixes #75
1 parent 69c319f commit e141bdc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A script to automatically back up all databases running under docker on a host,
88

99
- MariaDB
1010
- MySQL
11-
- PostgreSQL
11+
- PostgreSQL (including [TimescaleDB](https://www.timescale.com/))
1212
- Redis
1313

1414
## Installation

db-auto-backup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ def backup_redis(container: Container) -> str:
130130
BACKUP_PROVIDERS: list[BackupProvider] = [
131131
BackupProvider(
132132
name="postgres",
133-
patterns=["postgres", "tensorchord/pgvecto-rs", "nextcloud/aio-postgresql"],
133+
patterns=[
134+
"postgres",
135+
"tensorchord/pgvecto-rs",
136+
"nextcloud/aio-postgresql",
137+
"timescale/timescaledb",
138+
],
134139
backup_method=backup_psql,
135140
file_extension="sql",
136141
),

0 commit comments

Comments
 (0)