rsync-snapshot.conf
changeset 15 61f6d0ca0432
child 16 d4b9954273a1
equal deleted inserted replaced
14:2a7b87dc6c45 15:61f6d0ca0432
       
     1 ## Options
       
     2 [snapshots]
       
     3 format      = %Y%m%d-%H%M%S
       
     4 
       
     5 # rsync options, in invoke.optargs format
       
     6 [rsync-options]
       
     7 archive             = true
       
     8 hard-links          = true
       
     9 one-file-system     = true
       
    10 numeric-ids         = true
       
    11 delete              = true
       
    12 
       
    13 ## Intervals
       
    14 [intervals:recent]
       
    15 format  = 
       
    16 keep    = 4
       
    17 
       
    18 [intervals:day]
       
    19 format  = %Y-%m-%d
       
    20 keep    = 7
       
    21 
       
    22 [intervals:week]
       
    23 format  = %Y-%W
       
    24 keep    = 4
       
    25 
       
    26 [intervals:month]
       
    27 format  = %Y-%m
       
    28 keep    = 4
       
    29 
       
    30 [intervals:year]
       
    31 format  = %Y
       
    32 keep    = 1
       
    33 
       
    34 ## Targets
       
    35 [targets:test]
       
    36 path    = ./test
       
    37 enable  = true
       
    38 source  = /srv/lvm-test/
       
    39 
       
    40 intervals       = recent day
       
    41 
       
    42 [targets:test:rsync_options]
       
    43 exclude-from    = ignore.list
       
    44