X-Git-Url: https://arthur.barton.de/gitweb/?p=backup-script.git;a=blobdiff_plain;f=README.md;h=6aa60264aadb33a77796ebdbf8781f93ff825ab8;hp=db48806cbbfc2979a5882c97b1253b5f2043f7e0;hb=f38c82b02d03fd721f87c4876308e9f7ab789ca8;hpb=b3f41b5e2846a3eb5d61cecb2dd2c5686c48bded diff --git a/README.md b/README.md index db48806..6aa6026 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,19 @@ For example: - `/etc/backups-script.d/clientXY.example.com`: configuration for host 2 +### Global Settings + +The following global configuration options exist: + +- `setup_exec`: Script to run _before_ creating the lock file etc. +- `pre_exec`: Pre-execution script, run before all jobs. +- `post_exec`: Post-execution script, run after all jobs. + +In Addition, all job configuration options (see below) that have a "default_XXX" +variant can be used and define default values for all jobs that don't overwrite +them individually. + + ## Configuration Variables ### system @@ -210,8 +223,9 @@ Optional script to execute after `rsync` exited. Default: none. ### Compatibility Variables -The following configurations variables used by the backup-pull(1) script in job -definition files are automatically mapped to the new backup-script variables: +The following job configurations variables used by the outdated backup-pull(1) +script in job definition files are automatically mapped to the new backup-script +variables: * host -> system * source -> source_root