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

    Export Full Host list

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    1.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.
    • E
      eddieduce
      last edited by

      I am having issues exporting the host list. I found this link ([url]http://fogproject.org/forum/threads/mass-export-host-information.902/[/url]) showing the command information. I got the user and password information from the FOG Settings for mySQL but there is no information being saved, or error messages being returned.

      The commands I followed are these:

      [FONT=Consolas]#mysqldump -u root -p[password] fog hosts > hosts.sql[/FONT]
      [FONT=Consolas]Where does the file actually go to? I checked the root directory but found nothing. I modified the directory in the output to point to my home directory but it did not give me any results.[/FONT]

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        The file is whereever you were in.

        My guess is you in the Root’s home directory: /root/

        To find the file on your system go in to the root of the drive with:
        [code]cd /[/code]

        Then run the command:
        [code]find . -name hosts.sql[/code]

        It will report the results of the file, if it finds it, as something like:
        /home/ccmiens/hosts.sql
        /root/hosts.sql

        My guess is that you opened a terminal and performed the command, so you can also check in
        [code]cd /root/
        ls[/code]

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

        189

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project