Main script and system-wide config with multiple available backup tasks #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.