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

    How to Transfer Images to another FOG Server (1.3.0 RC 11)

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    8
    2.4k
    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.
    • W
      wcheung
      last edited by

      Server
      • FOG Version: 1.3.0 RC11
      • OS: ubuntu 14.04
      Client
      • Service Version:
      • OS:
      Description

      I created another FOG server and would like to know how to copy images from one server to another. I tried the terminal command

      server1$ scp -r /images server2_IP:/
      I don’t get any errors.

      server2$ touch /images/{.mntcheck,dev/.mntcheck}
      server2$ chmod 777 -R /images/

      no error messages.

      Then I go to server2 and log into fog and go to “Image Management” I don’t see anything. However, if I go to /images I do see the directory and files. Am I missing a step?

      I also attempted to create an image in “Image Management” and map the path that is in “/images/image_name”, and I still get nothing in the FOG.

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Yes, in short you copied the files but didn’t update the database on fog sever 2. If you go into the image management on fog server 1 and then use the export function to export the database into a file, then from the same browser go to fog server 2 -> Image management and then import the image database into fog server 2 you should be all set.

        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!

        1 Reply Last reply Reply Quote 2
        • W
          wcheung
          last edited by

          Ahhhh, thanks @george1421 worked like a charm.

          Kind of a side question but is there any tutorial links on Snapin?

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @wcheung
            last edited by

            @wcheung Wayne has some information here on the FOG wiki https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples

            If you have specific snapin questions, @Wayne-Workman is the guy. Just post in a new thread with your issue and I’m sure he can help you out. I personally don’t use snapins so I’m of limited use.

            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!

            W 1 Reply Last reply Reply Quote 1
            • W
              wcheung @george1421
              last edited by

              @george1421 Awesome! Thanks

              1 Reply Last reply Reply Quote 0
              • W
                wcheung
                last edited by

                @george1421 one last questions, if I got the folder in /images

                example

                Server1: /images/window7

                Copy that directory and export the image (image.csv), then Paste that file to Server2

                Server2: /images/window7

                and import that image.csv this should work?

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @wcheung
                  last edited by

                  @wcheung the short answer is right.

                  There is a two step process here.

                  1. Move the data files between fog1 and fog2
                  2. Export and import the database between fog1 and fog2.

                  Now I would only do it this way for a server migration. If this is going to be a normal function and you need both servers operational then I would setup replication between the two fog servers. You will still have to do the export/import part but the images will be magically copied between the two server (assuming you are using fog 1.3.x)

                  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!

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by Wayne Workman

                    There are also other mutli-fog-server setups too. At work, we use a 15-server distributed FOG system and it works fine. We have 1 web interface we use to control/do stuff wherever we want. FOG can do this out-of-box.

                    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 0
                    • 1 / 1
                    • First post
                      Last post

                    210

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project