mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
change backup time from 12pm to 12am
This commit is contained in:
parent
79059ad58f
commit
01173ce4a9
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user