Skip to content

Commit

Permalink
Merge pull request #83 from bastelfreak/interval
Browse files Browse the repository at this point in the history
Keep intervalls: Allow 0
  • Loading branch information
ekohl authored Nov 27, 2020
2 parents 6e6eb55 + 4e3f9e1 commit 0773e3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,39 +61,39 @@ Default value: ``true``

##### `keep_yearly`

Data type: `Integer[1]`
Data type: `Integer[0]`

For how many years should we keep our backups?

Default value: `3`

##### `keep_monthly`

Data type: `Integer[1]`
Data type: `Integer[0]`

For how many months should we keep our backups?

Default value: `24`

##### `keep_weekly`

Data type: `Integer[1]`
Data type: `Integer[0]`

For how many weeks should we keep our backups?

Default value: `36`

##### `keep_daily`

Data type: `Integer[1]`
Data type: `Integer[0]`

For how many days should we keep our backups?

Default value: `60`

##### `keep_within`

Data type: `Integer[1]`
Data type: `Integer[0]`

For how many days should we keep all backups we have?

Expand Down
10 changes: 5 additions & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@
Boolean $create_prometheus_metrics = true,
Boolean $use_upstream_reporter = false,
Boolean $update_borg_restore_db_after_backuprun = true,
Integer[1] $keep_yearly = 3,
Integer[1] $keep_monthly = 24,
Integer[1] $keep_weekly = 36,
Integer[1] $keep_daily = 60,
Integer[1] $keep_within = 30,
Integer[0] $keep_yearly = 3,
Integer[0] $keep_monthly = 24,
Integer[0] $keep_weekly = 36,
Integer[0] $keep_daily = 60,
Integer[0] $keep_within = 30,
Array[Stdlib::Absolutepath] $excludes = ['/tmp', '/sys', '/dev', '/proc', '/run', '/media', '/var/lib/nfs/rpc_pipefs'],
Array[Stdlib::Absolutepath] $includes = ['/', '/boot', '/boot/efi', '/boot/EFI', '/var/log'],
String[1] $backupdestdir = 'borg',
Expand Down

0 comments on commit 0773e3d

Please sign in to comment.