Explorar el Código

Merge branch 'main' into unified-command-hooks.

Dan Helfman hace 3 meses
padre
commit
4fd22b2df0
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      docs/how-to/add-preparation-and-cleanup-steps-to-backups.md

+ 7 - 6
docs/how-to/add-preparation-and-cleanup-steps-to-backups.md

@@ -7,12 +7,13 @@ eleventyNavigation:
 ---
 ---
 ## Preparation and cleanup hooks
 ## Preparation and cleanup hooks
 
 
-If you find yourself performing preparation tasks before your backup runs, or
-cleanup work afterwards, borgmatic hooks may be of interest. Hooks are shell
-commands that borgmatic executes for you at various points as it runs, and
-they're configured in the `hooks` section of your configuration file. But if
-you're looking to backup a database, it's probably easier to use the [database
-backup
+If you find yourself performing preparation tasks before your backup runs or
+cleanup work afterwards, borgmatic command hooks may be of interest. These are
+custom shell commands you can configure borgmatic to execute at various points
+as it runs.
+
+But if you're looking to backup a database, it's probably easier to use the
+[database backup
 feature](https://torsion.org/borgmatic/docs/how-to/backup-your-databases/)
 feature](https://torsion.org/borgmatic/docs/how-to/backup-your-databases/)
 instead.
 instead.