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

Inventory not exported with Hosts

Scheduled Pinned Locked Moved Solved
FOG Problems
3
6
1.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.
  • T
    treyw00
    last edited by Nov 17, 2015, 7:22 PM

    Hi,

    I exported all my hosts to a new Fog Server (both were running 1.2.0) and the Hosts imported correctly, yet the Inventory wasn’t included for any of the machines. Is there a way to transfer the inventory information?

    Thanks

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Nov 17, 2015, 7:26 PM

      Export:

       mysqldump fog inventory > inventory.sql
      

      Import:

      mysql -D fog < inventory.sql
      

      You may also use the username and password arguments if necessary.
      Reference: https://steveswanson.wordpress.com/2009/04/21/exporting-and-importing-an-individual-mysql-table/

      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 Nov 17, 2015, 8:28 PM

        Inventory is stored 100% separate from the rest of the items.

        There are many tables stored in such manner. All the export cares about at that point is the data of the given object (hosts->hosts, not hosts->inventory,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

        1 Reply Last reply Reply Quote 0
        • T
          treyw00
          last edited by Nov 17, 2015, 8:42 PM

          soooo good news / bad news…

          Good news is, I got the export/import of the sql data to work…bad news is, it didn’t match up to the devices correctly…

          W 1 Reply Last reply Nov 17, 2015, 9:12 PM Reply Quote 0
          • W
            Wayne Workman @treyw00
            last edited by Nov 17, 2015, 9:12 PM

            @treyw00 Are you aware of the DB import/export feature in 1.2.0 ?

            FOG Configuration -> Configuration Save -> Import / 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
              treyw00
              last edited by Nov 17, 2015, 9:22 PM

              I was not…and that worked like a dream!

              Thank you so much!

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

              220

              Online

              12.2k

              Users

              17.3k

              Topics

              155.5k

              Posts
              Copyright © 2012-2024 FOG Project