From fa9dfb8ff78ae4a74d578cce02355d9060adb1c3 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 27 Jan 2019 12:22:22 -0800 Subject: [PATCH] Remove date echo from schema example, as it's not a substitute for real logging (#127). --- NEWS | 1 + borgmatic/config/schema.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 77f827aa6..6fc3cb925 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ 1.2.15.dev0 + * #127: Remove date echo from schema example, as it's not a substitute for real logging. * #136: Handle and format validation errors raised during argument parsing. * #139: Allow use of --stats flag when --create or --prune flags are implied. diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index c5d4cec96..85772f156 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -281,16 +281,16 @@ map: - type: scalar desc: List of one or more shell commands or scripts to execute before creating a backup. example: - - echo "`date` - Starting a backup job." + - echo "Starting a backup job." after_backup: seq: - type: scalar desc: List of one or more shell commands or scripts to execute after creating a backup. example: - - echo "`date` - Backup created." + - echo "Backup created." on_error: seq: - type: scalar desc: List of one or more shell commands or scripts to execute in case an exception has occurred. example: - - echo "`date` - Error while creating a backup." + - echo "Error while creating a backup."