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

Recovering computer inventory

Scheduled Pinned Locked Moved
FOG Problems
3
3
1.2k
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.
  • B
    Bens-SCSI
    last edited by Dec 18, 2013, 8:32 PM

    Our fog server died (Ubuntu 10.04, FOG 0.32). I have since rebuilt it on a Ubunto 12.04 system and have my images recovered, but would like to know if it’s possible to recover the computer inventory from the old system, as it represents a ton of work to re-inventory all the systems on the network here. I believe the hard drive is still working, but the OS is hosed. I can have our Linux guru see if he can get it working, but I’m not sure how feasible that is.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Dec 18, 2013, 8:35 PM

      If you can, at the very least, get the drive mounted, and know the database is in fine shape, just copy the {mounted hdd}/var/lib/mysql folder to the actual /var/lib/mysql.

      I might be off on ubuntu location but it should be similar.

      Before you do the copy, make sure your current database is not running with: sudo service mysql stop.

      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
      • C
        chad-bisd Moderator
        last edited by Dec 19, 2013, 3:43 PM

        Like Tom said, recovery of the computer inventory is not really a FOG issue, but more of a mysql recovery issue. You’ll need to look on the mysql documentation for how to recover a database from the files. The method depends on which storage engine the database was using. You can probably look at your current database and assume the old one was using the same engine (InnoDB, MyISAM, etc).


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

        151

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project