Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-drop parameter is not working #545

Open
symbiotech opened this issue Jan 29, 2025 · 0 comments
Open

no-drop parameter is not working #545

symbiotech opened this issue Jan 29, 2025 · 0 comments
Labels
bug Bugs that need to get fixed.

Comments

@symbiotech
Copy link

Current Situation

The no-drop parameter was added in this pull request, but some later modifications to the original code reversed lines 143-144 and the feature does not work as intended.

Proposed Actions

Reverse the lines 143-144 to:

self.connector.drop = not self.no_drop
self.connector.restore_dump(input_file)

System Information

No response

@symbiotech symbiotech added the bug Bugs that need to get fixed. label Jan 29, 2025
symbiotech added a commit to symbiotech/django-dbbackup that referenced this issue Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs that need to get fixed.
Projects
None yet
Development

No branches or pull requests

1 participant