Main script and system-wide config with multiple available backup tasks #2

Open
opened 2025-05-03 21:27:54 +02:00 by malte70 · 0 comments
Owner

Create a primary script (backup.zsh, might be installed in /usr/sbin/) which reads a system-wide config file that tells it which backup tasks should be executed.

This means for example the script bin/backup-livirtd.zsh will become the libvirtd task, which can be enabled in the configuration.

NOTE: Some backup tasks need to run much more often, so if we use a single systemd.timer, we have to execute some tasks only on every nth backup.

Create a primary script (`backup.zsh`, might be installed in `/usr/sbin/`) which reads a system-wide config file that tells it which backup tasks should be executed. This means for example the script `bin/backup-livirtd.zsh` will become the _libvirtd_ task, which can be enabled in the configuration. **NOTE**: Some backup tasks need to run much more often, so if we use a single systemd.timer, we have to execute some tasks only on every nth backup.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: malte70/backup.zsh#2
No description provided.