1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 19:05:40 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Evangelos Foutras
6741138baf
hetzner_storagebox: refactor to run on localhost 2022-02-26 11:08:30 +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
Evangelos Foutras
3561a38398
Use restrict key option and relative borg command
No functional change; the "restrict" key option is a shorthand for:

- no-agent-forwarding
- no-port-forwarding
- no-X11-forwarding
- no-pty
- no-user-rc

It was added in OpenSSH 7.2 (2016-02-29) as a convenient way to specify
an authorized key should have "all current and future key restrictions"
applied to it.

Also switch to a relative borg command since its location is not really
standardized; on rsync.net it appears to be located under usr/local/bin
(though /usr/bin/borg works too, even if it doesn't exist!) and Hetzner
just forces its own command, ignoring ours. 🐱

The Borg documentation seems to agree with both the above alterations:

[1] https://borgbackup.readthedocs.io/en/stable/usage/serve.html
2021-06-28 20:46:54 +03:00
Kristian Klausen
0d78c950d2 root_ssh: Support multiple SSH keys for the same user
Ex: in case the user has multiple smartcards.
2021-06-02 18:44:58 +02:00
Sven-Hendrik Haase
86ad99334e Fix offsite backup ansible playbooks 2021-06-02 16:35:08 +00:00
Frederik Schwan
63887d3b09 fix E208 'File permissions not mentioned' 2020-08-27 05:29:00 +00:00
Sven-Hendrik Haase
764df6ee5d
Switch from vostok to storagebox (fixes #51) 2020-07-09 00:50:04 +02:00