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

[V3 Instance setup] implement backup support for instances using Mongo #1470

Merged

Conversation

palmtree5
Copy link
Member

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Implement backup support for MongoDB instances. Previously not implemented but as a result of my working on storage backend switching, I now know what I needed to do to export to JSON for backup purposes.

@palmtree5 palmtree5 added the V3 label Mar 25, 2018
@palmtree5 palmtree5 requested a review from tekulvw as a code owner March 25, 2018 04:10
@palmtree5 palmtree5 changed the title [V3 Instance setup] import backup support for instances using Mongo [V3 Instance setup] implement backup support for instances using Mongo Mar 25, 2018
redbot/setup.py Outdated
@@ -16,6 +16,8 @@
from redbot.core.data_manager import basic_config_default
from redbot.core.json_io import JsonIO
from redbot.core.utils import safe_delete
from redbot.core.drivers.red_mongo import Mongo, get_config_details
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't import these here as the bot will fail if the user doesn't have motor installed. Both of these imports should be in the X_to_Y functions.

@tekulvw tekulvw merged commit c2e7bfa into Cog-Creators:V3/develop Mar 29, 2018
@palmtree5 palmtree5 deleted the V3/enhancement/mongo_backup branch May 31, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants