Adds a second borgmatic config (photos.yaml) that backs up /Volumes/photos (sifaka SMB mount) to a dedicated BorgBase repo, running daily at 4 AM. Refactors borgmatic metrics to support multiple repos with a `repo` label, and updates the Grafana dashboard with a repo selector variable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
508 B
YAML
12 lines
508 B
YAML
---
|
|
- name: Reload borgmatic
|
|
ansible.builtin.shell: |
|
|
launchctl unload ~/Library/LaunchAgents/mcquack.eblume.borgmatic.plist 2>/dev/null || true
|
|
launchctl load ~/Library/LaunchAgents/mcquack.eblume.borgmatic.plist
|
|
changed_when: true
|
|
|
|
- name: Reload borgmatic-photos
|
|
ansible.builtin.shell: |
|
|
launchctl unload ~/Library/LaunchAgents/mcquack.eblume.borgmatic-photos.plist 2>/dev/null || true
|
|
launchctl load ~/Library/LaunchAgents/mcquack.eblume.borgmatic-photos.plist
|
|
changed_when: true
|