Skip to content

borgmatic_timer_cron_name needed for systemd timers #158

Description

@noaho

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions