Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » What are the right steps to move silverstripe from Linux to Windows box?

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: 2220 Views
  • Charles
    Avatar
    Community Member
    2 Posts

    What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    I am trying to move all the stuff including silverstripe and mysql data from Linux to Windows. What are the right steps to do this? These are what I did:
    1. Copy all the files within mysite directory to the counterpart in Windows box.
    2. Reinstall Silverstripe there
    3. Export and import Mysql data

    However, all the pages under Silverstripe CMS in Windows box lost the customized PageType, going back to the default one "Page".

    Thanks.

  • Phalkunz
    Avatar
    69 Posts

    Re: What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    I think step 2 is not neccessary. If you did so, make sure you export all the data from the database on linux and tell mysql you want to overwrite all data in the new database when you import the data into the new database on windows.

    It would be easier if in step you create a new database only and then in step 3 you just export and import all the data into the new database.

  • Charles
    Avatar
    Community Member
    2 Posts

    Re: What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    No..... not working..... it complains I am browsing pages that are not found.
    I think somehow Silvertripes gets to talk with Mysql in a normal way, direct copy of it from Linux to Windows won't make the correct linkage..

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    Linux vs Win MySQL is the issue probably. Linux is case sensitive for tables and windows is not (or the other way round?!?). I dont know if theres a easy way to get round this when exporting / importing the database as Ive never had to do it but a couple people have done it by hand

  • Re: What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    I can vouch for what willr says, . On *nix, MySQL tables can contain uppercase/lowercase, while on windows only lowercase. The only way that i know to migrate between these is to open up your SQL dump and manually edit all the tablenames to lowercase. Then you can import this into your windows MySQL DB, and it should all work fine.

  • Phalkunz
    Avatar
    69 Posts

    Re: What are the right steps to move silverstripe from Linux to Windows box? Link to this post

    What willr and Grayzag said is right. I didn't think of it at all. I would like to add another point. Mod_rewrite (clean url) can be a problem depending on a web server.

    2220 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.