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

Transfer images to a new system

Scheduled Pinned Locked Moved
Linux Problems
3
9
4.6k
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.
  • M
    mrdally204
    last edited by Jan 8, 2016, 3:17 PM

    Good Morning,

    I am looking to transition my fog server from a 1tb drive to a 2tb drive. In the process of doing this, I would like to start from scratch as far as the OS goes. Like a noob I installed the 32bit version of Ubuntu server thinking it would save a few resources and not accounting for the ram limitation…oops. The server machine is not changing, just the hard drive and underlying OS.

    My question is how can I go about transferring my 4 images from the old instance of fog to my newly installed one?

    1 Reply Last reply Reply Quote 0
    • E
      EAHarvey
      last edited by Jan 8, 2016, 3:29 PM

      When I did mine, I just copied the images into the new images folder on your server. Make the permissions are all set 777 on the folder. Then when you add an image through your FOG interface, make sure the name is exactly the same is the image name. I know there is a forum post on this. I’ll see if I can find it.

      1 Reply Last reply Reply Quote 2
      • M
        mrdally204
        last edited by Jan 8, 2016, 4:22 PM

        Is this the post you were referencing?

        https://forums.fogproject.org/topic/5541/transfert-images-to-new-server/6

        W 1 Reply Last reply Jan 8, 2016, 5:50 PM Reply Quote 0
        • W
          Wayne Workman @mrdally204
          last edited by Jan 8, 2016, 5:50 PM

          @mrdally204 How were you wanting to do the transfer? Do you have a USB external enclosure you can stick the old drive into? Do you want to not bother with that and use a shared folder on the network?

          There are a whole lot of options.

          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/

          M 1 Reply Last reply Jan 8, 2016, 6:04 PM Reply Quote 0
          • M
            mrdally204 @Wayne Workman
            last edited by Jan 8, 2016, 6:04 PM

            @Wayne-Workman I originally was just going to hook both drives up to the system and copy from one drive to the next. My main concern was getting FOG to recognize the images once they are in the proper location. The physical transferring of files should not be an obstacle .

            W 1 Reply Last reply Jan 8, 2016, 6:08 PM Reply Quote 0
            • W
              Wayne Workman @mrdally204
              last edited by Wayne Workman Jan 8, 2016, 4:14 PM Jan 8, 2016, 6:08 PM

              @mrdally204 Oh. yeah then just copy them over and then follow what @EAHarvey said.

              If you were using FOG Trunk (pre 1.3.0), you could export just the images table only, and then import that into the new server. See the pic below:

              0_1452276486298_upload-0ca3a84c-7be0-4614-aa3f-31aaf3ad2a0b

              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/

              M 1 Reply Last reply Jan 8, 2016, 6:36 PM Reply Quote 0
              • M
                mrdally204 @Wayne Workman
                last edited by Jan 8, 2016, 6:36 PM

                @Wayne-Workman I am using Trunk. So all I would need to do is export the images table on the old server, copy the folder that contains my images to the new instance, then import the images table? Please correct if I’m misunderstanding.

                W 1 Reply Last reply Jan 8, 2016, 10:13 PM Reply Quote 0
                • W
                  Wayne Workman @mrdally204
                  last edited by Wayne Workman Jan 8, 2016, 4:13 PM Jan 8, 2016, 10:13 PM

                  @mrdally204 said:

                  @Wayne-Workman I am using Trunk. So all I would need to do is export the images table on the old server, copy the folder that contains my images to the new instance, then import the images table? Please correct if I’m misunderstanding.

                  Given that you’re storage node name is the same, and the image path is the same, and that you have 777 perms on the image path and you have your .mntcheck files in there, yes.

                  • Make your storage node the same name
                  • Make sure /etc/exports is in order
                  • Make sure your image path is the same
                  • Assuming /images, make your .mntcheck files and set perms:
                    touch /images/.mntcheck
                    touch /images/dev/.mntcheck
                    chown -R fog:root /images
                    chmod -R 777 /images
                  • Import your images data via the web interface.

                  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
                  • E
                    EAHarvey
                    last edited by Jan 11, 2016, 2:28 PM

                    I should do a better job of explaining things. I just reread what i put and it was pretty vague. TY @Wayne-Workman for being much better at this than me. 🙂

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    1 / 1
                    • First post
                      6/9
                      Last post

                    155

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project