mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
nixos/borgmatic: do not use pg_dumpall when a format is set (#413251)
(cherry picked from commit d0be8ff242)
This commit is contained in:
committed by
Erin of Yukis
parent
7bfd34a3d7
commit
55ce6a8344
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user