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

Transfert images to new server

Scheduled Pinned Locked Moved Solved
FOG Problems
4
6
2.8k
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.
  • S
    sfayle
    last edited by Jul 28, 2015, 4:08 PM

    Hi all,
    I’ve been using Fog Server for about 2 years now and i am very happy with it. We decided to change the setup since it has been on an old desktop computer in a Virtualbox VM on Ubuntu Desktop 13.10. Our new setup is on Ubuntu Server 14.04.2 in VMWARE VShere. I was able to transfer my 5 images to the new server via scp. (Found the procedure on this forum.) I see the data on my server and on the FOG Dashboard. But when i go in images management there are no image. Can anyone help me please? Thank you in advanced.

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Jul 28, 2015, 4:24 PM

      you’ve transferred the files, but fog also stores for each image a “profile” of information. this information is stored in the database. if you’re comfortable with interacting with the database directly from the mysql command line or a tool like phpmyadmin, the easiest way to transfer this data from an old server to a new one is to copy the “images” table from the “fog” database to the new server’s “fog” database. on a new server where you have not created any new images, this should be safe to do. if you have created new images on the new server prior to copying over your old info, you’ll need to be careful to not duplicate any “imageID” values.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 1
      • J
        jjacobs
        last edited by Jul 28, 2015, 4:26 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Jul 28, 2015, 4:40 PM

          or, you can recreate the image profiles manually through the web interface

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          W 1 Reply Last reply Jul 28, 2015, 5:18 PM Reply Quote 1
          • W
            Wayne Workman @Junkhacker
            last edited by Wayne Workman Jul 28, 2015, 11:19 AM Jul 28, 2015, 5:18 PM

            @sfayle
            @Junkhacker said:

            or, you can recreate the image profiles manually through the web interface

            This is the method I would advise most people to do.

            Just make sure you name your images exactly the way their directories are named in the actual /images directory. Linux is case sensitive.

            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
            • S
              sfayle
              last edited by Jul 29, 2015, 2:22 PM

              Thank you! It worked like a charmed.

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

              166

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project