new backup sw

This commit is contained in:
Didier Slof 2023-04-12 12:28:53 +02:00
parent 7f38106002
commit b3840c5037
Signed by: didier
GPG key ID: 01E71F18AA4398E5
6 changed files with 86 additions and 37 deletions

View file

@ -0,0 +1,7 @@
tasks_dir = "tasks"
[ftp]
hostname = "u303160.your-storagebox.de"
username = "u303160-sub2"
password = "emFXcCedActkOxDS"

View file

@ -0,0 +1,29 @@
# name
name = "general"
# cron as in https://lib.rs/crate/cron
# <second> <minute> <hours> <day of month> <month> <day of the week>
cron = "0 0 0 2 * *"
# retention on local server
local_retention_time = "1d"
# retention on the ftp server
remote_retention_time = "60d"
# ??? - Likely the local path
backups_dir = "/data/backups"
# base dir of what to backup
base_dir = "/host/srv"
paths = [
"cryptpad",
"gitlab",
"dendrite"
]
# run pre-backup
pre_commands = []
# run post-backup
post_commands = []

View file

@ -0,0 +1,30 @@
# name
name = "minecraft"
# cron as in https://lib.rs/crate/cron
# <second> <minute> <hours> <day of month> <month> <day of the week>
cron = "0 0 0 2 * *"
# retention on local server
local_retention_time = "1d"
# retention on the ftp server
remote_retention_time = "30d"
# ??? - Likely the local path
backups_dir = "/data/backups"
# base dir of what to backup
base_dir = "/host/srv"
paths = [
"smpxmc",
"vanilla",
"smpxterraria",
"enneacraft"
]
# run pre-backup
pre_commands = []
# run post-backup
post_commands = []