Skip to content

Commit

Permalink
chore: add logging for database backup initiation with output path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaddington committed Nov 26, 2024
1 parent 23e1bdf commit cd7a1f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
split_path = args.output.split("/")
split_path[-1] = f"{current_datetime}-{split_path[-1]}"
output_path = "/".join(split_path)

logger.info(f"Starting backup for database {args.db} on host {args.host} to {output_path}...")

try:
if args.encrypt:
Expand Down

0 comments on commit cd7a1f9

Please sign in to comment.