• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved Moving images from 1.0 Server to 1.2 Server

    FOG Problems
    5
    13
    3382
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • Tom Elliott
        Tom Elliott @Guest last edited by

        @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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          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?

          Tom Elliott 1 Reply Last reply Reply Quote 0
          • Wayne Workman
            Wayne Workman @Guest last edited by

            @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.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 1
            • ?
              A Former User @Trevelyan last edited by

              @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?

              Wayne Workman 1 Reply Last reply Reply Quote 0
              • Tom Elliott
                Tom Elliott @Trevelyan last edited by

                @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)

                image1.png

                So this is solved?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • Trevelyan
                  Trevelyan last edited by

                  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)

                  image1.png

                  Tom Elliott ? 2 Replies Last reply Reply Quote 1
                  • ?
                    A Former User last edited by

                    FYI, on the Dashboard, it is reporting the correct amount of disk used for the amount of images I did copy over.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Trevelyan last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Joseph Hales
                            Joseph Hales Testers last edited by

                            You also need to remember to select partimage when setting the type in the image records as you recreate them.

                            RTFM

                            1 Reply Last reply Reply Quote 0
                            • Trevelyan
                              Trevelyan last edited by

                              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)

                              ? 1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              74
                              Online

                              10.3k
                              Users

                              16.4k
                              Topics

                              150.4k
                              Posts

                              Copyright © 2012-2023 FOG Project