Skip to content
Snippets Groups Projects
Select Git revision
  • 27d0d6cb2458e7a261f92bf83d7e48c193ec9df6
  • master default protected
  • renovate/configure
  • v3.x
  • separator-fix
  • v4.4.1
  • v4.4.0
  • v4.3.0
  • v4.2.0
  • v4.1.0
  • v4.0.1
  • v4.0.0
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v2.0.1
  • v2.0.0
  • v1.6.0
  • v1.5.2
  • v1.5.1
  • v1.5
  • v1.5.0
25 results

borgbackup_client

  • Clone with SSH
  • Clone with HTTPS
  • Borgbackup Client

    This role will configure borg and borgmatic on the (source) host and create a corresponding borg repository on borgbackup_target_host.

    Required Variables

    • borgbackup_target_host: Inventory hostname of the borgbackup server aka target host
    • borgbackup_key: Encryption key. Not required when borgbackup_use_encryption is false.
    • borgbackup_source_dirs: List of directories to back up.
    • borgbackup_pool: Absolute path to folder holding all borg repositories on the target host. Can be set on both source or target, target will take precedence.

    Optional Variables

    • borgbackup_target_ip: Overrides the IP address of the target host used for generating the borgmatic config on the source host. Can also contain a port (yes). Useful e.g. if the target has a different hostname or port when reached from the internet.
      Example: foo.example.com:2022
    • borgbackup_use_encryption: Disables encryption if set to false. Defaults to true.