Optimized auto backup

This commit is contained in:
2023-05-28 16:35:45 +02:00
parent bc0e5f33b8
commit 31dc0191f1
8 changed files with 89 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
---
mount_point: "/mnt/usbstick_{{ backup_to_usb_serial_short }}"
backup_to_usb_script_path: "/usr/local/sbin/backup-to-usb.sh"
backups_folder_path: "{{mount_point}}{{backup_to_usb_subdirectory}}"
backup_to_usb_script_path: "/usr/local/sbin/backup-to-usb.python"
backup_to_usb_destination: "{{backup_to_usb_mount}}{{backup_to_usb_destination_subdirectory}}"
backups_folder_path: "{{backup_to_usb_destination}}"
systemctl_mount_service_name: "{{ backup_to_usb_mount | trim('/') | replace('/', '-') }}.mount"