Hi,
I call this role twice to set up two borg configs, one large config for a local drive, one small config for a remote server,
I use
ansible.builtin.include_role:
name: borgbase.ansible_role_borgbackup
vars:
borgmatic_timer_cron_name: "borgmatic-local"
borgmatic_config_name: "config-local.yaml"
borg_source_directories: "{{ borg_source_directories_local }}" (everything)
ansible.builtin.include_role:
name: borgbase.ansible_role_borgbackup
vars:
borgmatic_timer_cron_name: "borgmatic-remote"
borgmatic_config_name: "config-remote.yaml"
borg_source_directories: "{{ borg_source_directories_local }}" (just the stuff I can't afford to lose)
in different invocations of the role.
This option seems to have disappeared from the docs, though it's still implemented:
|
borgmatic_timer_cron_name: "borgmatic" |
The problem that I have is it's not implemented for the systemd timer, so I can't move across to that.
Is it planned to implemented? Or is there a better way to call multiple destinations with a different set of files?
Cheers!
Hi,
I call this role twice to set up two borg configs, one large config for a local drive, one small config for a remote server,
I use
in different invocations of the role.
This option seems to have disappeared from the docs, though it's still implemented:
ansible-role-borgbackup/defaults/main.yml
Line 20 in efa8e5e
The problem that I have is it's not implemented for the systemd timer, so I can't move across to that.
Is it planned to implemented? Or is there a better way to call multiple destinations with a different set of files?
Cheers!