Skip to content

Commit

Permalink
trigger a backup as pre command instead on relying on discourse cron
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 28, 2023
1 parent 4bf230e commit 09a2863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions puppet/modules/profiles/manifests/discourse.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
restic::repository { 'discourse':
backup_cap_dac_read_search => true,
backup_path => $backup_path,
backup_pre_cmd => ['+/usr/bin/docker exec app discourse backup'],
}
}

0 comments on commit 09a2863

Please sign in to comment.