4Backrest is a web UI and orchestrator for restic backups.
Resources
FAQ
Allow Backrest to connect to another Docker container’s network
TrueNAS apps use Docker containers under the hood, with a different Docker network for each app. In order to allow Backrest to dump a PostgreSQL database from another app, I had to do the following:
# Identify the name of the PostgreSQL container
docker ps
# Identify the name of the network of the PostgreSQL container
docker inspect ix-immich-pgvecto-1 -f '{{json .NetworkSettings.Networks}}'
# Identify the name of the Backrest container
docker ps
# Connect the Backrest container to the network of the PostgreSQL container
docker network connect ix-immich_ix-internal-immich-net ix-backrest-backrest-1Install database clients
On Alpine Linux, from the Docker host, to install clients for backing up sqlite and PostgreSQL databases:
docker exec -it -u root ix-backrest-backrest-1 apk add sqlite postgresql18-client