For the backups I have these bash scripts (the pict-rs one takes much less time now that I use object storage so the images aren’t on the server): gist.github.com/…/5d4e56dadcb29de656368a1cb78cc00…
You can look at rclone’s docs on how to hook that into B2. 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.
To migrate to object storage check pict-rs docs here: git.asonix.dog/asonix/pict-rs.git#user-content-fi…
Took about 20 minutes for me with 30gb of files, but your instance has to be down for it.
bdonvr@thelemmy.club 1 year ago
On the backups or the object storage?