diff --git a/README.md b/README.md index 302fe84..b2e9774 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/db-auto-backup.py b/db-auto-backup.py index 68200d9..768e305 100755 --- a/db-auto-backup.py +++ b/db-auto-backup.py @@ -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", diff --git a/tests/tests.py b/tests/tests.py index f59ed6e..c396149 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -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: @@ -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: