mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-02-17 09:23:56 +00:00
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.
This commit is contained in:
committed by
Tobias Kaupat
parent
ec42bdd04c
commit
15012cdab1
2
run.sh
2
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 \
|
docker run --privileged --name backup-test \
|
||||||
-e "RESTIC_PASSWORD=test" \
|
-e "RESTIC_PASSWORD=test" \
|
||||||
-e "RESTIC_TAG=test" \
|
-e "RESTIC_TAG=test" \
|
||||||
-e "BACKUP_CRON=0 0 * * *" \
|
-e "BACKUP_CRON=* * * * *" \
|
||||||
-e "RESTIC_FORGET_ARGS=--keep-last 10" \
|
-e "RESTIC_FORGET_ARGS=--keep-last 10" \
|
||||||
-v ~/test-data:/data \
|
-v ~/test-data:/data \
|
||||||
-v ~/test-repo/:/mnt/restic \
|
-v ~/test-repo/:/mnt/restic \
|
||||||
|
|||||||
Reference in New Issue
Block a user