Skip to content

Commit

Permalink
add anacrontab command template
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWolf-01 committed Feb 14, 2024
1 parent e544d71 commit 6602908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ get_restic() {
# backup tool
sudo apt-get install -y restic
sudo restic self-update
echo "restic installed and updated"
echo "to schedule backup:\nsudo -e /etc/anacrontab\n7 7 $HOME/.dotfiles/bin/restic_backup $HOME/backup/restic_repos/<XXX> $HOME/.dotfiles/secrets/restic_password/<XXX>"
}

### functions below this line are not included in `all` and should be run manually / if needed
Expand Down

0 comments on commit 6602908

Please sign in to comment.