Hello,
How can i move one set of pages from one instalattion site to another in another domain or computer ?
Thank you,
Paulo Santos
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello,
How can i move one set of pages from one instalattion site to another in another domain or computer ?
Thank you,
Paulo Santos
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!
Both have phpmyadmin
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!