<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Backing_up_FOG</id>
		<title>Backing up FOG - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Backing_up_FOG"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG&amp;action=history"/>
		<updated>2026-05-10T03:30:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG&amp;diff=12594&amp;oldid=prev</id>
		<title>SebastianRoth at 20:00, 1 July 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG&amp;diff=12594&amp;oldid=prev"/>
				<updated>2019-07-01T20:00:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:00, 1 July 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot; &gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use this script run:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use this script run:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./FOGBackup.sh [directory]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./FOGBackup.sh &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-b &lt;/ins&gt;[directory]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;With this script you must pass an directory that exists to the script as an argument.&amp;#160; This directory is where your backups will be stored.&amp;#160; This script can be run as a cron job to make daily backups of your FOG data.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;With this script you must pass an directory that exists to the script as an argument.&amp;#160; This directory is where your backups will be stored.&amp;#160; This script can be run as a cron job to make daily backups of your FOG data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key fogwiki:diff:version:1.11a:oldid:7379:newid:12594 --&gt;
&lt;/table&gt;</summary>
		<author><name>SebastianRoth</name></author>	</entry>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG&amp;diff=7379&amp;oldid=prev</id>
		<title>Hackernun: /* Overview */</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Backing_up_FOG&amp;diff=7379&amp;oldid=prev"/>
				<updated>2012-04-30T04:37:44Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Overview ===&lt;br /&gt;
&lt;br /&gt;
Backing up FOG is pretty simple, there are a few directories that need to be backed up, plus the mysql database.  The following sections give you an overview of how to backup your FOG system.  The following should include everything you should backup/save in order to be able to restore FOG.   When backing up the directories below it is recommended that you use '''cp -a''' to ensure that all the rights are maintained.  &lt;br /&gt;
&lt;br /&gt;
As of version 0.14 a script is provided with FOG to make backups easier (not present in 0.32).  The script is located at:&lt;br /&gt;
&lt;br /&gt;
 utils/FOGBackup/FOGBackup.sh&lt;br /&gt;
&lt;br /&gt;
To use this script run:&lt;br /&gt;
&lt;br /&gt;
 ./FOGBackup.sh [directory]&lt;br /&gt;
&lt;br /&gt;
With this script you must pass an directory that exists to the script as an argument.  This directory is where your backups will be stored.  This script can be run as a cron job to make daily backups of your FOG data.&lt;br /&gt;
&lt;br /&gt;
=== Original Installation Tar File ===&lt;br /&gt;
&lt;br /&gt;
You should save a copy of the original tar.gz file that was downloaded from FOG/sourceforge.  &lt;br /&gt;
&lt;br /&gt;
=== Web Directory ===&lt;br /&gt;
&lt;br /&gt;
The web directory is the directory that contains all the php pages for the FOG management portal.  The only reason this directory really should be backed up is because it contains the '''reports''' directory which may contain custom reports.  We recommend that you save the entire web directory because in the future we may add new sections that may have custom, or user data.  &lt;br /&gt;
&lt;br /&gt;
=== OPT Directory ===&lt;br /&gt;
&lt;br /&gt;
The /opt/fog directory contains the directory that holds snapins, The /opt/fog directory should be backed up along with all its sub directories.  &lt;br /&gt;
&lt;br /&gt;
=== Images Directory ===&lt;br /&gt;
&lt;br /&gt;
This is the tough one, the images directory located at '''/images'''.  This holds the partition images and it could be '''VERY''' large.&lt;br /&gt;
&lt;br /&gt;
=== MySQL Database ===&lt;br /&gt;
&lt;br /&gt;
MySql holds all the data for FOG, like all your host, image, printer, snapin and inventory information.  You can backup your mysql data with the following command:&lt;br /&gt;
&lt;br /&gt;
 mysqldump --allow-keywords -x -v fog &amp;gt; fogbackup.sql&lt;/div&gt;</summary>
		<author><name>Hackernun</name></author>	</entry>

	</feed>