Add backup script

This commit is contained in:
Michael Huebner 2025-04-02 09:19:17 +02:00
parent 0e48fc453c
commit 9504c73ca9

View file

@ -92,7 +92,7 @@ in
RENOVATE_TOKEN = "/etc/renovate/token"; RENOVATE_TOKEN = "/etc/renovate/token";
}; };
settings = { settings = {
endpoint = "http://<url>.de/api/v1/"; endpoint = "http://<TODO>.de/api/v1/";
persistRepoData = true; persistRepoData = true;
platform = "forgejo"; platform = "forgejo";
autodiscover = true; autodiscover = true;
@ -106,7 +106,7 @@ in
cron = { cron = {
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
"* * * * * root ls -l / > /tmp/cronout 2>&1" "00 03 * * * forgejo sh backup_forgejo.sh -d /var/lib/forgejo -u TODO -s TODO -p TODO"
]; ];
}; };
}; };