mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +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
|
in
|
||||||
{
|
{
|
||||||
pg_dump_command =
|
pg_dump_command =
|
||||||
if d.name == "all" then
|
if d.name == "all" && (!(d ? format) || isNull d.format) then
|
||||||
"${as_user}${postgresql}/bin/pg_dumpall"
|
"${as_user}${postgresql}/bin/pg_dumpall"
|
||||||
else
|
else
|
||||||
"${as_user}${postgresql}/bin/pg_dump";
|
"${as_user}${postgresql}/bin/pg_dump";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue