1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-12-16 09:40:35 +00:00

update README with more complete examples and default values

This commit is contained in:
Norbert Varzariu 2015-12-22 14:58:58 +01:00
parent a468d8b2ee
commit 6c67736465

View File

@ -304,56 +304,6 @@ Default is:
} }
``` ```
####`$cron`
Hash. Set time ranges for different backup levels.
Hash is of the form:
```puppet
cron =>{
daily => {
minute => param,
hour => param,
}
weekly => {
minute => param,
hour => param,
}
{...}
}
```
(Default:
```puppet
$cron = {
hourly => {
minute => '0..59',
hour => '*',
monthday => '*',
month => '*',
weekday => '*',
},
daily => {
minute => '0..59',
hour => '0..23',
monthday => '*',
month => '*',
weekday => '*',
},
weekly => {
minute => '0..59',
hour => '0..23',
monthday => '*',
month => '*',
weekday => '0..6',
},
monthly => {
minute => '0..59',
hour => '0..23',
monthday => '0..28',
month => '*',
weekday => '*',
},
}
```
####`$snapshot_root` ####`$snapshot_root`
global. the directory holding your backups. global. the directory holding your backups.
(Default: /backup) (Default: /backup)