Skip to content

Commit

Permalink
Add postgresql string into backup filename
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Jul 17, 2024
1 parent b5afa7c commit 7531742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixbackup/backup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def backup(args: Namespace, backup_directory: Path) -> Tuple[List[Path], bool]:
raise ValueError(f"Invalid database name: {db}")
else:
db = "all"
pg_backup_file = backup_directory / f"{environment}-{date_prefix}-mysql-{args.pg_host}-{db}.sql.gz"
pg_backup_file = backup_directory / f"{environment}-{date_prefix}-postgresql-{args.pg_host}-{db}.sql.gz"
if pg_backup(args, pg_backup_file):
result.append(pg_backup_file)
else:
Expand Down

0 comments on commit 7531742

Please sign in to comment.