u/GlitteringCry1872

Full Guide: UGREEN NAS → Proton Drive Automatic Backup with Docker + rclone

Full Guide: UGREEN NAS → Proton Drive Automatic Backup with Docker + rclone

A couple of weeks ago I posted about getting my UGREEN NAS to backup directly to Proton Drive with Docker and rclone.

I said I would make a guide when I had tested everything properly, so here it is.

It's been working really well for me. So far I've transferred around 322 GB / 24,399 files without any major problems.

I also wanted it to be completely automatic, so I've now added that as well. The NAS runs the backup every night using cron. No PC needs to be running, it all happens directly on the UGREEN.

I put everything on GitHub with screenshots and the commands I used. It covers the Docker setup, rclone, Proton login/2FA, the OTP secret part (which was probably the most confusing part), testing the backup, automatic backup and some troubleshooting.

I'm using rclone copy, not sync. I prefer it this way because if I accidentally delete something from my NAS, I don't want that deletion automatically copied over to my Proton backup.

Full guide:
https://github.com/NorthLabPro/ugreen-proton-rclone-backup

This is based on the setup that is actually running on my NAS, not just something I put together without testing it.

Hopefully it can help someone else trying to do the same thing.

And if anyone finds something in the guide that could be done better, let me know.

u/GlitteringCry1872 — 4 days ago

UGREEN NAS → Proton Drive (Docker + rclone) - It works!

Just thought I'd share this in case anyone else is trying to do the same.

I've spent the last few days setting up my UGREEN NAS to back up directly to Proton Drive using Docker and rclone. It wasn't exactly straightforward, and I couldn't find a complete guide anywhere, but it's finally working.

So far I've backed up my entire photo library (about 72 GB) and I'm now working through around 240 GB of family videos.

The biggest issue I found is that files uploaded through rclone don't generate thumbnails in Proton Drive. This affects both photos and videos. Everything uploads correctly and can be opened and downloaded without any problems, but you'll only see generic file icons instead of previews. Since I'm only using Proton Drive as an off-site backup, I can live with that.

I also found that rclone 1.74.4 worked much better than 1.75.x with Proton Drive, and after a lot of testing I ended up tweaking the rclone settings to get much better upload speeds than the defaults.

Once I've finished backing everything up and verified it, I'll put everything together in a GitHub guide with the Docker Compose file, the rclone configuration, the Proton 2FA setup, troubleshooting, and the settings that worked best.

Hopefully it'll save someone else a few days of trial and error. 😄

reddit.com
u/GlitteringCry1872 — 16 days ago

Successfully got my UGREEN NAS backing up directly to Proton Drive

I've spent the last few days getting this working, and it's finally up and running. I'm using a UGREEN NAS (UGOS Pro) with Docker and rclone. The NAS backs up directly to Proton Drive without a PC.

So far I've backed up:

  • 72 GB of photos 130 GB Private Videoes
  • Over 200 GB in total
  • I'm currently working through my video archive (around 240 GB)

A few things I learned:

  • rclone v1.74.4 worked much better than v1.75.x with Proton Drive.
  • rclone copy is a much better option than sync for backups.
  • Increasing --transfers from 1 to 3 improved upload performance quite a bit for large video files.
  • Proton occasionally returns 502 Bad Gateway, but rclone usually retries and continues.

The biggest issue I found so far is that files uploaded through "rclone" don't generate thumbnails in Proton Drive. This applies to both photos and videos. The files upload correctly, they open correctly, and they download correctly, but they only appear as generic file icons instead of previews. Since I'm only using Proton Drive as an off-site backup, I can live with that, but if you plan to browse your photos or videos directly in Proton Drive, it's something to be aware of.

I couldn't find a complete guide when I started, so I'm documenting everything as I go.

Once I've finished testing the entire backup, I'll publish a complete step-by-step guide on GitHub, including Docker Compose, rclone configuration, Proton 2FA setup, troubleshooting, and the settings that worked best for me.

reddit.com
u/GlitteringCry1872 — 16 days ago