coreos-home-server/config/common/systemd
Alex Palaistras 41328342b3 Implement basic volume backup and restore mechanism
This commit implements three new services, specifically:

  - The `container-volume` service, which applies to a specific volume
    name and ensures this exists. This is mainly useful as a dependency
    to other services, as Podman will create named volumes itself if
    needed.

  - The `container-volume-backup` service, which creates a `tar.gz`
    snapshot of the given volume's contents in `/var/lib/backups`.

  - The `container-volume-restore` service, which populates an empty
    volume from a pre-existing file in `/var/lib/backups`, presumably
    created by `container-volume-backup`.

These are then be used to automatically create volume snapshots every 12
hours, rolling over every 7 days.
2021-08-14 22:38:17 +01:00
..
container-build@.path Improve service initialization, move system files 2021-08-14 22:28:28 +01:00
container-build@.service Improve service initialization, move system files 2021-08-14 22:28:28 +01:00
container-environment@.service Improve service initialization, move system files 2021-08-14 22:28:28 +01:00
container-network@.service Fix various issues with Nginx containers 2021-03-27 18:44:19 +00:00
container-volume-backup@.service Implement basic volume backup and restore mechanism 2021-08-14 22:38:17 +01:00
container-volume-backup@.timer Implement basic volume backup and restore mechanism 2021-08-14 22:38:17 +01:00
container-volume-restore@.service Implement basic volume backup and restore mechanism 2021-08-14 22:38:17 +01:00
container-volume@.service Implement basic volume backup and restore mechanism 2021-08-14 22:38:17 +01:00