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

HOSTS EXPORT

Scheduled Pinned Locked Moved
General
2
3
800
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.
  • J
    jrm
    last edited by Oct 26, 2018, 8:18 PM

    Hi,

    we use FOG on different country with one server by country. Sometimes we need to move pc between different site but we don’t use the same for all country and we make host export to csv and we change hostname and after upload hosts list to other server. I want to knwo if it’s possible to make export with only a part of host and not all.

    In advance thanks for your help.

    Jérôme

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 28, 2018, 7:19 AM

      @jrm We only implemented a full export of the hosts in FOG right now.

      It’s fairly easy to extract a single row from the full CSV file:
      Linux:

      grep -e "host1\|host2\|host3" export.csv > host123.csv
      

      Windows:

      findstr "host1" export.csv > host123.csv
      findstr "host2" export.csv >> host123.csv
      findstr "host3" export.csv >> host123.csv
      

      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
      • J
        jrm
        last edited by Nov 1, 2018, 8:22 PM

        @Sebastian-Roth Thanks for you answer, i’ll try next time.

        Sincerely.

        Jérôme

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

        242

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project