Then just back up the other files in the volumes directory where Lemmy is installed (everything except postgres, which is what the database dump does).
The pictrs volume includes both the uploaded images and the image cache. I have no idea how to separate out the uploaded images so you don’t have to back up the cache, I just back it all up.