Skip to content

Commit 89c29e6

Browse files
authored
Merge pull request #81 from trjohnson19/trjohnson19/backups-example-cron-entry
Add `backup.example.cron`
2 parents a86ddca + f82d9f4 commit 89c29e6

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ appdata/unbound/config/*
183183
backup-scripts/*
184184
!backup-scripts/.passwords.example.env
185185
!backup-scripts/backup-*.sh
186+
!backup-scripts/backup.example.cron
186187
!backup-scripts/borg-patternfile.example.lst
187188
!backup-scripts/cron.sh
188189

backup-scripts/backup.example.cron

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Run docker backup script (including borg) daily at 1:13 AM
2+
1 13 * * * /usr/bin/env --ignore-environment /home/<USER>/docker/backup-scripts/cron.sh -e /home/<USER>/docker/.env -p /home/<USER>/docker/backup-scripts/.passwords.env

0 commit comments

Comments
 (0)