Skip to content

dbrestore database_name problem #325

@schostac

Description

@schostac

In settings, I've got default and documents databases. I run python manage.py dbrestore --database=documents and get an error (not important here) mentioning default database despite otherwise specified.

I looked into get_connector in dbbackup/db/base.py and indeed the wrong database name is passed. Then in dbbackup/management/commands/dbrestore.py I found self.connector = get_connector('default'). However, on master I see that the line is gone and instead there is get_connector(self.database_name).

So, was there an issue or it still persists? If it was fixed, when released? I'm using django-dbbackup 3.2.0.

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