How best to manage backups with large external libraries? Exclude previews?

I am trying to set up Immich using an external library that has a substantial amount (>100GB) of photos and videos. I'm concerned that I won't be able to maintain regular Immich backups due to the substantial size of its data.

As a test, I set up an external library that only contained ~1GB of files, to see how this would perform. After scanning, here's what I'm seeing from my Podman volume disk usage afterwards is:

766M ./immich_model-cache
269M ./immich-postgres
444M ./immich-uploads

(note that I am specifying a Podman volume immich-postgres for DB_DATA_LOCATION and immich-uploads for UPLOAD_LOCATION)

This is larger than I expected, particularly the postgres volume. Does this mean that previews and video transcodings are commingled in the database with organizational information and server settings?

I understand the value of these previews, but would like them to be separate and rebuildable. As a comparison, Lightroom's library files for all of my media is about 250MB, and allows you to specify another file for 'Preview Data' that is gigabytes, but I can safely delete it and Lightroom will rebuild it without affecting library settings.

Is it possible to maintain Immich backups without previews?
Was this page helpful?