mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/borgmatic: do not use pg_dumpall when a format is set (#413251)
This commit is contained in:
parent
bbedaa5b3d
commit
d0be8ff242
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ let
|
|||
in
|
||||
{
|
||||
pg_dump_command =
|
||||
if d.name == "all" then
|
||||
if d.name == "all" && (!(d ? format) || isNull d.format) then
|
||||
"${as_user}${postgresql}/bin/pg_dumpall"
|
||||
else
|
||||
"${as_user}${postgresql}/bin/pg_dump";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue