feat: backup grafana.db

This commit is contained in:
Robert Perce 2025-08-25 12:05:28 -05:00
parent 061f3e2029
commit 54236de4e6

View file

@ -132,5 +132,15 @@
"ups.realpower.nominal" "ups.status" "ups.realpower.nominal" "ups.status"
]; ];
}; };
services.borgbackup.jobs.grafana = {
paths = [ "/var/lib/grafana/data/grafana.db" ];
archiveBaseName = null;
encryption.mode = "none";
environment.BORG_RSH = "ssh -i /home/admin/.ssh/id_ed25519";
repo = "ssh://backup@xalicas/./grafana";
compression = "auto,zstd";
startAt = "daily";
};
}; };
} }