Migration from Debian x86 to x64

Discussion in 'Installation/Configuration' started by lucani, Jul 2, 2010.

  1. lucani

    lucani Member HowtoForge Supporter

    Is it possible to move all ISPConfig (config + linux groups/users + mysql + files) from my 32-bit Debian (x86) to 64-bit Debian (x64) ?

    I have 2 partitions: /var and "others"

    Thanks in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, should be no problem. The config setup is the same and also the user file formats etc. are identical. I'am not sure for mysql databases, you might want to export them with mysqldump into a text file and then reimport them on the new server.
     
  3. lucani

    lucani Member HowtoForge Supporter

    But what about user and groups accounts? What should I copy from old 32-bit system disk to the new one with installed 64-bit system? I understand I should install also all ISPConfig3 stuff, duplicate database, copy /var/www/ and? What should I do for example with virtual hosts files?
     
  4. damir

    damir New Member

    VirtualHost files can be found in /etc/apache2
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Either copy the vhost files and symlinks in /etc/apache2/ sites-enabled and /etc/apache2/sites-available or edit a value in the site settings in ispconfig for that site and click on save.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    copy the web* users and client* groups from passwd, shadow, group and gshadow file.
     
  7. lucani

    lucani Member HowtoForge Supporter

    I've got problems with moving data from /etc/group

    Source server:
    Code:
    vmail:x:5000:
    getmail:x:5001:
    sshusers:x:5002:web1,web2,web5,web6,web7
    ispconfig:x:5003:www-data
    client1:x:5004:www-data
    client2:x:5005:www-data
    client4:x:5006:www-data
    ispapps:x:5007:www-data
    client5:x:5008:www-data
    client3:x:5009:www-data
    
    Destination server:
    Code:
    vmail:x:5000:
    getmail:x:5001:
    sshusers:x:5002:
    ispapps:x:5003:www-data
    ispconfig:x:5004:www-data
    
    After merging:
    Code:
    [COLOR="Green"]vmail:x:5000:  OK
    getmail:x:5001:  OK
    sshusers:x:5002:web1,web2,web5,web6,web7  OK[/COLOR]
    [COLOR="Red"]
    ...........SOURCE.....................................DESTINATION
    ispapps:x:5007:www-data......\............/.....ispapps:x:5003:www-data
    ..............................}....VS....{..............................
    ispconfig:x:5003:www-data..../............\....ispconfig:x:5004:www-data
    
    client1:x:5004:www-data NOT OK already ispconfig group in destination[/COLOR]
    [COLOR="Green"]client2:x:5005:www-data  OK
    client4:x:5006:www-data  OK
    client5:x:5008:www-data  OK
    client3:x:5009:www-data  OK[/COLOR]
    
    As I understand this numbers (group ID) are important and I shouldn't manually reorganize this fields?

    What should I do now?

    How filesystem works? Will my filesystem/owning system crash if I manually change this IDs in groups file?
     
    Last edited: Sep 9, 2010
  8. lucani

    lucani Member HowtoForge Supporter

    bump, anybody can help?
     
  9. lucani

    lucani Member HowtoForge Supporter

    bump......
     
  10. lucani

    lucani Member HowtoForge Supporter

    Ok, I found out on the net that there is no sense in doing such a thing because I should also manually chown /var/www/... files.

    To close.
     

Share This Page