Parent Directory | Revision Log
add backups module
1 | class backups { |
2 | class server { |
3 | |
4 | $backups_dir = '/backups' |
5 | $confdir = "${backups_dir}/conf" |
6 | |
7 | class { 'rsnapshot::base': |
8 | confdir => $confdir, |
9 | } |
10 | |
11 | file { $backups_dir: |
12 | ensure => directory, |
13 | owner => root, |
14 | group => root, |
15 | mode => 700, |
16 | } |
17 | |
18 | rsnapshot::backup{ 'alamut': |
19 | snapshot_root => "${backups_dir}/alamut", |
20 | backup => [ 'root@alamut.mageia.org:/srv/wiki wiki' ], |
21 | } |
22 | } |
23 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |