initial cleanup of project

This commit is contained in:
timeshifter
2021-11-25 15:30:44 +01:00
parent f866e7f596
commit 587b677a37
3 changed files with 111 additions and 81 deletions
+14 -11
View File
@@ -1,30 +1,33 @@
# -*- coding: utf-8 -*-
# Name des lokalen Pools
local_pool = 'tank'
local_pool = "tank"
# Name der Backup-Platten und UUID der Partition
backup_pool = {
'backup1': '603eeae5-1f16-4d1f-8dc5-8b5368c0cdd4',
'backup2': '8632e9e4-3d6c-4627-8c28-ec72f52db281',
"backup1": "603eeae5-1f16-4d1f-8dc5-8b5368c0cdd4",
"backup2": "8632e9e4-3d6c-4627-8c28-ec72f52db281",
}
# Datasets, die nicht gesichert werden sollen
do_not_backup = [
'tank/cache',
'tank/docker',
"tank/cache",
"tank/docker",
]
# überprüfe ob neue Snapshots mit diesen String-Teilen vorliegen
snapshot_tag = ['znap', 'monthly']
snapshot_tag = ["znap", "monthly"]
# wie viele Snapshots von jedem Intervall sollen beibehalten werden?
# dies sollte der Serverkonfiguration zu zfs-auto-snapshots folgen
keep = {
'frequent' : 4,
'hourly' : 24,
'daily' : 31,
'weekly' : 8,
'monthly' : 12,
"frequent": 4,
"hourly": 24,
"daily": 31,
"weekly": 8,
"monthly": 12,
}
ZFS = "/usr/bin/zfs"
ZPOOL = "/usr/bin/zpool"
CRYPTSETUP = "/usr/bin/cryptsetup"