#!/bin/bash # Alle Container-IDs abrufen container_ids=$(docker ps -q) docker stop $container_ids source .restic-env restic backup -q --tag daily --exclude-file=/home/stefan/exclude-file.txt /home/stefan/ restic backup -q --tag daily /etc restic forget -q --keep-last 14 --prune docker start $container_ids # Muster für Restic-Backup Skript # muss im /root Ordner liegen