change backup time from 12pm to 12am

This commit is contained in:
Daniel Langbein 2024-04-11 12:05:00 +02:00
parent 79059ad58f
commit 01173ce4a9
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ in
timerConfig = {
OnCalendar = [
# Daily
"*-*-* 00:05:00"
"*-*-* 12:05:00"
];
WakeSystem = true;
};
@ -62,7 +62,7 @@ in
# Wait until ${backup-source} is reachable.
#
# This test is necessary because of the following:
# If the system wakes up at 00:05, it is not directly connected to the Internet.
# If the system wakes up at 12:05, it is not directly connected to the Internet.
# The config option `after = [ "network-online.target" ];` does not help in this regard.
# Thus, `btrbk` might fail with the following error while connecting to ${backup-source}:
# ssh: Could not resolve hostname p1st.de: Name or service not known

View File

@ -50,7 +50,7 @@ in
# `services.btrbk.instances` template.
{
"${x.instance}" = {
onCalendar = if (x.enable or true) then "00:05" else null;
onCalendar = if (x.enable or true) then "12:05" else null;
settings = {
timestamp_format = "long";
stream_compress = mkIf ((x.lz4 or false) && strings.hasPrefix "ssh://" x.volume) "lz4";