Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #40 scheduled backups broken #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions duplicacy-autobackup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ do_backup() {
return
fi

/app/make-symlinks.sh # Create symlinks in /wd/ to items in /data/
duplicacy backup $DUPLICACY_BACKUP_OPTIONS
/app/dispose-symlinks.sh

if [[ -f $POST_BACKUP_SCRIPT ]]; then
echo "Running post-backup script"
Expand Down
2 changes: 0 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ cd /wd

if [[ $BACKUP_IMMEDIATLY == "yes" ]] || [[ $BACKUP_IMMEDIATELY == "yes" ]]; then # two spellings for retro-compatibility
echo "Running a backup right now"
/app/make-symlinks.sh # Create symlinks in /wd/ to items in /data/
/app/duplicacy-autobackup.sh backup
/app/dispose-symlinks.sh
fi

crond -l 8 -f