Skip to content

Add setting for agent to not create or clean database #15

@jordanruthe

Description

@jordanruthe

Is your feature request related to a problem? Please describe.
I'm using cloudnative postgres which creates a blank database and initializes a user and password. When I try to restore a database, the pg_restore command drops the database and cannot recreate it due to permission from cloudnative postgres.

Describe the solution you'd like
Add a toggle to not add the --clean and --create flags to the restore command

Describe alternatives you've considered
I've tried manually adding the permission to the create user/password, but that is time consuming and defeats the purpose of easy backups.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions