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

Upgrade: Data migration (dump-restore) script modularized #1864

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

katkamrachana
Copy link
Member

@katkamrachana katkamrachana commented Jan 1, 2018

  1. User-data (GSystems / artifacts) export and import
  2. Node level export and import

@katkamrachana katkamrachana changed the title data migration (dump-restore) script modularized Upgrade: Data migration (dump-restore) script modularized Jan 5, 2018
@kedar2a
Copy link
Contributor

kedar2a commented May 7, 2018

Test cases:

  • Import and Export of following entities:
    • Node

      • python manage.py node_export <_id>
      • python manage.py node_import
    • Group

    • Module

      • python manage.py group_export <_id>
      • python manage.py group_import <PATH>
    • User data

      • python manage.py user_data_export <group _id>
      • python manage.py user_data_import <PATH>

TEST CASES:

node_export

  • Print path of exported node folder
  • Deal with ascii char print statements.

node_import

  • edited name is not getting reset from provided node's content.
  • ascii name
  • Comment's merging.
  • Restoring of purged node.

group_import

  • User blog and comments under it got restored.
  • Asset and underlying asset_content have not got restored.
  • Found change in timestamp, i.e: created_at, not of original and not even of restore/import time.

@gnowgi
Copy link
Member

gnowgi commented Oct 25, 2018

@DurgaSwetha Can you please test these functions ?

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.

3 participants