Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
57a57f22
Verified
Commit
57a57f22
authored
Jun 17, 2020
by
Jelle van der Waa
🚧
Browse files
Add setting up borg backups on a new machine section
parent
3f228e5d
Pipeline
#249
passed with stage
in 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
57a57f22
...
...
@@ -283,6 +283,22 @@ Medium-fast-ish packet.net box with Debian on it. Is currently maintained manual
## Backup documentation
Adding a new server to be backed up goes as following:
*
Make sure the new servers host key is synced to docs/ssh-known_hosts.txt if not run:
ansible-playbook playbooks/tasks/sync-ssh-hostkeys.yml
*
Add the server to [borg-clients] in hosts
*
Run the borg role on vostok to allow the new machine to create backups
ansibe-playbook playbooks/vostok.yml -t borg
*
Run the borg role for rsync.net to allow the new machine to create backups
ansibe-playbook playbooks/rsync.net.yml
*
Run the borg role on the new machine to initialize the repository
ansibe-playbook playbooks/$machine.yml -t borg
Backups should be checked now and then. Some common tasks:
### Listing current backups per server
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment