ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Multiple entries created for SSH-key on borgbase.com web gui

Open mustafa-kutlu-dioss opened this issue 3 years ago • 1 comments

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"

Screenshot

mustafa-kutlu-dioss avatar May 03 '22 09:05 mustafa-kutlu-dioss

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.

m3nu avatar May 03 '22 12:05 m3nu