"before_backup" option has 2 bugs #129

Closed
opened 2018-12-30 16:58:55 +00:00 by patricko · 1 comment

Here is my config:
before_backup:
- run_autoxtrabackup
- echo "[date +"%e/%m/%Y | %^A | %H:%M:%S"] - BORGMATIC - Starting a backup job."

EDIT: TLDR: it wasn't printing echo and printf because I was redirecting the output with >> so I changed it to 2>>

Here is my config: before_backup: - run_autoxtrabackup - echo "[`date +"%e/%m/%Y | %^A | %H:%M:%S"`] - BORGMATIC - Starting a backup job." EDIT: TLDR: it wasn't printing echo and printf because I was redirecting the output with `>>` so I changed it to `2>>`
Owner

Glad to hear that cleared it up! Yet another reason to do #53 soon!

Glad to hear that cleared it up! Yet another reason to do #53 soon!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#129
No description provided.