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

    Restore from backup

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    1.9k
    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.
    • Joseph HalesJ
      Joseph Hales Testers
      last edited by

      We recently lost our entire fog server. We used this as an opportunity to go from ubuntu 10 lts to 12.04 lts. Our main issue is we have a full backup of the file system but after reinstalling the os and fog .32 from scratch and restoring.
      /opt/fog
      /var/www/fog
      /tftpboot
      We are not back to normal I believe we are missing the actual sql database and since we have a copy of the file system and not a dump as created by mysqldump where is the file or files physically located and do i need to do anything special when I restore them from our backup.

      RTFM

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        you can manually create the images in your image store of the WEB Gui, this would create the SQL database entry for the image, then you can copy the contents of /images to the respective folders. this will create the folders with the proper permissions you just need to copy the physical file to its folder.

        After you have the images “created”, you can re-associate your hosts to the fog server, and ultimately, the image.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • Jaymes DriverJ
          Jaymes Driver Developer
          last edited by

          there are other ways to dance around it, this would be the fastest method to make sure permissions don’t bite you in the @$$

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

          1 Reply Last reply Reply Quote 0
          • Joseph HalesJ
            Joseph Hales Testers
            last edited by

            We are also looking for the database that currently has about 9800 entries of computers that were registered with fog before it crashed. Also we are trying to find the sql table that might have the users that have been created with their respective password.

            RTFM

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by

              You can look into recovering a mysql database. There may be a way to remount the tables so you can export the data.


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

              218

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project