add: backups
This commit is contained in:
parent
f6c7158f09
commit
e807ba6347
6 changed files with 73 additions and 0 deletions
11
custom/backups/config/tasks/server.json
Normal file
11
custom/backups/config/tasks/server.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "serverBuildTools",
|
||||
"interval": 604800,
|
||||
"base": "/data",
|
||||
"paths": [
|
||||
"docker"
|
||||
],
|
||||
"local_days_of_retention": 1,
|
||||
"remote_days_of_retention": 30,
|
||||
"backup_dir": "/local"
|
||||
}
|
16
custom/backups/config/tasks/services.json
Executable file
16
custom/backups/config/tasks/services.json
Executable file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "commonServicesData",
|
||||
"interval": 172800,
|
||||
"base": "/data/services",
|
||||
"paths": [
|
||||
"cryptpad",
|
||||
"gitlab",
|
||||
"dendrite",
|
||||
"smpxmc",
|
||||
"kasmc",
|
||||
"smpxterraria"
|
||||
],
|
||||
"local_days_of_retention": 2,
|
||||
"remote_days_of_retention": 30,
|
||||
"backup_dir": "/local"
|
||||
}
|
Reference in a new issue