diff --git a/backup/docker-compose.override.yml b/backup/docker-compose.override.yml new file mode 100644 index 0000000..6404f6e --- /dev/null +++ b/backup/docker-compose.override.yml @@ -0,0 +1,7 @@ +services: + borgmatic: + labels: + net.unraid.docker.managed: 'composeman' + net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/borgmatic.png' + net.unraid.docker.webui: '' + net.unraid.docker.shell: '' diff --git a/backup/docker-compose.yml b/backup/docker-compose.yml new file mode 100644 index 0000000..d054799 --- /dev/null +++ b/backup/docker-compose.yml @@ -0,0 +1,18 @@ +services: + borgmatic: + image: ghcr.io/borgmatic-collective/borgmatic:latest + container_name: borgmatic + volumes: + - /mnt/user/nextcloud-data/tonitrus/files/documents/Schule:/mnt/source:ro # backup source + - /mnt/remotes/10.0.0.50_home/Drive/backup-cube-test:/mnt/borg-repository # backup target + - /mnt/user/appdata/borgmatic/borgmatic.d:/etc/borgmatic.d/ # borgmatic config file(s) + crontab.txt + - /mnt/user/appdata/borgmatic/.config/borg:/root/.config/borg # config and keyfiles + - /mnt/user/appdata/borgmatic/.ssh:/root/.ssh # ssh key for remote repositories + - /mnt/user/appdata/borgmatic/.cache/borg:/root/.cache/borg # checksums used for deduplication + - /mnt/user/appdata/borgmatic/.state/borgmatic:/root/.local/state/borgmatic # Here are the state files for periodic checks + env_file: + - .env + labels: + net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/borgmatic.png" + net.unraid.docker.shell: sh + folder.view2: "Services" diff --git a/backup/name b/backup/name new file mode 100644 index 0000000..a4ca89b --- /dev/null +++ b/backup/name @@ -0,0 +1 @@ +backup \ No newline at end of file