File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
You can manage in a single definition a mount definition for your NFS storage and the directories to backup there.
12
12
``` shell
13
13
class { ' remote_backup' :
14
- mount_path => " /mnt/backup, "
15
- nfs_server_ip => " 10.0.0.1" ,
16
- nfs_server_path => " my_nfs_storage" ,
14
+ mount_path => ' /mnt/backup' ,
15
+ nfs_server_ip => ' 10.0.0.1' ,
16
+ nfs_server_path => ' my_nfs_storage' ,
17
17
backup_rule => {
18
- directories_to_backup => [" /var/log" , " /var/www" ],
18
+ directories_to_backup => [' /var/log' , ' /var/www' ],
19
19
},
20
20
}
21
21
```
22
22
23
23
Simple hourly incremental backup from one or more folder/partition to another
24
24
``` shell
25
25
class { ' remote_backup::rule' :
26
- directories_to_backup => [" /var/log" , " /var/www" ],
27
- destination => " /data" ,
26
+ directories_to_backup => [' /var/log' , ' /var/www' ],
27
+ destination => ' /data' ,
28
28
}
29
29
```
30
30
You can’t perform that action at this time.
0 commit comments