Browse Source

Remove date echo from schema example, as it's not a substitute for real logging (#127).

Dan Helfman 6 years ago
parent
commit
fa9dfb8ff7
2 changed files with 4 additions and 3 deletions
  1. 1 0
      NEWS
  2. 3 3
      borgmatic/config/schema.yaml

+ 1 - 0
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.
 

+ 3 - 3
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."