浏览代码

Add note about old, pre-1.6.0 hooks behavior.

Dan Helfman 3 年之前
父节点
当前提交
bdc26f2117
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/how-to/add-preparation-and-cleanup-steps-to-backups.md

+ 2 - 0
docs/how-to/add-preparation-and-cleanup-steps-to-backups.md

@@ -32,6 +32,8 @@ The `before_backup` and `after_backup` hooks each run once per repository in a
 configuration file. `before_backup` hooks runs right before the `create`
 action for a particular repository, and `after_backup` hooks run afterwards,
 but not if an error occurs in a previous hook or in the backups themselves.
+(Prior to borgmatic 1.6.0, these hooks instead ran once per configuration file
+rather than once per repository.)
 
 There are additional hooks that run before/after other actions as well. For
 instance, `before_prune` runs before a `prune` action for a repository, while