Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Move pages between sites

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1137 Views
  • pjssms
    Avatar
    Community Member
    49 Posts

    Move pages between sites Link to this post

    Hello,

    How can i move one set of pages from one instalattion site to another in another domain or computer ?

    Thank you,

    Paulo Santos

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Move pages between sites Link to this post

    You would need to export the database from your first site then reimport it in the second. That would take the whole DB (pages, stats, settings, history etc) or did you just want 1 page?

    Do both your servers have phpmyadmin installed? that makes this task very simple!

  • pjssms
    Avatar
    Community Member
    49 Posts

    Re: Move pages between sites Link to this post

    Both have phpmyadmin

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Move pages between sites Link to this post

    Ok then so on your first domain login to phpmyadmin and select your silverstripe database on the left hand side. Once you have clicked that it should load the database on the right hand side then in the top of the page there should be a whole bunch of tabs. Click the 'Export' tab.

    The defaults are usually fine, just make sure you select 'Add DROP TABLE / DROP View' under Structure then tick the 'Save as File' checkbox down the bottom and hit the go button..

    This should give you a SQL dump of your whole database. Now login to your new sites phpmyadmin, create a new database for your site, select this database on the left hand side and instead of hitting Export like we did before hit 'Import' select the file you outputted in the file upload box and hit go to import your data!

    1137 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.