Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create( ctx context.Context, now func() time.Time, name model.Name, host model.PostgresqlHost, port model.PostgresqlPort, user model.PostgresqlUser, pass model.PostgresqlPassword, database model.PostgresqlDatabase, targetDirectory model.TargetDirectory, ) error
Create backs up the database via pg_dump. The now clock is injected so the backup filename is testable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.