Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Move pages between sites


Reply


4 Posts   1170 Views

Avatar
pjssms

Community Member, 49 Posts

2 September 2008 at 6:21pm

Hello,

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

Thank you,

Paulo Santos

Avatar
Willr

Forum Moderator, 5513 Posts

2 September 2008 at 10:30pm

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!

Avatar
pjssms

Community Member, 49 Posts

3 September 2008 at 8:15pm

Both have phpmyadmin

Avatar
Willr

Forum Moderator, 5513 Posts

4 September 2008 at 10:10am

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!