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

FOG--How to Manually Restore an Image?

Scheduled Pinned Locked Moved Solved
FOG Problems
3
6
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.
  • Q
    Qyjong
    last edited by Feb 13, 2019, 3:52 PM

    Is there something that shows a detailed guide how FOG works?

    What I am looking for is… If I want to use command line to manually restore an image, what commands would I type? Sometimes I would like to just plug in an Ubuntu hard drive into one non-networked computer and restore the image. Our FOG server runs at a different location, and the way the network is setup, we have many different VLANs and ACLs that keeps FOG from working at remote locations. We have a mobile server, but that takes time to setup. If I have just one computer at a remote location that needs to be imaged, I want to store the FOG image on a USB hard drive and use a live Ubuntu CD or even Clonezilla to restore that image.

    Clonezilla is a different issue altogether. From what I understand, FOG uses pigz compression and a mysql database. Clonezilla uses partclone. If there was an easy way to convert a FOG image to Clonezilla, that would be helpful too! I do have ssh and ftp access to the FOG server so can get whatever data is necessary.

    Any help you can give me is greatly appreciated!!

    Thank you.

    J 1 Reply Last reply Feb 13, 2019, 5:15 PM Reply Quote 0
    • J
      Junkhacker Developer @Qyjong
      last edited by Junkhacker Feb 14, 2019, 9:50 AM Feb 14, 2019, 3:50 PM

      @Qyjong FOG image capture and deploy are multi-step processes. each are several commands that rely on scripts and programs in the FOG OS (FOS) and change based on what options you have selected. FOG images are not designed to be used stand alone. Using FOG images without a FOG server will require steps that were expected to be automated and there really isn’t a quick way around it.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      Q 1 Reply Last reply Feb 14, 2019, 7:25 PM Reply Quote 0
      • J
        Junkhacker Developer @Qyjong
        last edited by Junkhacker Feb 13, 2019, 3:48 PM Feb 13, 2019, 5:15 PM

        @Qyjong FOG uses partclone, just like Clonezilla. but FOG does a lot of stuff that Clonezilla doesn’t. our images are technically compatible though.

        FOG automatically resizes partitions and makes sure that data needed to boot is set correctly. but if you want, you can:
        manually create/size your destination partitions
        pipe your image through the appropriate decompressor (gzip or zstd) into partclone to deploy them
        resize the filesystems if needed.
        with any luck, it will boot without any extra steps.

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        Q 1 Reply Last reply Feb 14, 2019, 2:56 PM Reply Quote 0
        • Q
          Qyjong @Junkhacker
          last edited by Feb 14, 2019, 2:56 PM

          @Junkhacker Thank you for the quick reply. There does appear to be some type of compression difference between CZ and FOG. When you use Clonezilla to create an image, it creates a file with the exact command it used. I was hoping FOG did that somehow too, log the command used to create the image. I will look at it further and see what I can do.

          J 1 Reply Last reply Feb 14, 2019, 3:50 PM Reply Quote 0
          • G
            george1421 Moderator
            last edited by george1421 Feb 14, 2019, 9:19 AM Feb 14, 2019, 3:18 PM

            @Qyjong said in FOG--How to Manually Restore an Image?:

            If there was an easy way to convert a FOG image to Clonezilla,

            Truthfully the quickest and easiest way is to deploy and capture. You will spend less time tinkering around with this method. Depending on the size of your image, you can deploy with FOG in less than 4 minutes. Have fog power off the target computer after the deploy, then boot with clonezilla and capture. The only unknown is capture time with clonezilla. Using this method you are assured that when you capture with clonezilla all of the bits are in the right spot for clonezilla to deploy it again.

            [edit] Sorry I missed the main point of your post, how to manually restore an image. If this is the case then you won’t have the ability to deploy first…

            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!

            1 Reply Last reply Reply Quote 0
            • J
              Junkhacker Developer @Qyjong
              last edited by Junkhacker Feb 14, 2019, 9:50 AM Feb 14, 2019, 3:50 PM

              @Qyjong FOG image capture and deploy are multi-step processes. each are several commands that rely on scripts and programs in the FOG OS (FOS) and change based on what options you have selected. FOG images are not designed to be used stand alone. Using FOG images without a FOG server will require steps that were expected to be automated and there really isn’t a quick way around it.

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              Q 1 Reply Last reply Feb 14, 2019, 7:25 PM Reply Quote 0
              • Q
                Qyjong @Junkhacker
                last edited by Feb 14, 2019, 7:25 PM

                Thank you all; you have answered my questions! I have about five images I use most of the time. I do believe your suggestion to deploy from FOG and then capture using CZ would be my best option! And thank you for helping me understand the fundamental differences between FOG and CZ!

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

                256

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project