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

Backup of Fog_1.2.0 especially sql database

Scheduled Pinned Locked Moved
FOG Problems
3
4
1.3k
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.
  • S
    SteveB689
    last edited by Jul 13, 2016, 12:25 PM

    The wiki is out of date for backup process?
    Has anyone documentd the process for my version?

    I have a second fog server with some images on it… they fail to push because I havent copied over the sql table from the original Fog server.

    So just need
    copy sql from first FOG copy over to second Fog

    cheers
    all

    Just need the commands to copy

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jul 13, 2016, 8:06 AM Jul 13, 2016, 2:04 PM

      You can take an older DB and place it into newer FOG, but not the reverse. The below I think will overwrite everything in your DB.

      You should be able to export the DB from 1.2.0 into fog trunk using the web interface. It’s here:
      Web Interface -> FOG Configuration -> Configuration Save -> Export

      You can expect to change the IP address and credentials in several places in the web interface after you do this.

      Here’s how to do it manually.
      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Manually_export_.2F_import_Fog_database

      And just in case you lock yourself out of the web interface, there’s this:
      https://wiki.fogproject.org/wiki/index.php?title=Password_Central#Web_Interface

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth Jul 14, 2016, 1:32 AM Jul 14, 2016, 7:31 AM

        @SteveB689 What about your other post?? https://forums.fogproject.org/topic/8050/images-table

        I think you are looking for the mysqldump command. Check out the man page for options (e.g. mysqldump [options] db_name [tbl_name ...] > dump.sql) and only export the images table.

        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

        S 1 Reply Last reply Jul 14, 2016, 7:38 AM Reply Quote 0
        • S
          SteveB689 @Sebastian Roth
          last edited by Jul 14, 2016, 7:38 AM

          @Sebastian-Roth
          Yes, very much under time pressure in the business at the moment… I had to rebuild another Fog server… and I uploaded my 2 main images onto it manually… so I didnt use any of the backup procedure.
          This is all a consequence of being forced by company circumstances to run things into production without any testing time…
          the joy of decisions being made above your head and you just being told to get on with it!

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

          163

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project