37 - name: Home to 'myserver' |
37 - name: Home to 'myserver' |
38 # Backup every 24 hours |
38 # Backup every 24 hours |
39 backup_interval: 86400 |
39 backup_interval: 86400 |
40 # Retry every 15 minutes if unable to connect / unfinished backup |
40 # Retry every 15 minutes if unable to connect / unfinished backup |
41 retry_interval: 900 |
41 retry_interval: 900 |
|
42 # Scheduling mode: dreamtime/realtime/manual |
|
43 # Dreamtime scheduling discounts system sleep periods. |
|
44 scheduling: dreamtime |
42 repository: myserver |
45 repository: myserver |
43 archive_prefix: 'all@mylaptop-' |
46 archive_prefix: 'all@mylaptop-' |
44 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
47 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
45 paths: |
48 paths: |
46 - $HOME |
49 - $HOME |
52 - pattern: "- $HOME/Library/" |
55 - pattern: "- $HOME/Library/" |
53 - pattern: "- $HOME/.config/borg/security/" |
56 - pattern: "- $HOME/.config/borg/security/" |
54 |
57 |
55 # 2. A subset of files $HOME more frequently to ssh://myserver.invalid |
58 # 2. A subset of files $HOME more frequently to ssh://myserver.invalid |
56 - name: Work to 'myserver' |
59 - name: Work to 'myserver' |
57 # Backup every 3 hours |
60 # Backup every 3 hours |
58 backup_interval: 10800 |
61 backup_interval: 10800 |
59 # Retry every 15 minutes if unable to connect / unfinished backup |
62 # Retry every 15 minutes if unable to connect / unfinished backup |
60 retry_interval: 900 |
63 retry_interval: 900 |
61 repository: myserver |
64 # Scheduling mode: dreamtime/realtime/manual |
62 archive_prefix: 'work@mylaptop-' |
65 # Dreamtime scheduling discounts system sleep periods. |
63 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
66 scheduling: dreamtime |
64 paths: |
67 repository: myserver |
65 - $HOME/work |
68 archive_prefix: 'work@mylaptop-' |
|
69 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
|
70 paths: |
|
71 - $HOME/work |
66 |
72 |
67 # 3. Manual backup to external hard drive |
73 # 3. Manual backup to external hard drive |
68 - name: Home to 'backup1' |
74 - name: Home to 'backup1' |
69 # Manual backup |
75 # Manual backup |
|
76 scheduling: manual |
70 backup_interval: 0 |
77 backup_interval: 0 |
71 retry_interval: 0 |
78 retry_interval: 0 |
72 repository: backup1 |
79 repository: backup1 |
73 archive_prefix: 'mylaptop-' |
80 archive_prefix: 'mylaptop-' |
74 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
81 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |