feat: backup grafana.db
This commit is contained in:
parent
061f3e2029
commit
54236de4e6
1 changed files with 10 additions and 0 deletions
|
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue