I have to rebuild a new fog server



  • I have a server that is having issues, but last week I backed up my images to an external hard drive, I was going to rebuild a server but I would like to know if there is any issues by copying over images from the external HD to the new server? If anyone has done this what steps did you take to make this process go smooth?

    Thank You



  • i rebuilt my server after i broke no issues at all copying the images in froma usb once you keep the exact name and chmod the images.


  • Developer

    @fredlwal, post: 45290, member: 26766 said:

    So I should do that after I copy over the images folder that is on the external hard drive?

    Yes, after you copy your images from the External drive to the /images folder, open terminal and issue the command.

    You will also need to create an image store for each image you wish to assign to a host.



  • @Jaymes Driver, post: 45289, member: 3582 said:

    
    

    sudo chmod -R 0777 /images

    So I should do that after I copy over the images folder that is on the external hard drive?


  • Developer

    
    sudo chmod -R 0777 /images
    
    


  • @Jaymes Driver, post: 45158, member: 3582 said:

    What version was your previous FOG server?

    You shouldn’t have any issues, but when you copy your images into your /images folder, you will also need to create an image store for each image. You will also want to make sure that the path listed in the Image store is IDENTICAL to the folder that is storing the image.

    The only thing you need to look out for is if your server is an older version, such as 0.32, or 0.33b. We upgraded the partimage to partclone and the images are not exactly reverse compatible, but there is a way to enable the Legacy flag so that you can continue to use your older images on a newer server. Personally, I’ve had better luck with deploying the image from a current server and uploading fresh to a new server.

    For Example. Lets say one of your images is named Dell2015. When you add the image the the image store you will want to verify that the “Image File” box has the correct folder listed. In linux Dell2015 and dell2015 are NOT the same thing. If the folders are not correct, you will not be able to deploy your images, as FOG will not be able to find them.

    After you copy your images to your new /images folder, you will want to issue a chmod command to allow global read/write privileges so that the image can be found and used.

    what’s the command for the chmod to allow global read/write?


  • Developer

    @fredlwal, post: 45157, member: 26766 said:

    I have a server that is having issues, but last week I backed up my images to an external hard drive, I was going to rebuild a server but I would like to know if there is any issues by copying over images from the external HD to the new server? If anyone has done this what steps did you take to make this process go smooth?

    Thank You

    What version was your previous FOG server?

    You shouldn’t have any issues, but when you copy your images into your /images folder, you will also need to create an image store for each image. You will also want to make sure that the path listed in the Image store is IDENTICAL to the folder that is storing the image.

    The only thing you need to look out for is if your server is an older version, such as 0.32, or 0.33b. We upgraded the partimage to partclone and the images are not exactly reverse compatible, but there is a way to enable the Legacy flag so that you can continue to use your older images on a newer server. Personally, I’ve had better luck with deploying the image from a current server and uploading fresh to a new server.

    For Example. Lets say one of your images is named Dell2015. When you add the image the the image store you will want to verify that the “Image File” box has the correct folder listed. In linux Dell2015 and dell2015 are NOT the same thing. If the folders are not correct, you will not be able to deploy your images, as FOG will not be able to find them.

    After you copy your images to your new /images folder, you will want to issue a chmod command to allow global read/write privileges so that the image can be found and used.


Log in to reply
 

495
Online

38916
Users

10685
Topics

101363
Posts

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