From 15012cdab1df0077ec545423009361fe7aa65f2b Mon Sep 17 00:00:00 2001 From: Max Stabel Date: Mon, 30 Sep 2019 01:50:52 +0200 Subject: [PATCH] Run test backup every minute Change interval of cron to backup every minute instead of once a day at midnight to make it in line with the documentation. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index bdad1f7..9054bc4 100755 --- a/run.sh +++ b/run.sh @@ -7,7 +7,7 @@ echo "Start backup-test container. Backup of ~/test-data/ to repository ~/test-r docker run --privileged --name backup-test \ -e "RESTIC_PASSWORD=test" \ -e "RESTIC_TAG=test" \ --e "BACKUP_CRON=0 0 * * *" \ +-e "BACKUP_CRON=* * * * *" \ -e "RESTIC_FORGET_ARGS=--keep-last 10" \ -v ~/test-data:/data \ -v ~/test-repo/:/mnt/restic \