Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ A script to automatically back up all databases running under docker on a host,
- [pgvecto.rs](https://github.com/tensorchord/pgvecto.rs)
- [pgvector](https://github.com/pgvector/pgvector),
- Nextcloud's [AIO](https://github.com/nextcloud/all-in-one)
- [pgautoupgrade](https://github.com/pgautoupgrade/docker-pgautoupgrade))
- [pgautoupgrade](https://github.com/pgautoupgrade/docker-pgautoupgrade)
- Immich's [Postgres VectorChord](https://ghcr.io/immich-app/postgres)
- Redis

## Installation
Expand Down
1 change: 1 addition & 0 deletions db-auto-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def backup_redis(container: Container) -> str:
"timescale/timescaledb",
"pgvector/pgvector",
"pgautoupgrade/pgautoupgrade",
"immich-app/postgres",
],
backup_method=backup_psql,
file_extension="sql",
Expand Down
5 changes: 5 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ def test_uptime_kuma_success_hook_url(monkeypatch: Any) -> None:
("docker.io/library/postgres:14-alpine", "postgres"),
("library/postgres:14-alpine", "postgres"),
("pgautoupgrade/pgautoupgrade:15-alpine", "pgautoupgrade/pgautoupgrade"),
(
"ghcr.io/immich-app/postgres:17-vectorchord0.3.0-pgvectors0.3.0",
"immich-app/postgres",
),
],
)
def test_get_container_names(tag: str, name: str) -> None:
Expand All @@ -123,6 +127,7 @@ def test_get_container_names(tag: str, name: str) -> None:
("nextcloud/aio-postgresql", "postgres"),
("redis", "redis"),
("pgautoupgrade/pgautoupgrade", "postgres"),
("immich-app/postgres", "postgres"),
],
)
def test_get_backup_provider(container_name: str, name: str) -> None:
Expand Down