Moving images from 1.0 Server to 1.2 Server
-
Hey guys,
I recently built a new FOG 1.2 server with Ubuntu 14.0.4.2 running on an ESXI Box. I’m trying to get all my images from my old 1.0X (cant remember version) over to the new 1.2 server. I thought I could just copy the entire contents of the old images folder to the new server’s images folder and I would be good to go. This does not seem to be the case. How do I accomplish this?
-
When you say it isn’t the case, do you mean you get an error copying, get an error deploying or it just doesn’t show up?
(in case you didn’t do it - you still have to make the new image in the web management interface, with the path to your image)
-
You also need to remember to select partimage when setting the type in the image records as you recreate them.
-
This post is deleted! -
This post is deleted! -
@Trevelyan The images just do not show up under Image Management > List all images… what else must I do now that they are all copied from the older server to the new server in the proper location?
-
FYI, on the Dashboard, it is reporting the correct amount of disk used for the amount of images I did copy over.
-
Yeah so in the “List all images” area, you still have to make them again. They exist, they’re taking up space, but you still have to have that image entry in FOG (it doesn’t automatically just pick up things dumped in the /images/ folder, for example).
Just make a new entry, give it whatever name you want, and then make sure you give it the right file path (as well as what OS you use and what type of disk it is - for example multiple partition, single disk)
-
@Trevelyan said:
Yeah so in the “List all images” area, you still have to make them again. They exist, they’re taking up space, but you still have to have that image entry in FOG (it doesn’t automatically just pick up things dumped in the /images/ folder, for example).
Just make a new entry, give it whatever name you want, and then make sure you give it the right file path (as well as what OS you use and what type of disk it is - for example multiple partition, single disk)
So this is solved?
-
@Trevelyan Awesome, Thanks!!
Just curious however, we have many images, is there an automated way to do this via some kind of SQL dump and import into the new server?
-
@techpromise said:
@Trevelyan Awesome, Thanks!!
Just curious however, we have many images, is there an automated way to do this via some kind of SQL dump and import into the new server?
There is.
FOG Configuration -> Configuration Save -> Export/Import.
That’ll dump / load your ENTIRE database.
I export mine EVERY Friday, along with all my images too. AND I make snapshots of my FOG server every Friday, AND I do a complete windows server backup every Friday… AND I have live replication enabled on my virtual FOG server…
If I go down, it won’t be for long lol.
-
Thanks for the help guys, I decided to manually add the images back in as the SQL dump carried over some errors from the old system.
How do I mark this as solved?
-
@techpromise said:
Thanks for the help guys, I decided to manually add the images back in as the SQL dump carried over some errors from the old system.
How do I mark this as solved?
Ask us and we will oblige.