1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-05 07:06:25 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Evangelos Foutras 743dd1faeb
borg_client: refactor database related vars/tasks
Move backup-related variable defaults from the database roles into the
borg_client role. Also check group membership to guard installation of
database backup helper scripts.
2024-03-30 19:08:37 +02:00
Evangelos Foutras 0643978a10
gitlab: Do away with generating tarball backups
Using GitLab's official backup tool takes too much time and, more
importantly, space; /srv/gitlab is a bit over 430G but backing it
up nearly exhausts its 1TB volume.

As we're creating btrfs snapshots and backing those up with borg, it
seems unnecessary to also create tarballs of the same data. GitLab's
documentation mentions snapshots as a viable backup strategy, and to
the restored system it should seem like recovering from a power loss.

[1] https://docs.gitlab.com/ee/raketasks/backup_restore#alternative-backup-strategies
2022-02-05 22:46:52 +02:00
Evangelos Foutras 200df4f884
Avoid using username placeholders in backup docs
These are already known (so no need to hide them) and are fairly static
(so variables are more of a hindrance) so it's better to use the actual
usernames in the documentation. Also, simplify the first example given.
2021-11-06 20:02:28 +02:00
Evangelos Foutras 69994e900a
Complete rsync.net account migration
New username; separate and longer account manager + storage passwords.

Also, have to use --remote-path=borg1 when interacting with rsync.net.
2021-11-06 19:50:31 +02:00
Jelle van der Waa 101f428fdb
Mention postgresql/gitlab/mariadb backups
Document how we backup our databases/gitlab instances.
2021-09-04 22:00:01 +02:00
Evangelos Foutras 62c78dfa1c
Use sub-accounts for backups to Hetzner Storage Box
This offers improved separation between the server backups and should
avoid bumping against the storage box 10 concurrent connection limit.

Fixes: https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/362
2021-07-02 19:04:19 +03:00
Sven-Hendrik Haase b0e7036df9
Improve backup docs and add borg wrapper 2020-10-24 18:45:34 +02:00