You can look at rclone's docs on how to hook that into B2 (or wherever you'd like to dump your backups, B2 is jusut cheap). I also set up a crypt in rclone so it encrypts it as it uploads (optional).
Then just put those on cron jobs at different times, I do them every 6 hours. One at <hour>:15 and one at <hour>:45
Then in B2 I set the bucket to keep files for 10 days.
Thank you very much. Seriously, that lays it all out perfectly. I was looking at the pict-rs docs for how to switch but then work called... so I really appreciate you taking the time to do this. 🙌 🍾 🎉 🥂
Oh and for those scripts the user needs paswordless sudo and needs to be part of the docker group, or you could add it to root's cron tab. Or maybe a systemd task. (Since the default ansible deploy of lemmy makes the pict-rs volume not readable by a normal system user)