<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Backup Feature for user profiles&#x2F;Data]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">just to let you know i’ve successfully been able to backup users profile before imaging.</p>
<p dir="auto">FOG takes a direct copy of doc and settings (xp) or users (win7/8) - images the machine then pulls the backup back down to the newly machine under root C:\MachineName-UserBackup</p>
<p dir="auto">helps not to lose data if no folder redirection is setup. if anyone interested i can post the mods you need to make to the init.gz…</p>
<p dir="auto">also if considered for main fog code was thinking maybe have a tick box under host to say whether to choose whether to backup or not. thoughts?</p>
]]></description><link>http://forums.fogproject.org/topic/1781/backup-feature-for-user-profiles-data</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 07:15:28 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/1781.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 May 2013 08:27:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Wed, 16 Oct 2013 10:13:51 GMT]]></title><description><![CDATA[<p dir="auto">sysfs,</p>
<p dir="auto">You also have to mount it.</p>
<p dir="auto">The gzip is ext2 formatted file/filesystem.</p>
<p dir="auto">The way you edit is to perform these tasks:</p>
<p dir="auto">First unzip, as you already know how but just for clarity sake:<br />
[code]cd /tftpboot/fog/images<br />
gunzip init.gz[/code]</p>
<p dir="auto">Then make another directory and mount it like a filesystem:<br />
[code]mkdir tmp<br />
mount -o loop init tmp<br />
[/code]</p>
<p dir="auto">Then cd into the tmp folder and you’ll see all the scripts and the “Root” filesystem fog uses. Most of the scripts are in the bin folder so:<br />
[code]<br />
cd tmp/bin<br />
[/code]</p>
<p dir="auto">Then you can edit all the scripts you need to.</p>
<p dir="auto">When you’re all complete perform these tasks:</p>
<p dir="auto">[code]<br />
cd /tftpboot/fog/images<br />
umount tmp<br />
gzip -9 init<br />
[/code]</p>
<p dir="auto">You should, then, have successfully customized your init.gz file.</p>
]]></description><link>http://forums.fogproject.org/post/14993</link><guid isPermaLink="true">http://forums.fogproject.org/post/14993</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Wed, 16 Oct 2013 10:13:51 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Wed, 16 Oct 2013 08:52:50 GMT]]></title><description><![CDATA[<p dir="auto">I’m pretty new to this whole thing. I’ve got my system up and running and would like to add this as a feature but I’m unsure how to edit the init.gz code. I pulled down /tftpboot/fog/images/init.gz and unzipped it but I cant find the code that I am supposed to edit. I assume that means I have grabbed the wrong init.gz but I’m not sure which one I should be grabbing. Any help would be greatly appreciated.</p>
]]></description><link>http://forums.fogproject.org/post/14992</link><guid isPermaLink="true">http://forums.fogproject.org/post/14992</guid><dc:creator><![CDATA[sysfs]]></dc:creator><pubDate>Wed, 16 Oct 2013 08:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 06 Sep 2013 23:19:59 GMT]]></title><description><![CDATA[<p dir="auto">Can you update your posts above to use the CODE tags around the code, and if possible include approximate line numbers of where to begin?</p>
<p dir="auto">Awesome job.</p>
]]></description><link>http://forums.fogproject.org/post/14306</link><guid isPermaLink="true">http://forums.fogproject.org/post/14306</guid><dc:creator><![CDATA[chad-bisd]]></dc:creator><pubDate>Fri, 06 Sep 2013 23:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Tue, 27 Aug 2013 16:55:51 GMT]]></title><description><![CDATA[<p dir="auto">so now need to pull the data back down after imaging done so then after:<br />
echo " * Database updated!";<br />
echo “”;<br />
fi<br />
clearScreen;</p>
<p dir="auto">add this:<br />
[CODE]echo -n " * Mounting users backup location…";</p>
<p dir="auto">mkdir /ubackup</p>
<p dir="auto">echo “Done”;</p>
<p dir="auto">mount -o nolock,proto=tcp ${storage}Backup /ubackup</p>
<p dir="auto">echo -n " * Downloading user data backup…";</p>
<p dir="auto">mkdir -p /ntfs/UserBackup 2&gt;/dev/null;</p>
<p dir="auto">mv ${tmpuBackupPath}/Users /ntfs/UserBackup</p>
<p dir="auto">rm -rf /ubackup/*</p>
<p dir="auto">echo “Done”;<br />
[/CODE]</p>
]]></description><link>http://forums.fogproject.org/post/14006</link><guid isPermaLink="true">http://forums.fogproject.org/post/14006</guid><dc:creator><![CDATA[Lee Rowlett]]></dc:creator><pubDate>Tue, 27 Aug 2013 16:55:51 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Tue, 27 Aug 2013 16:48:34 GMT]]></title><description><![CDATA[<p dir="auto">it needs a little work but edit fog file within init.gz and add this code (you will need to create a folder on the server “/images/Backup”</p>
<p dir="auto">and just add /amend every instance of:</p>
<p dir="auto">[CODE]echo -n " * Waiting for disks to settle…";[/CODE]</p>
<p dir="auto">to</p>
<p dir="auto">[CODE]echo -n " * Waiting for disks to settle…";</p>
<p dir="auto">echo “Done”;</p>
<p dir="auto">echo -n " * Preparing users backup location…";</p>
<p dir="auto">mkdir /ubackup</p>
<p dir="auto">mount -o nolock,proto=tcp ${storage}Backup /ubackup</p>
<p dir="auto">macWinSafe=<code>echo $mac | sed 's/://g'</code>;</p>
<p dir="auto">tmpuBackupPath=“/ubackup/$macWinSafe”;</p>
<p dir="auto">if [ ! -d “$tmpuBackupPath” ]</p>
<p dir="auto">then</p>
<p dir="auto">mkdir -p “$tmpuBackupPath” 2&gt;/dev/null;</p>
<p dir="auto">fi</p>
<p dir="auto">chmod -R 777 $tmpuBackupPath</p>
<p dir="auto">rm -rf “$tmpuBackupPath/*”</p>
<p dir="auto">parts=<code>fogpartinfo --list-parts $hd 2&gt;/dev/null</code>;</p>
<p dir="auto">for prt in $parts</p>
<p dir="auto">do</p>
<p dir="auto">win7partcnt=<code>expr ${win7partcnt} + 1</code>;</p>
<p dir="auto">done</p>
<p dir="auto">if [ “$win7partcnt” = “1” ]; then</p>
<p dir="auto">part=“/dev/sda1”;</p>
<p dir="auto">elif [ “$win7partcnt” = “2” ]; then</p>
<p dir="auto">part=“/dev/sda2”;</p>
<p dir="auto">elif [ “$win7partcnt” = “3” ]; then</p>
<p dir="auto">part=“/dev/sda3”;</p>
<p dir="auto">fi</p>
<p dir="auto">echo “Done”;</p>
<p dir="auto">echo -n " * Backing up user data…";</p>
<p dir="auto">mkdir /ntfs &amp;&gt;/dev/null</p>
<p dir="auto">ntfs-3g -o force,rw $part /ntfs</p>
<p dir="auto">if [ “$type” = “down” -a “$osid” = “1” ]; then</p>
<p dir="auto">mkdir -p ${tmpuBackupPath}/“Documents and Settings” 2&gt;/dev/null;</p>
<p dir="auto">chmod -R 777 ${tmpuBackupPath}/“Documents and Settings”</p>
<p dir="auto">cp -rf /ntfs/“Documents and Settings/”* ${tmpuBackupPath}/“Documents and Settings” 2&gt;/dev/null;</p>
<p dir="auto">else</p>
<p dir="auto">mkdir -p “${tmpuBackupPath}/Users” 2&gt;/dev/null;</p>
<p dir="auto">chmod -R 777 ${tmpuBackupPath}/Users</p>
<p dir="auto">cp -rf /ntfs/Users/* ${tmpuBackupPath}/Users 2&gt;/dev/null;</p>
<p dir="auto">fi</p>
<p dir="auto">echo “Done”;</p>
<p dir="auto">umount /ubackup;</p>
<p dir="auto">umount /ntfs;<br />
[/CODE]</p>
]]></description><link>http://forums.fogproject.org/post/14005</link><guid isPermaLink="true">http://forums.fogproject.org/post/14005</guid><dc:creator><![CDATA[Lee Rowlett]]></dc:creator><pubDate>Tue, 27 Aug 2013 16:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 23 Aug 2013 20:18:30 GMT]]></title><description><![CDATA[<p dir="auto">And BTW, would love the ease of the tick box operation if considered for FOG code!</p>
]]></description><link>http://forums.fogproject.org/post/13952</link><guid isPermaLink="true">http://forums.fogproject.org/post/13952</guid><dc:creator><![CDATA[ejbman]]></dc:creator><pubDate>Fri, 23 Aug 2013 20:18:30 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 23 Aug 2013 20:14:53 GMT]]></title><description><![CDATA[<p dir="auto">[quote=“Lee Rowlett, post: 11887, member: 28”]FOG Code in the init[/quote]</p>
<p dir="auto">I would very much like to know the mods! This is exactly what I’ve been looking to do.</p>
]]></description><link>http://forums.fogproject.org/post/13951</link><guid isPermaLink="true">http://forums.fogproject.org/post/13951</guid><dc:creator><![CDATA[ejbman]]></dc:creator><pubDate>Fri, 23 Aug 2013 20:14:53 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 03 May 2013 16:30:08 GMT]]></title><description><![CDATA[<p dir="auto">FOG Code in the init</p>
]]></description><link>http://forums.fogproject.org/post/12516</link><guid isPermaLink="true">http://forums.fogproject.org/post/12516</guid><dc:creator><![CDATA[Lee Rowlett]]></dc:creator><pubDate>Fri, 03 May 2013 16:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 03 May 2013 15:58:31 GMT]]></title><description><![CDATA[<p dir="auto">Is this done in the FOG client or in the FOG code in init.gz?</p>
]]></description><link>http://forums.fogproject.org/post/12515</link><guid isPermaLink="true">http://forums.fogproject.org/post/12515</guid><dc:creator><![CDATA[chad-bisd]]></dc:creator><pubDate>Fri, 03 May 2013 15:58:31 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 03 May 2013 09:44:38 GMT]]></title><description><![CDATA[<p dir="auto">I have no particular use for this in the work environment as we use roaming profiles here but this sounds very positive for maybe home or small office setups… something that should be looked at in more depth definately.  It sounds like it would be a marvelous option to have from the web control panel.  Good work.</p>
]]></description><link>http://forums.fogproject.org/post/12508</link><guid isPermaLink="true">http://forums.fogproject.org/post/12508</guid><dc:creator><![CDATA[Matt Harding]]></dc:creator><pubDate>Fri, 03 May 2013 09:44:38 GMT</pubDate></item><item><title><![CDATA[Reply to Backup Feature for user profiles&#x2F;Data on Fri, 03 May 2013 08:29:24 GMT]]></title><description><![CDATA[<p dir="auto">.</p>
]]></description><link>http://forums.fogproject.org/post/12507</link><guid isPermaLink="true">http://forums.fogproject.org/post/12507</guid><dc:creator><![CDATA[Lee Rowlett]]></dc:creator><pubDate>Fri, 03 May 2013 08:29:24 GMT</pubDate></item></channel></rss>