38 |
38 |
39 - name: backup1 |
39 - name: backup1 |
40 location: /Volumes/backup1/borg |
40 location: /Volumes/backup1/borg |
41 keychain_account: borg-backup@mylaptop |
41 keychain_account: borg-backup@mylaptop |
42 |
42 |
|
43 - name: homeserver |
|
44 ssdp_uuid: borg@home.c5fad77dbff6157eba56597e9c404631 |
|
45 ssdp_path: /mnt/backup/borg |
|
46 keychain_account: borg-backup@mylaptop |
|
47 |
43 # Backups: configure here which files should be backed up, how frequently, and to |
48 # Backups: configure here which files should be backed up, how frequently, and to |
44 # which repositires. |
49 # which repositires. |
45 backups: |
50 backups: |
46 # 1. Most files in $HOME to ssh://myserver.invalid |
51 # 1. Most files in $HOME to homeserver, discovered by SSDP |
47 - name: Home to 'myserver' |
52 - name: Home to 'homeserver' |
48 # Scheduling mode: dreamtime/realtime/manual |
53 # Scheduling mode: dreamtime/realtime/manual |
49 # Dreamtime scheduling discounts system sleep periods. |
54 # Dreamtime scheduling discounts system sleep periods. |
50 scheduling: dreamtime |
55 scheduling: dreamtime |
51 # Backup every 24 hours |
56 # Backup every 24 hours |
52 backup_interval: 86400 |
57 backup_interval: 86400 |
53 # Retry every 15 minutes if unable to connect / unfinished backup |
58 # Retry every 15 minutes if unable to connect / unfinished backup |
54 retry_interval: 900 |
59 retry_interval: 900 |
55 # Prune interval: once every two weeks |
60 # Prune interval: once every two weeks |
56 prune_interval: 1209600 |
61 prune_interval: 1209600 |
57 # Repository and archive configuration |
62 # Repository and archive configuration |
58 repository: myserver |
63 repository: homeserver |
59 archive_prefix: 'all@mylaptop-' |
64 archive_prefix: 'all@mylaptop-' |
60 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
65 archive_template: '{now:%Y-%m-%d_%H:%M:%S}' |
61 # Files to include |
66 # Files to include |
62 paths: |
67 paths: |
63 - $HOME |
68 - $HOME |
103 - pattern: "- $HOME/Library/Mail/V*/MailData/" |
108 - pattern: "- $HOME/Library/Mail/V*/MailData/" |
104 - pattern: "+ $HOME/Library/Mail/" |
109 - pattern: "+ $HOME/Library/Mail/" |
105 - pattern: "+ $HOME/Library/Mobile Documents/" |
110 - pattern: "+ $HOME/Library/Mobile Documents/" |
106 - pattern: "- $HOME/Library/" |
111 - pattern: "- $HOME/Library/" |
107 - pattern: "- $HOME/.config/borg/security/" |
112 - pattern: "- $HOME/.config/borg/security/" |
108 |
|
109 |
|