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

FOG backup script, NICE! FOG restore script?

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
4
1.7k
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.
  • P
    palloquin
    last edited by Feb 2, 2017, 9:12 AM

    Hi all,

    The wiki has a nice article on how to backup a FOG machine: https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG

    It tells us about a wonderful script:

    utils/FOGBackup/FOGBackup.sh
    

    to backup every thing. NICE!

    But… now I want to move from that flimsy old test machine to a production server. I have my fog backups stored somewhere, now what? how do I restore these backups?

    #linuxNoob.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 2, 2017, 11:51 AM

      The backup script is intended to give you the backup of the data you need. What you do with it at that point is up to you. It’s not a “backup” in the sense of a utility that can simply restore it over to a new machine, it’s more intended to give you a localized backup that you would put on an external HDD or USB. You would then take that hdd and put it on another system.

      After it’s on the other system, if that’s going to be the one you’re using fog on next, you would have to place the files where they’re intended to go. Where that is, I don’t know.

      Creating a restore utility can be done and it can be done relatively easily. But all the utility would be doing is asking you where and what you’re trying to restore. This would be little different to what you could do manually.

      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
      • P
        palloquin
        last edited by Feb 2, 2017, 11:59 AM

        Hi Tom!

        thanks for the response.
        I understand what the backup script does (just not exactly how it does it). I take these backups from the fogserver using sftp and store them in our backup system.

        I, and likely others like me, simply do not have the experience to know what to do with these separate items in a backup.
        I’m sure I should copy the images somewhere, somehow restore the database, etc. But I lack the knowledge of how and what exactly. I could of course make that my question: “How do I restore?”

        A restore a utility would be very welcome. It would seem that since the backup script knows where to find the sources to backup, an inverse script that knows where to restore should be doable indeed.

        But for now (so I can finish this job) could you describe how to manually restore the backups?

        Thank you so much!

        Daaf

        Q 1 Reply Last reply Feb 2, 2017, 12:32 PM Reply Quote 0
        • Q
          Quazz Moderator @palloquin
          last edited by Feb 2, 2017, 12:32 PM

          @palloquin https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

          That might help

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

          258

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project