Config-Backup 2026-03-28 18:29:56

Geänderte Dateien:
 - etc/systemd/system/system/chronyd.service
 - etc/systemd/system/system/cloud-config.target.wants/cloud-init-hotplugd.socket
 - etc/systemd/system/system/cloud-init.target.wants/cloud-config.service
 - etc/systemd/system/system/cloud-init.target.wants/cloud-final.service
 - etc/systemd/system/system/cloud-init.target.wants/cloud-init-local.service
 - etc/systemd/system/system/cloud-init.target.wants/cloud-init-main.service
 - etc/systemd/system/system/cloud-init.target.wants/cloud-init-network.service
 - etc/systemd/system/system/dbus-org.freedesktop.timesync1.service
 - etc/systemd/system/system/default.target.wants/wtmpdb-update-boot.service
 - etc/systemd/system/system/getty.target.wants/getty@tty1.service
 - etc/systemd/system/system/hibernate.target.wants/grub-common.service
 - etc/systemd/system/system/hybrid-sleep.target.wants/grub-common.service
 - etc/systemd/system/system/multi-user.target.wants/chrony.service
 - etc/systemd/system/system/multi-user.target.wants/console-setup.service
 - etc/systemd/system/system/multi-user.target.wants/cron.service
 - etc/systemd/system/system/multi-user.target.wants/e2scrub_reap.service
 - etc/systemd/system/system/multi-user.target.wants/fail2ban.service
 - etc/systemd/system/system/multi-user.target.wants/grub-common.service
 - etc/systemd/system/system/multi-user.target.wants/networking.service
 - etc/systemd/system/system/multi-user.target.wants/nmbd.service
 - etc/systemd/system/system/multi-user.target.wants/oddjobd.service
 - etc/systemd/system/system/multi-user.target.wants/remote-fs.target
 - etc/systemd/system/system/multi-user.target.wants/rsyslog.service
 - etc/systemd/system/system/multi-user.target.wants/samba-ad-dc.service
 - etc/systemd/system/system/multi-user.target.wants/smbd.service
 - etc/systemd/system/system/multi-user.target.wants/ssh.service
 - etc/systemd/system/system/multi-user.target.wants/sssd.service
 - etc/systemd/system/system/multi-user.target.wants/unattended-upgrades.service
 - etc/systemd/system/system/multi-user.target.wants/winbind.service
 - etc/systemd/system/system/multi-user.target.wants/zfs.target
 - etc/systemd/system/system/network-online.target.wants/networking.service
 - etc/systemd/system/system/nmb.service
 - etc/systemd/system/system/samba.service
 - etc/systemd/system/system/smb.service
 - etc/systemd/system/system/ssh.service.wants/sshd-keygen.service
 - etc/systemd/system/system/ssh.socket.wants/sshd-keygen.service
 - etc/systemd/system/system/sshd.service
 - etc/systemd/system/system/sshd.service.wants/sshd-keygen.service
 - etc/systemd/system/system/sshd@.service.wants/sshd-keygen.service
 - etc/systemd/system/system/sssd.service.wants/sssd-autofs.socket
 - etc/systemd/system/system/sssd.service.wants/sssd-nss.socket
 - etc/systemd/system/system/sssd.service.wants/sssd-pac.socket
 - etc/systemd/system/system/sssd.service.wants/sssd-pam.socket
 - etc/systemd/system/system/sssd.service.wants/sssd-ssh.socket
 - etc/systemd/system/system/sssd.service.wants/sssd-sudo.socket
 - etc/systemd/system/system/suspend-then-hibernate.target.wants/grub-common.service
 - etc/systemd/system/system/suspend.target.wants/grub-common.service
 - etc/systemd/system/system/sysinit.target.wants/apparmor.service
 - etc/systemd/system/system/sysinit.target.wants/keyboard-setup.service
 - etc/systemd/system/system/sysinit.target.wants/systemd-pstore.service
 - etc/systemd/system/system/sysinit.target.wants/systemd-timesyncd.service
 - etc/systemd/system/system/syslog.service
 - etc/systemd/system/system/timers.target.wants/apt-daily-upgrade.timer
 - etc/systemd/system/system/timers.target.wants/apt-daily.timer
 - etc/systemd/system/system/timers.target.wants/dpkg-db-backup.timer
 - etc/systemd/system/system/timers.target.wants/e2scrub_all.timer
 - etc/systemd/system/system/timers.target.wants/fstrim.timer
 - etc/systemd/system/system/timers.target.wants/logrotate.timer
 - etc/systemd/system/system/timers.target.wants/man-db.timer
 - etc/systemd/system/system/zed.service
 - etc/systemd/system/system/zfs-import.target.wants/zfs-import-cache.service
 - etc/systemd/system/system/zfs-mount.service.wants/zfs-load-module.service
 - etc/systemd/system/system/zfs-volumes.target.wants/zfs-volume-wait.service
 - etc/systemd/system/system/zfs.target.wants/zfs-import.target
 - etc/systemd/system/system/zfs.target.wants/zfs-load-module.service
 - etc/systemd/system/system/zfs.target.wants/zfs-mount.service
 - etc/systemd/system/system/zfs.target.wants/zfs-share.service
 - etc/systemd/system/system/zfs.target.wants/zfs-volumes.target
 - etc/systemd/system/system/zfs.target.wants/zfs-zed.service
 - root/backup-config/backup-config.sh
 - root/backup-config/run-backup-and-push.sh
This commit is contained in:
Michael Seidel
2026-03-28 18:29:56 +01:00
parent 59bc523e83
commit 31cb542d44
71 changed files with 71 additions and 2 deletions

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/chrony.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-init-hotplugd.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-config.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-final.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-init-local.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-init-main.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cloud-init-network.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-timesyncd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/wtmpdb-update-boot.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/getty@.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/grub-common.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/grub-common.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/chrony.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/console-setup.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/cron.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/e2scrub_reap.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/fail2ban.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/grub-common.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/networking.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/nmbd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/oddjobd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/remote-fs.target

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/rsyslog.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/samba-ad-dc.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/smbd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/ssh.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/unattended-upgrades.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/winbind.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs.target

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/networking.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/nmbd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/samba-ad-dc.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/smbd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sshd-keygen.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sshd-keygen.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/ssh.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sshd-keygen.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sshd-keygen.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-autofs.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-nss.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-pac.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-pam.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-ssh.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/sssd-sudo.socket

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/grub-common.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/grub-common.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/apparmor.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/keyboard-setup.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-pstore.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-timesyncd.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/rsyslog.service

View File

@@ -0,0 +1 @@
/lib/systemd/system/apt-daily-upgrade.timer

View File

@@ -0,0 +1 @@
/lib/systemd/system/apt-daily.timer

View File

@@ -0,0 +1 @@
/lib/systemd/system/dpkg-db-backup.timer

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/e2scrub_all.timer

View File

@@ -0,0 +1 @@
/lib/systemd/system/fstrim.timer

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/logrotate.timer

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/man-db.timer

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-zed.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-import-cache.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-load-module.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-volume-wait.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-import.target

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-load-module.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-mount.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-share.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-volumes.target

View File

@@ -0,0 +1 @@
/usr/lib/systemd/system/zfs-zed.service

View File

@@ -11,7 +11,7 @@ LOGFILE="/var/log/backup-config.log"
# Git
USE_GIT="yes"
GIT_BRANCH="DockerDMZ_Configfiles"
GIT_BRANCH="File1_Configfiles"
# Verzeichnisse, die automatisch nach Config-Dateien durchsucht werden
AUTO_SCAN_DIRS=(

View File

@@ -5,7 +5,7 @@ BASE_DIR="/root/backup-config"
BACKUP_DIR="$BASE_DIR/backup"
BACKUP_SCRIPT="$BASE_DIR/backup-config.sh"
LOGFILE="/var/log/backup-config-run.log"
BRANCH="DockerDMZ_Configfiles"
BRANCH="File1_Configfiles"
log() {
printf '%s %s\n' "$(date '+%F %T')" "$1" | tee -a "$LOGFILE"