Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Setup Backups #21

Open
FarisZR opened this issue Apr 2, 2023 · 3 comments
Open

Setup Backups #21

FarisZR opened this issue Apr 2, 2023 · 3 comments

Comments

@FarisZR
Copy link
Member

FarisZR commented Apr 2, 2023

We need to set up backups for aosus.
The choice is basically between Duplicati and autorestic.
Autorestic seems nice, and is easy to integrate into our Gitops workflow, but the developer isn't very active cupcakearmy/autorestic#172, and the project lacks a few things.

Duplicati has a simple UI, easy to use, and has all the feature we need, including a smart backup retention method, keeping a copy from every day for a week, then a copy of every week for a month and so on.

However, there are many comments online talking about Duplicati's unreliability, which disastrous in a Backup solution.
It also doesn't support multi-target backups.
And because it's mostly managed in UI, it isn't very gitops friendly, unless we manage it using the CLi.

@FarisZR
Copy link
Member Author

FarisZR commented Apr 6, 2023

We are going to go with Duplicati.
And since we are going to be backing up photos anyway, we might as well use object storage as a CDN.
Discourse CDN using Cloudflare R2 is live, just waiting a couple of days to make sure its stable, then im going to run migrate_to_s3.

@FarisZR
Copy link
Member Author

FarisZR commented Jul 12, 2023

Another option:
https://github.com/borgmatic-collective/borgmatic

The main issue with Borg is it only supports SSH endpoints, no support for S3 or B2 or any other kind of backup storage.

@FarisZR
Copy link
Member Author

FarisZR commented Jul 19, 2023

Ok i think I have a final plan:

  • Use borgmatic for backups, and its advanced features like direct DB integration
  • use the free 100 GB Hetzner storage box + Borgbases $24 plan for 2 copies of the same backups
  • Benefit from Borgbases advanced features like the backup warnings and so on, while also supporting borgmatic.

Everything is going to use docker of course

https://hub.docker.com/r/b3vis/borgmatic/
https://hub.docker.com/r/modem7/borgmatic-docker/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant