/[adm]/puppet/modules/rsnapshot/templates/rsnapshot.conf
ViewVC logotype

Contents of /puppet/modules/rsnapshot/templates/rsnapshot.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2838 - (show annotations) (download)
Tue Sep 11 16:32:20 2012 UTC (11 years, 7 months ago) by dams
File size: 2574 byte(s)
add rsnapshot.conf
1 #################################################
2 # rsnapshot.conf - rsnapshot configuration file #
3 #################################################
4 # #
5 # PLEASE BE AWARE OF THE FOLLOWING RULES: #
6 # #
7 # This file requires tabs between elements #
8 # #
9 # Directories require a trailing slash: #
10 # right: /home/ #
11 # wrong: /home #
12 # #
13 #################################################
14
15 #######################
16 # CONFIG FILE VERSION #
17 #######################
18
19 config_version 1.2
20
21 ##########################
22 # SNAPSHOT ROOT DIRECTORY #
23 ###########################
24
25 # All snapshots will be stored under this root directory.
26
27 snapshot_root /mnt/data/backup/hupstream.com/
28
29 # If no_create_root is enabled, rsnapshot will not automatically create the
30 # snapshot_root directory. This is particularly useful if you are backing
31 # up to removable media, such as a FireWire or USB drive.
32 #
33 #no_create_root 1
34
35 #################################
36 # EXTERNAL PROGRAM DEPENDENCIES #
37 #################################
38
39 # LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
40 # EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
41 #
42 # See the README file or the man page for more details.
43
44 cmd_cp /bin/cp
45 cmd_cp /bin/cp
46 cmd_rm /bin/rm
47 cmd_rsync /usr/bin/rsync
48 cmd_ssh /usr/bin/ssh
49 cmd_logger /bin/logger
50 cmd_du /usr/bin/du
51 cmd_rsnapshot_diff /usr/bin/rsnapshot-diff
52
53 #########################################
54 # BACKUP INTERVALS #
55 # Must be unique and in ascending order #
56 # i.e. hourly, daily, weekly, etc. #
57 #########################################
58
59 interval hourly 6
60 interval daily 7
61 interval weekly 4
62 interval monthly 2
63
64 ############################################
65 # GLOBAL OPTIONS #
66 # All are optional, with sensible defaults #
67 ############################################
68
69 verbose 2
70 loglevel 3
71 logfile /var/log/rsnapshot
72 lockfile /var/run/rsnapshot.pid
73 rsync_long_args -avHP --delete --numeric-ids --relative --delete-excluded --bwlimit=7168
74 link_dest 1
75 rsync_numtries 3
76
77 ###############################
78 ### BACKUP POINTS / SCRIPTS ###
79 ###############################
80
81 #backup root@valstar.mageia.org:/home/
82 #backup root@alamut.mageia.org:/home/
83 #backup root@champagne.mageia.org:/mnt/data/
84 #backup root@krampouezh.mageia.org:/etc/

  ViewVC Help
Powered by ViewVC 1.1.30