From 6c068a297a4bc81d75c438725347e52d4e754a31 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 6 Apr 2025 23:29:12 -0700 Subject: [PATCH] Update README to use new command hooks in the example. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 925b2b33..b2f413a0 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,10 @@ checks: frequency: 2 weeks # Custom preparation scripts to run. -before_backup: - - prepare-for-backup.sh +commands: + - before: action + when: [create] + run: [prepare-for-backup.sh] # Databases to dump and include in backups. postgresql_databases: