2025-09-24 12:39:22 +02:00
|
|
|
{
|
|
|
|
|
"settings": {
|
|
|
|
|
"temp_directory": "/tmp/backup"
|
|
|
|
|
},
|
|
|
|
|
"target": {
|
|
|
|
|
"kind": "borg",
|
|
|
|
|
"parameters": {
|
|
|
|
|
"repository": "ssh://backup.example.org///repos/example",
|
|
|
|
|
"compression": "lz4",
|
2026-03-02 22:28:59 +01:00
|
|
|
"encryption": {
|
|
|
|
|
"kind": "repokey",
|
|
|
|
|
"data": {
|
|
|
|
|
"passphrase": "top_secret"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-24 12:39:22 +02:00
|
|
|
"pruning": {
|
|
|
|
|
"keep_weekly": 1,
|
|
|
|
|
"keep_yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"concerns": [
|
|
|
|
|
{
|
|
|
|
|
"active": true,
|
|
|
|
|
"name": "images",
|
|
|
|
|
"kind": "files",
|
|
|
|
|
"parameters": {
|
|
|
|
|
"path": "/usr/share/images/desktop-base"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"active": true,
|
|
|
|
|
"name": "database",
|
|
|
|
|
"kind": "postgresql_dump",
|
|
|
|
|
"parameters": {
|
|
|
|
|
"credentials": {
|
|
|
|
|
"host": "database.example.org",
|
|
|
|
|
"port": 5432,
|
|
|
|
|
"username": "example_user",
|
|
|
|
|
"password": "example_password",
|
|
|
|
|
"schema": "example_schema"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|