-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbak.conf
51 lines (41 loc) · 1.65 KB
/
bak.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# The [DEFAULT] section contains the default settings for all the possible
# backups. Use it to set any options that should apply to all the backups.
# Then add custom settings in each of the other sections that specifies
# a host and source to backup
[DEFAULT]
; dest_dir specifies where the backups are located.
#dest_dir=/bak
; rsync_options are passed to rsync. Use space to seperate options
# rsync_options= --bwlimit=100
; exclude is a space seperated list of files/directories to exclude
; from the backup
# exclude=*.mp3 *.vob .git downloads
; Incremental backups (via hardlinks) are deleted after they expire. You
; the expiration dates via the num_days, num_weeks, num_months, and num_years
; options. Any backup less than num_days old will be saved. Any backup
; on a Sunday within num_weeks will also be preserved. Any backup on the
; first Sunday of the month within the last num_months will be preserved,
; and finally, any backup on the first Sunday of the year within the last
; num_years will be preserved.
#num_days=14
#num_weeks=10
#num_months=12
#num_years=10
; Each of the following sections specifies a different backup source.
; In each section you can override the options specified in [DEFAULT].
; Furthermore, you must specify the 'sources' option, which is a space
; seperated list of directories on the 'host' that should be backed up.
; Example
#[host1]
#host=host1.example.com
#sources=/home/user1 /var /etc
#exclude=*.mp3 *.vob .git downloads
; Another example
#[mail]
#host=mail.example.com
#rsync_options=-e 'ssh -p2200' --bwlimit=100 -H
#sources=/var/spool/mail /var/lib/mailspool
#num_days=60
#num_weeks=52
#num_month=24
#num_years=10