1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

migration plan

Discussion in 'Forum Management' started by dethfire, Sep 14, 2014.

  1. dethfire

    dethfire Well-Known Member

    I'm planning to migrate next weekend. I've calculated it will take 7-8 hours to import the data. Should I completely close the board or could I just disable registration, pm, posting etc? Thus preserving traffic, won't confuse google and members/visitors can still read.
     
  2. imthebest

    imthebest Formerly Super120

    What are you migrating from? vBulletin?
     
    dethfire likes this.
  3. RoldanLT

    RoldanLT Well-Known Member

    I recommend closing the board.
    If you can do the conversation via CLI mode that way import is much faster.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You could do the import from a backup and leave the site open for browsing.
     
    dethfire likes this.
  5. dethfire

    dethfire Well-Known Member

    For CLI does my PHP install need anything special? I'm running 5.3.29
     
  6. RoldanLT

    RoldanLT Well-Known Member

    php-cli
     
  7. RoldanLT

    RoldanLT Well-Known Member

    Not 100%, @MattW please confirm :)
     
  8. MattW

    MattW Well-Known Member

    Correct.
     
  9. dethfire

    dethfire Well-Known Member

    It appears cli is in the default php 5.3 package
     
  10. MattW

    MattW Well-Known Member

    It's default in them all AFAIK.

    Code:
    [root@host nginx.d]# rpm -q --requires php-5.6.0-1.el6.x86_64
    php-common = 5.6.0-1.el6
    php-cli = 5.6.0-1.el6
    rpmlib(FileDigests) <= 4.6.0-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(PayloadIsXz) <= 5.2-1
     
    dethfire likes this.
  11. dethfire

    dethfire Well-Known Member

    Can I install xenforo in a folder off the root directory of the old forum, get it configured, import the data, then delete the old forum files at the root and reupload the xenforo files to the root and it should work?
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    Yes.
     
    dethfire likes this.
  13. Floyd R Turbo

    Floyd R Turbo Well-Known Member

    You actually don't need to re-upload anything. All you need to do it move the install directory and then update it in ACP.

    For reference, this is how I do a test site based off the live site:

    1) Make copy of database & assign DB username/password
    2) zip entire XF install directory
    3) create new password protected directory
    4) unzip XF install into that directory
    5) edit config file to reflect copied database
    6) go to url, enter ACP, change board path

    So for a fresh install it's actually just move the contents, then step 6.

    Looking forward to the new PF
     
  14. dethfire

    dethfire Well-Known Member

    for the customavatars and attachments, do I need to keep those folders where they are after the import or does the import put them somewhere else and I can delete them?
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Once the import is completed, the source data is no longer required, including avatars and attachments.
     
    dethfire likes this.
  16. dethfire

    dethfire Well-Known Member

    are they put in the database or moved elsewhere in the file system?
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    They are stored in the file system in the XenForo installation.
     
    dethfire likes this.
  18. Floyd R Turbo

    Floyd R Turbo Well-Known Member

    Stored in data/attachment and data/avatar...that's off the top of my head though (at football game)
     
    dethfire likes this.
  19. dethfire

    dethfire Well-Known Member

    anyone know the linux command to move all files/folders in a folder, up a folder level?

    found this on stack

    mv * .[^.]* ..
     
  20. RoldanLT

    RoldanLT Well-Known Member

    mv /public_html/xenforo/* /public_html/ ?
     

Share This Page