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

Fog 1.2.0 Images and Data Exporting

Scheduled Pinned Locked Moved
FOG Problems
4
6
2.3k
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
    Motech09
    last edited by Jul 15, 2016, 10:17 PM

    Hello,

    We use Fog 1.2.0 but due to new hardware coming in I have put together Fog Trunk version onto Ubuntu 16.04.

    Running Version 8609
    SVN Revision: 5909

    Here is the brick wall thus far:

    I have the new trunk server up and running but I need the image database information from the old 1.2.0 added to the new server. Is it possible to export that into CSV in order to import it into the new Fog server so I will not have to rebuild the information for each image? Or, is it recommended to create it all by hand in the trunk version?

    I noticed the import/export feature in the trunk version which is nice but the 1.2.0, unfortunately, does not have it that I can see.

    Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • M
      Motech09
      last edited by Jul 15, 2016, 10:22 PM

      Just realized, I guess I could research MySql and try to export it from there…

      W 1 Reply Last reply Jul 15, 2016, 10:30 PM Reply Quote 0
      • W
        Wayne Workman @Motech09
        last edited by Jul 15, 2016, 10:30 PM

        @Motech09 I’m pretty sure that 1.2.0 could export hosts. Look in Host Management, and on the left you should see export.

        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
        • T
          Tom Elliott
          last edited by Jul 15, 2016, 10:35 PM

          1.2.0 did allow exporting hosts, but it did not export anything else.

          However, you can copy your 1.2.0 database and import it into your shiny new trunk server.

          The upgrade process should go smoothly enough, and if there’s any issues we’re here to help.

          Of course you could just mysql export/dump to csv the images table, but I think starting from scratch and importing known information into the new one would be the simplest to work from. It would also mean you don’t have to go figuring out the new image ids and reassociating hosts with those images/groups/snapins/etc…

          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

          M 1 Reply Last reply Jul 19, 2016, 5:26 PM Reply Quote 0
          • M
            Motech09 @Tom Elliott
            last edited by Jul 19, 2016, 5:26 PM

            @Tom-Elliott

            So, I would had to do the copying during install? Or did I miss that opportunity since I have already got the new server set up and ready?

            J 1 Reply Last reply Jul 20, 2016, 1:35 PM Reply Quote 0
            • J
              Junkhacker Developer @Motech09
              last edited by Junkhacker Jul 20, 2016, 7:38 AM Jul 20, 2016, 1:35 PM

              @Motech09 write down all of the passwords and IPs you’re using on the new server. drop the new server database (make a backup first). import a backup of the old database on the new server. open the new server’s web gui. it will ask to upgrade the database. update all of the passwords with the ones for the new server, since the new server how has all of the old passwords and IP addresses from the old database.

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

              196

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project