Add backup script
This commit is contained in:
parent
0e48fc453c
commit
9504c73ca9
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue