commit
eda258a262
@ -54,13 +54,14 @@ borgbackup_passphrase: Ahl9EiNohr5koosh1Wohs3Shoo3ooZ6p
|
|||||||
|
|
||||||
Per default the role creates a cronjob in /etc/cron.d/borg-backup running as root every day on a random hour between 0 and 5am on a random minute. Override the defaults if necessary:
|
Per default the role creates a cronjob in /etc/cron.d/borg-backup running as root every day on a random hour between 0 and 5am on a random minute. Override the defaults if necessary:
|
||||||
```
|
```
|
||||||
borgbackup_cron_user: root
|
borgbackup_client_user: root
|
||||||
borgbackup_cron_day: "*"
|
borgbackup_cron_day: "*"
|
||||||
borgbackup_cron_minute: "{{ 59|random }}"
|
borgbackup_cron_minute: "{{ 59|random }}"
|
||||||
borgbackup_cron_hour: "{{ 5|random }}"
|
borgbackup_cron_hour: "{{ 5|random }}"
|
||||||
```
|
```
|
||||||
|
Override borgbackup\_client\_user where required, for example if you have a laptop with an encrypted homedir you'll have to run the backup as the user of that homedir.
|
||||||
|
|
||||||
Set borgbackup\_appendonly: True in host or group vars if you want append-only repositories. In that case it's possible to define a hostname in borgbackup\_management\_station where a borg prune script will be configured.
|
Set borgbackup\_appendonly: True in host or group vars if you want append-only repositories. In that case it's possible to define a hostname in borgbackup\_management\_station where a borg prune script will be configured. Only the management station will have permission to prune old backups for (all) clients.
|
||||||
|
|
||||||
*Make sure to check the configured defaults for this role, which contains the list of default locations being backed up in backup_include.* Override this in your inventory where required.
|
*Make sure to check the configured defaults for this role, which contains the list of default locations being backed up in backup_include.* Override this in your inventory where required.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user