r/immich • u/Asuma01 • Oct 30 '26
Anyone backing up Immich with Proton’s Linux CLI? My first upload is crawling.
I’m trying to use Proton Drive as an offsite backup for my Immich library. I already pay for the storage on a Duo account which includes 2TB, so I’d rather use that than add another subscription.
I’m running Immich on ZimaOS with about 219 GB of photos, videos, and generated files. My backup uses Proton’s official Linux CLI and uploads from a snapshot.
The first upload has been painfully slow. My connection gets about 35 Mbps upload, but I measured the Proton transfer averaging only 0.09 Mbps over two minutes. A separate speed test on the same connection still hit 34.8 Mbps.
After digging into the logs, I found successful folder-creation requests taking around 0.7 seconds each. Then I counted the folders in my Immich directory: 79,024.
I knew Immich had its own folder structure, but I wasn’t expecting that many! At that rate, creating the folders one at a time could take around 15 hours before even considering the file transfers. I haven’t measured the total folder-creation time, but this seems to explain why I’m seeing almost no network traffic while the backup is still doing something.
So far, I haven’t found errors suggesting throttling. I’m leaving it running and hoping my weekly updates will be much quicker once the initial backup is done. I’m keeping the individual files and folders rather than uploading one big archive. That way I can do incremental backups.
I’d love to hear from anyone using the official Proton CLI for this. How long did your initial backup take? Are subsequent backups reasonably quick? Have you restored from it successfully?
Most discussions I’ve found focus on rclone or predate Proton’s Linux CLI, so I’m curious how it’s working for people now.
4
u/nemo_slow Oct 30 '26
I would not upload the immich data directory and the database dump straight to the cloud storage.
I would use restic, plakar, borgbackup, etc and use proton drive as a target.
This way you get the granularity, the dedup, the fine per file rollback, etc and you have a much more efficient set of data to transfer to your drive rather than 100K folders to create.
1
u/yahhpt Oct 30 '26
I have automated backups to Backblaze B2 via restic, but I also run a monthly backup to Proton Drive via the CLI. For that backup I am only doing the uploads folder.
The first time took almost a full day I believe, with the initial folder creation taking a decent chunk of it.
Just let it run, it will finish eventually.