Skip to content

Commit

Permalink
Run test backup every minute
Browse files Browse the repository at this point in the history
Change interval of cron to backup every minute instead of once a day at
midnight to make it in line with the documentation.
  • Loading branch information
M4a1x authored and niondir committed Oct 11, 2019
1 parent ec42bdd commit 15012cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 15012cd

Please sign in to comment.