GithubHelp home page GithubHelp logo

Comments (8)

ilol avatar ilol commented on August 27, 2024

@craigcarnell You should describe you custom data structure in config file.

from data-migration-tool.

craigcarnell avatar craigcarnell commented on August 27, 2024

@ilol I appreciate that, but how? :)

from data-migration-tool.

craigcarnell avatar craigcarnell commented on August 27, 2024

@ilol The documentation tells you how to ignore something, but not to simply copy the data across as the 2 modules exist in M1 and M2

from data-migration-tool.

quangdog avatar quangdog commented on August 27, 2024

How about just manually copying the tables using sql statements yourself? Then telling the migrator to ignore the tables in the source database....

from data-migration-tool.

craigcarnell avatar craigcarnell commented on August 27, 2024

@quangdog That kind of defeats the purpose of the data migration tool if it doesn't have that ability. Also you would also need to do this when doing an update.

from data-migration-tool.

quangdog avatar quangdog commented on August 27, 2024

I believe that the migrator's approach is that if a table exists in M1 and M2, and the structure is the same, then the records from M1 will just copy straight to M2 without needing to specify any mapping.

So, rather than copy the entire table + data from M1 to M2 manually, just create the structure for the table in M2, and don't specifically map the table at all in the migrator. The data should move with the migration, and should be kept up to date with incrementals.

But what the heck do I know - I'm still trying to get my M1 to migrate to M2 without losing random bits of customer data along the way. ;-(

from data-migration-tool.

victor-v-rad avatar victor-v-rad commented on August 27, 2024

I believe that the migrator's approach is that if a table exists in M1 and M2, and the structure is the same, then the records from M1 will just copy straight to M2 without needing to specify any mapping.

Absolutely right

from data-migration-tool.

ilol avatar ilol commented on August 27, 2024

@craigcarnell if you got an answer, please close the issue. Thanks

from data-migration-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.