ansible-role-borgbackup
ansible-role-borgbackup copied to clipboard
Multiple entries created for SSH-key on borgbase.com web gui
We found out after some testing with default settings, keys are imported multiple times in the GUI. If you run the script multiple times, you'll see that multiple entries are added to the Borgbase.com SSH-keys page. Check screenshot below.
These are our settings:
---
# Full path to repository. Your own server or BorgBase.com repo. Not required when using auto creation of repositories. Can be a list if you want to backup to multiple repositories.
borg_encryption_passphrase: "testing"
borg_source_directories:
- /etc/netplan
borg_exclude_patterns:
- /srv/www/old-sites
borg_retention_policy:
keep_hourly: 1
keep_daily: 1
keep_weekly: 1
keep_monthly: 1
# Variables
create_repo: True
bb_token: "aay..................Q"
bb_region: "eu"
This module is now maintained here: https://galaxy.ansible.com/adhawkins/borgbase
I didn't get around updating the role yet to use this external module.