Migrate Static Blocks and multi stores from One Magento to AnotherMagento 2 migerationHow to: Export data from Magento 1.x and import in 2.0?How can I create and update static blocks via a module install script?Is there a way to export static blocks and cms pages in mass from local to online?Migrate Magento 1.7 separate store to Magento 2 multistore (just customers and history)How to migrate data from 2.0.X to 2.2.XHow to manually import/migrate orders & customers from Magento1 to Magento 2 database tables?Magento2 Migrate Orders History and Product Catalog Including MediaMagento 2.3: Show content block in terms & agreement popup at checkoutMigrate data from 3 websites to one multisite

Should 2FA be enabled on service accounts?

HackerRank Implement Queue using two stacks Solution

Is the EU really banning "toxic propellants" in 2020? How is that going to work?

Why are prop blades not shaped like household fan blades?

What do the screens say after you are set free?

What is the most 'environmentally friendly' way to learn to fly?

How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with

Is verification of a blockchain computationally cheaper than recreating it?

Can birds evolve without trees?

Who's behind community AMIs on Amazon EC2?

Why is “deal 6 damage” a legit phrase?

Gold Battle KoTH

Need help identifying how to open this bolt/screw

How to trick a fairly simplistic kill-counter?

How were x-ray diffraction patterns deciphered before computers?

How do I solve such questions on paramagnetism and ferromagnetism?

Define tcolorbox in math mode

Does the use of a new concept require a prior definition?

Plotting Chebyshev polynomials using PolarPlot and FilledCurve

Has J.J.Jameson ever found out that Peter Parker is Spider-Man?

What is the difference between 2/4 and 4/4 when it comes the accented beats?

Protect a 6 inch air hose from physical damage

Is Illustrator accurate for business card sizes?

Matrix condition number and reordering



Migrate Static Blocks and multi stores from One Magento to Another


Magento 2 migerationHow to: Export data from Magento 1.x and import in 2.0?How can I create and update static blocks via a module install script?Is there a way to export static blocks and cms pages in mass from local to online?Migrate Magento 1.7 separate store to Magento 2 multistore (just customers and history)How to migrate data from 2.0.X to 2.2.XHow to manually import/migrate orders & customers from Magento1 to Magento 2 database tables?Magento2 Migrate Orders History and Product Catalog Including MediaMagento 2.3: Show content block in terms & agreement popup at checkoutMigrate data from 3 websites to one multisite






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















What is the best way to migrate Magento Content i.e Blocks, Pages, and All content from one Magento instance to another. I have 2 Magento setups. One of which has all data and another is fresh Magento. Both have same Magento version. I do not want to migrate the complete DB as I have many junk orders/customers/products etc.. All I want to migrate is the stores, Content blocks, pages, and basically all content related data.



What is the best way to achieve this?










share|improve this question


























  • firebearstudio.com/blog/…

    – Hafiz Arslan
    Jul 24 at 7:40











  • Extensions use I am trying to avoid

    – Tester
    Jul 24 at 7:45

















0















What is the best way to migrate Magento Content i.e Blocks, Pages, and All content from one Magento instance to another. I have 2 Magento setups. One of which has all data and another is fresh Magento. Both have same Magento version. I do not want to migrate the complete DB as I have many junk orders/customers/products etc.. All I want to migrate is the stores, Content blocks, pages, and basically all content related data.



What is the best way to achieve this?










share|improve this question


























  • firebearstudio.com/blog/…

    – Hafiz Arslan
    Jul 24 at 7:40











  • Extensions use I am trying to avoid

    – Tester
    Jul 24 at 7:45













0












0








0








What is the best way to migrate Magento Content i.e Blocks, Pages, and All content from one Magento instance to another. I have 2 Magento setups. One of which has all data and another is fresh Magento. Both have same Magento version. I do not want to migrate the complete DB as I have many junk orders/customers/products etc.. All I want to migrate is the stores, Content blocks, pages, and basically all content related data.



What is the best way to achieve this?










share|improve this question
















What is the best way to migrate Magento Content i.e Blocks, Pages, and All content from one Magento instance to another. I have 2 Magento setups. One of which has all data and another is fresh Magento. Both have same Magento version. I do not want to migrate the complete DB as I have many junk orders/customers/products etc.. All I want to migrate is the stores, Content blocks, pages, and basically all content related data.



What is the best way to achieve this?







magento2 magento2.3 data-migration static-content






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 24 at 7:04









Waqar Ali

44916 bronze badges




44916 bronze badges










asked Jul 24 at 6:17









TesterTester

7710 bronze badges




7710 bronze badges















  • firebearstudio.com/blog/…

    – Hafiz Arslan
    Jul 24 at 7:40











  • Extensions use I am trying to avoid

    – Tester
    Jul 24 at 7:45

















  • firebearstudio.com/blog/…

    – Hafiz Arslan
    Jul 24 at 7:40











  • Extensions use I am trying to avoid

    – Tester
    Jul 24 at 7:45
















firebearstudio.com/blog/…

– Hafiz Arslan
Jul 24 at 7:40





firebearstudio.com/blog/…

– Hafiz Arslan
Jul 24 at 7:40













Extensions use I am trying to avoid

– Tester
Jul 24 at 7:45





Extensions use I am trying to avoid

– Tester
Jul 24 at 7:45










1 Answer
1






active

oldest

votes


















1














All CMS pages and static blocks are saved in the following 4 tables:



  • cms_page

  • cms_page_store

  • cms_block

  • cms_block_store

Hence, if you need to copy the content, just simply export data from these tables and then import again to your live site database.

Export:




mysqldump -u -p database_name cms_block cms_block_store cms_page
cms_page_store > content.sql





Import:




mysql -u -p database_name < content.sql







share|improve this answer

























  • cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

    – Tester
    Jul 24 at 8:05











  • have u checked ?

    – Hafiz Arslan
    Jul 24 at 8:10











  • I mean even if I do this, there will be issue because the tables do not include the store tables.

    – Tester
    Jul 24 at 8:12











  • i have do this at my end. Getting all cms and block content successfully :)

    – Hafiz Arslan
    Jul 24 at 8:19











  • if you get your result please accept my answer .

    – Hafiz Arslan
    Jul 24 at 10:08













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f283093%2fmigrate-static-blocks-and-multi-stores-from-one-magento-to-another%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














All CMS pages and static blocks are saved in the following 4 tables:



  • cms_page

  • cms_page_store

  • cms_block

  • cms_block_store

Hence, if you need to copy the content, just simply export data from these tables and then import again to your live site database.

Export:




mysqldump -u -p database_name cms_block cms_block_store cms_page
cms_page_store > content.sql





Import:




mysql -u -p database_name < content.sql







share|improve this answer

























  • cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

    – Tester
    Jul 24 at 8:05











  • have u checked ?

    – Hafiz Arslan
    Jul 24 at 8:10











  • I mean even if I do this, there will be issue because the tables do not include the store tables.

    – Tester
    Jul 24 at 8:12











  • i have do this at my end. Getting all cms and block content successfully :)

    – Hafiz Arslan
    Jul 24 at 8:19











  • if you get your result please accept my answer .

    – Hafiz Arslan
    Jul 24 at 10:08















1














All CMS pages and static blocks are saved in the following 4 tables:



  • cms_page

  • cms_page_store

  • cms_block

  • cms_block_store

Hence, if you need to copy the content, just simply export data from these tables and then import again to your live site database.

Export:




mysqldump -u -p database_name cms_block cms_block_store cms_page
cms_page_store > content.sql





Import:




mysql -u -p database_name < content.sql







share|improve this answer

























  • cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

    – Tester
    Jul 24 at 8:05











  • have u checked ?

    – Hafiz Arslan
    Jul 24 at 8:10











  • I mean even if I do this, there will be issue because the tables do not include the store tables.

    – Tester
    Jul 24 at 8:12











  • i have do this at my end. Getting all cms and block content successfully :)

    – Hafiz Arslan
    Jul 24 at 8:19











  • if you get your result please accept my answer .

    – Hafiz Arslan
    Jul 24 at 10:08













1












1








1







All CMS pages and static blocks are saved in the following 4 tables:



  • cms_page

  • cms_page_store

  • cms_block

  • cms_block_store

Hence, if you need to copy the content, just simply export data from these tables and then import again to your live site database.

Export:




mysqldump -u -p database_name cms_block cms_block_store cms_page
cms_page_store > content.sql





Import:




mysql -u -p database_name < content.sql







share|improve this answer













All CMS pages and static blocks are saved in the following 4 tables:



  • cms_page

  • cms_page_store

  • cms_block

  • cms_block_store

Hence, if you need to copy the content, just simply export data from these tables and then import again to your live site database.

Export:




mysqldump -u -p database_name cms_block cms_block_store cms_page
cms_page_store > content.sql





Import:




mysql -u -p database_name < content.sql








share|improve this answer












share|improve this answer



share|improve this answer










answered Jul 24 at 7:47









Hafiz ArslanHafiz Arslan

3501 silver badge18 bronze badges




3501 silver badge18 bronze badges















  • cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

    – Tester
    Jul 24 at 8:05











  • have u checked ?

    – Hafiz Arslan
    Jul 24 at 8:10











  • I mean even if I do this, there will be issue because the tables do not include the store tables.

    – Tester
    Jul 24 at 8:12











  • i have do this at my end. Getting all cms and block content successfully :)

    – Hafiz Arslan
    Jul 24 at 8:19











  • if you get your result please accept my answer .

    – Hafiz Arslan
    Jul 24 at 10:08

















  • cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

    – Tester
    Jul 24 at 8:05











  • have u checked ?

    – Hafiz Arslan
    Jul 24 at 8:10











  • I mean even if I do this, there will be issue because the tables do not include the store tables.

    – Tester
    Jul 24 at 8:12











  • i have do this at my end. Getting all cms and block content successfully :)

    – Hafiz Arslan
    Jul 24 at 8:19











  • if you get your result please accept my answer .

    – Hafiz Arslan
    Jul 24 at 10:08
















cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

– Tester
Jul 24 at 8:05





cms block/pages has reference to store tables also, won't there be any issue as the magento is fresh? Also if I dump these tables won't there be foreign key issues?

– Tester
Jul 24 at 8:05













have u checked ?

– Hafiz Arslan
Jul 24 at 8:10





have u checked ?

– Hafiz Arslan
Jul 24 at 8:10













I mean even if I do this, there will be issue because the tables do not include the store tables.

– Tester
Jul 24 at 8:12





I mean even if I do this, there will be issue because the tables do not include the store tables.

– Tester
Jul 24 at 8:12













i have do this at my end. Getting all cms and block content successfully :)

– Hafiz Arslan
Jul 24 at 8:19





i have do this at my end. Getting all cms and block content successfully :)

– Hafiz Arslan
Jul 24 at 8:19













if you get your result please accept my answer .

– Hafiz Arslan
Jul 24 at 10:08





if you get your result please accept my answer .

– Hafiz Arslan
Jul 24 at 10:08

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f283093%2fmigrate-static-blocks-and-multi-stores-from-one-magento-to-another%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?