Transfert images to new server



  • Hi all,
    I’ve been using Fog Server for about 2 years now and i am very happy with it. We decided to change the setup since it has been on an old desktop computer in a Virtualbox VM on Ubuntu Desktop 13.10. Our new setup is on Ubuntu Server 14.04.2 in VMWARE VShere. I was able to transfer my 5 images to the new server via scp. (Found the procedure on this forum.) I see the data on my server and on the FOG Dashboard. But when i go in images management there are no image. Can anyone help me please? Thank you in advanced.



  • Thank you! It worked like a charmed.


  • Moderator

    @sfayle
    @Junkhacker said:

    or, you can recreate the image profiles manually through the web interface

    This is the method I would advise most people to do.

    Just make sure you name your images exactly the way their directories are named in the actual /images directory. Linux is case sensitive.


  • Developer

    or, you can recreate the image profiles manually through the web interface



  • This post is deleted!

  • Developer

    you’ve transferred the files, but fog also stores for each image a “profile” of information. this information is stored in the database. if you’re comfortable with interacting with the database directly from the mysql command line or a tool like phpmyadmin, the easiest way to transfer this data from an old server to a new one is to copy the “images” table from the “fog” database to the new server’s “fog” database. on a new server where you have not created any new images, this should be safe to do. if you have created new images on the new server prior to copying over your old info, you’ll need to be careful to not duplicate any “imageID” values.


Log in to reply
 

508
Online

39.4k
Users

11.1k
Topics

105.5k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.