Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep intervalls: Allow 0 #83

Merged
merged 1 commit into from
Nov 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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