<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux * Screw &#187; backup</title>
	<atom:link href="http://www.linuxscrew.com/category/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 12:57:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=4553</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Windows after Ubuntu Lucid Lynx</title>
		<link>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/</link>
		<comments>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Thu, 06 May 2010 15:02:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1001</guid>
		<description><![CDATA[Sh*t happens. There is no more applications to manage my 6th generation iPod Classic 160 GB under Linux/Ubuntu. I have to install Windows as the second operating system along with newly installed Ubuntu Lucid Lynx (it rocks but this is for another post) to run iTunes.
For rather long time I&#8217;ve been using gtkpod, amarok, banshee, exaile [...]]]></description>
			<content:encoded><![CDATA[<p>Sh*t happens. There is no more applications to manage my <a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">6th generation </a><strong><a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">iPod Classic 160 GB</a></strong> under L<strong>inux/<a href="http://www.ubuntu.com">Ubuntu</a></strong>. I have to install <strong>Windows </strong>as the <strong>second operating system</strong> along with newly installed <strong>Ubuntu Lucid Lynx</strong> (it rocks but this is for another post) to run <strong>iTunes</strong>.</p>
<p>For rather long time I&#8217;ve been using <a href="http://www.gtkpod.org">gtkpod</a>, <a href="http://amarok.kde.org">amarok</a>, <a href="http://banshee-project.org/">banshee</a>, <a href="http://www.exaile.org">exaile</a> or <a href="http://projects.gnome.org/rhythmbox/">rhythmbox</a> to sync my ipod under Linux/Ubuntu and load my music collection there. As we all know <del>The Elder Brother</del> <a href="http://www.apple.com">Apple</a> fights with interoperability and makes ipod/iphone users to use <a href="http://en.wikipedia.org/wiki/Itunes">iTunes</a> only. Any other applications that can read/write to ipod data format are prohibited by Apple. This also concerns <a href="http://www.rockbox.org">Rockbox</a> and <a href="http://ipodlinux.sourceforge.net/index.shtml">ipod4linux</a> alternative firmwares &#8212; once Apple encrypted ipod firmware it became impossible to use them. It definitely sucks. At least due to the fact there are millions of Linux users who are real or potential customers of Apple products. Anyways these facts have been discussed in various forums, blogs like <a href="http://mdeslaur.blogspot.com/2009/07/goodbye-apple.html">this</a> and similar but this post about how to install Windows as the second operating system along with Ubuntu or any other Linux.</p>
<p><a href="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png"><img class="alignright" title="gparted example" src="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png" alt="gparted example" width="177" height="121" /></a>The first that we need to do is to <strong>create new partition for Windows</strong> and format it to <strong><a href="http://www.ntfs.com/">NTFS</a></strong>. Exact steps to accomplish this depend on your HDD partition table e.g. there is one large <a href="http://en.wikipedia.org/wiki/Ext3">ext3</a>/<a href="http://en.wikipedia.org/wiki/Ext4">ext4</a> partition for Ubuntu or there are several partitions for various distributions or mount points. Anyway you should use partition manager to create and/or format NTFS partition. I use <a href="http://gparted.sourceforge.net/"><strong>gparted</strong></a>. It is graphical and it just works (use &#8216;<code>sudo apt-get install gparted</code>&#8216; if you run Ubuntu/Debian).</p>
<p>Second you should backup your <strong><a href="http://en.wikipedia.org/wiki/Master_boot_record">MBR</a></strong> record and restore it after Windows installation that silently erases existing bootloader and installs windows one, use &#8220;<code>dd if=/dev/sda of=/mbr.bin bs=446 count=1</code>&#8221; to save MRB into mbr.bin file and &#8220;<code>dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1</code>&#8221; to restore it from file to HDD.</p>
<p>To sum everything up here is the algorithm:</p>
<p>0. <strong>BACKUP ALL YOUR DATA!</strong><br />
1. <strong>Create NTFS partition</strong> using gparted.<br />
2. <strong>Backup MBR</strong> using <em>dd</em> command e.g. &#8220;dd if=/dev/sda of=/mbr.bin bs=446 count=1&#8243; (/dev/sda means your HDD).<br />
3. Boot Windows installation CD and <strong>install it onto newly created NTFS partition</strong>.<br />
4. Boot into Linux live CD  e.g. <a href="http://www.ubuntu.com/GetUbuntu/download">Ubuntu Live CD</a>.<br />
5. <strong>Restore MBR</strong> using <em>dd</em> e.g. &#8220;dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1&#8243;.<br />
6. Reboot.<br />
7. Select Ubuntu in grub menu and boot it.<br />
8. <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">Setup <strong>grup for Windows</strong> booting</a>.</p>
<p>In order to accomplish the last 8th item you should add the following text block to the end of grub config (read <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">this article</a> for detailed information):</p>
<p><code>title Microsoft Windows XP<br />
root (hd0,1)<br />
savedefault<br />
makeactive<br />
chainloader +1</code></p>
<p>Good luck!</p>
<p>P.S. If something goes wrong or you need more details you can take a look at the following article at ubuntu.com: <a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows">Recovering Ubuntu After Installing Windows</a>. It&#8217;s written in rather tangled manner but still informative.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>16 GB encrypted candy file</title>
		<link>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/</link>
		<comments>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/#comments</comments>
		<pubDate>Wed, 05 May 2010 15:01:50 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=994</guid>
		<description><![CDATA[Update: as far as cryptoloop is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead.
Today it came to my mind that it is time to make sensitive information stored on my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Update</strong></span>: as far as <a href="http://www.spiritus-temporis.com/cryptoloop/">cryptoloop</a> is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use <a href="http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/">truecrypt to create encrypted filesystem within a file</a> instead.</p>
<p><img class="alignright" src="/files/passwords.txt.png" alt="passwords.txt" />Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don&#8217;t want to have whole my 32 GB usb drive fully encrypted using <em><a href="http://www.truecrypt.org/">truecrypt</a></em> or something similar. It is just toooo slow. I also don&#8217;t want to use <a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard">GPG</a> for uncompressing files and directories every time I would like to read them and then create new GPG compressed file every time I save changes. This eats too much of my time and system resources. At the same time it is necessary to be able to use  that usb drive under windows, mac, linux whatever (read/write files) but still have my directory structure with <strong>sensitive files encrypted</strong>. Here is the solution: create encrypted <strong>filesystem within a file</strong> named, say, 16GB.candy.bin that could be stored on regular windows formatted usb flash drive and then mounted under Linux <strong>using the password</strong>.</p>
<p>When it becomes necessary I can mount that 16GB.candy.bin as the regular ext3 filesystem with all those stuff like permissions, ownership etc. that is available on ext3 but not in <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT</a> or <a href="http://en.wikipedia.org/wiki/Ntfs">NTFS</a>. On my windows formatted flash drive candy takes only 16 GB so I can use the rest of space to store not so sensitive information like mp3, movies or photos. Moreover I <strong> </strong> on windows or linux to read it.</p>
<p>Let&#8217;s create that 16GB.candy.bin file with encrypted <strong><a href="http://en.wikipedia.org/wiki/Ext3">ext3</a></strong> filesystem (read below explanations below carefully before just to copy/paste commands into CLI):</p>
<p><code>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# modprobe cryptoloop</p>
<p>[root@artemn root]# modprobe aes</p>
<p>[root@artemn root]# dd if=/dev/urandom of=16GB.candy.bin bs=1048576 count=16000</p>
<p>[root@artemn root]# losetup -e aes /dev/loop0 16GB.candy.bin</p>
<p>[root@artemn root]# mkfs.ext3 /dev/loop0</p>
<p>[root@artemn root]# tune2fs -i 0 -c 0 /dev/loop0</code></p>
<p>Here are some points: using above commands we create encrypted file of 16 GB so if you need to have more or less just change &#8220;count=16000&#8243; in <em>dd</em> line. &#8220;count=16000&#8243; means 16GB so &#8220;count=20&#8243; means 20MB. Path &#8216;/path/to/candy/&#8217; is for example only so you should change it to real directory that is able to host encrypted file (16 GB in above example). Command <em>losetup</em> is present in most Linux distributions (btw I recommend <strong><a href="http://www.ubuntu.com">Ubuntu</a> </strong>especially newly released <a href="http://en.wikipedia.org/wiki/Lucid_Lynx#Ubuntu_10.04_LTS_.28Lucid_Lynx.29">Lucid Lynx</a>) but if it is not use your disro&#8217;s packet manager to install it or compile from sources (for super geeks only, <a href="http://en.wikipedia.org/wiki/Stallman">Mr. Stallman</a> if you read this article &#8212; Hello). Reader, you can replace &#8220;/dev/urandom&#8221; in <em>dd</em> line with &#8220;/dev/zero&#8221; that will make that command to finish faster but will lower security level of resulting file (read about <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> for better understanding). You will need to enter the password when running <em>losetup</em> command so make sure it safe and long enough like &#8216;6U2sAsR37Hn8122dGsaPrew1twt&#8217; but not &#8216;abc123&#8242; or &#8216;iloveyou&#8217;.</p>
<p>Once commands are done you will get 16GB.candy.bin containing encrypted ext3 filesystem. You can store this file where ever you want, say, on a flash drive. If you loose it nobody won&#8217;t be able to open it until he (or she!) <a href="http://aceontech.com/2008/03/29/to-crack-17-character-aes-password-100-years-and-1-billion-dollars/">cracked AES encryption</a> (use long passwords to prevent this). As the next step it is required to mount filesystem and store some files/directories in it:</p>
<p><code>[root@artemn root]# mkdir -p /mnt/candy</p>
<p>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# mount -t ext3 -o loop,encryption=aes 16GB.candy.bin /mnt/candy</p>
<p>[root@artemn root]# cd /mnt/candy</p>
<p>[root@artemn root]# #save files, edit them, view or anything you want</p>
<p>[root@artemn root]# cd /</p>
<p>[root@artemn root]# umount /mnt/candy</code></p>
<p>When you unmount 16GB.candy.bin the changes are already saved there so it&#8217;s not required to compress and encrypt anything unlike with GPG.</p>
<p>P.S. This post is inspired by <a href="http://nst.sourceforge.net/nst/docs/user/ch04s04.html">Loopback tricks</a> article. Thanks to the author. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Keep files at Linux/Windows/Unix synchronized with Unison</title>
		<link>http://www.linuxscrew.com/2007/09/04/keep-files-at-linuxwindowsunix-synchronized-with-unison/</link>
		<comments>http://www.linuxscrew.com/2007/09/04/keep-files-at-linuxwindowsunix-synchronized-with-unison/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 19:53:31 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/04/keep-files-at-linuxwindowsunix-synchronized-with-unison/</guid>
		<description><![CDATA[      Unison        is a file-synchronization tool for Unix and Windows. It allows two replicas        of a collection of files and directories to be stored on different hosts        (or different [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>      <strong><a href="http://www.cis.upenn.edu/~bcpierce/unison/" target="_blank">Unison</a></strong>        is a file-<strong>synchronization</strong> tool for Unix and Windows. It allows two replicas        of a collection of files and directories to be stored on different hosts        (or different disks on the same host), modified separately, and then brought        up to date by propagating the changes in each replica to the other.</p></blockquote>
<p>Unison that is available for Linux, Unix and Windows, shares a number of features with tools such as <a href="http://www.cyclic.com/" target="_blank">CVS</a>, <a href="http://www.xcf.berkeley.edu/%7Ejmacd/prcs.html" target="_blank">PRCS</a>,        <a href="http://subversion.tigris.org/">Subversion</a>, <a href="http://www.bitkeeper.com/">BitKeeper</a>, distributed filesystems (e.g. <a href="http://www.coda.cs.cmu.edu/" target="_blank">Coda</a>), uni-directional mirroring utilities (such as <a href="http://samba.anu.edu.au/rsync/">rsync</a>), and other synchronizers (Intellisync,        <a href="http://www.merl.com/reports/TR99-14/">Reconcile</a>, etc).</p>
<p><a href="http://www.linux.com/feature/118842http://www.linux.com/feature/118842" target="_blank">This article</a> tells how to sync data between Desktop PC and laptop with Unison.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/09/04/keep-files-at-linuxwindowsunix-synchronized-with-unison/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keep contacts and calendar/datebook of Motorola Razr V3 saved</title>
		<link>http://www.linuxscrew.com/2007/09/04/keep-contacts-and-calendardatebook-of-motorola-razr-v3-saved/</link>
		<comments>http://www.linuxscrew.com/2007/09/04/keep-contacts-and-calendardatebook-of-motorola-razr-v3-saved/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 08:00:58 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[sites]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/04/keep-contacts-and-calendardatebook-of-motorola-razr-v3-saved/</guid>
		<description><![CDATA[Some time ago I wrote about syncing mobile phone contacts and calendar with online service ZYB. Today I&#8217;d like to share my experience of Motorola Razr V3 sync by means of this free service. I&#8217;d like to mention that advantage of this method is that it doesn&#8217;t matter what operating system you use, it can [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I <a href="http://www.linuxscrew.com/2007/08/02/mobile-phone-contacts-calendar-and-messages-online-backup/" target="_blank">wrote</a> about syncing mobile phone <strong>contacts</strong> and <strong>calendar</strong> with online service <a href="http://www.zyb.com" class="broken_link"  target="_blank">ZYB</a>. Today I&#8217;d like to share my experience of <strong>Motorola Razr V3</strong> sync by means of this free service. I&#8217;d like to mention that advantage of this method is that it doesn&#8217;t matter what operating system you use, it can be <strong>Linux</strong>, Apple Mac<strong> </strong>or even M$ Window$. All operations are done with any browser you use.</p>
<p>First of all register new account at ZYB or login to existing one at <a href="http://www.zyb.com" class="broken_link"  target="_blank">www.zyb.com</a>. After first successful login you&#8217;ll be suggested to register your mobile phone model with the online system. Just choose your model in a wide phone models list. In my case I choose Motorola Razr V3.</p>
<p>In order to upload your phone contacts to your contacts and calendar/datebok data to ZYB perform the following operations with your Motorola Razr v3:</p>
<table>
<tr>
<td valign="top"><strong>1. </strong></td>
<td>Go to <strong>Menu</strong></td>
</tr>
<tr>
<td valign="top"><strong>2. </strong></td>
<td>Go to <strong>Connection</strong> or <strong>connectivity</strong></td>
</tr>
<tr>
<td valign="top"><strong>3. </strong></td>
<td>Go to <strong>Sync</strong></td>
</tr>
<tr>
<td valign="top"><strong>4. </strong></td>
<td>Select <strong>New entry</strong></td>
</tr>
<tr>
<td valign="top"><strong>5. </strong></td>
<td><strong>Name</strong>: ZYB</td>
</tr>
<tr>
<td valign="top"><strong>6. </strong></td>
<td><strong>Url</strong>: http://sync.zyb.com/</td>
</tr>
<tr>
<td valign="top"><strong>7. </strong></td>
<td><strong>Username</strong>: your ZYB login<span id="currentUserName"></span></td>
</tr>
<tr>
<td valign="top"><strong>8. </strong></td>
<td><strong>Password</strong>: your ZYB password</td>
</tr>
<tr>
<td valign="top"><strong>9. </strong></td>
<td>Select <strong>Data Paths</strong>, click <strong>Change</strong></td>
</tr>
<tr>
<td valign="top"><strong>10. </strong></td>
<td><strong>Address book</strong>: contacts</td>
</tr>
<tr>
<td valign="top"><strong>11. </strong></td>
<td><strong>Dateboook</strong>: calendar</td>
</tr>
<tr>
<td valign="top"><strong>12. </strong></td>
<td>Press <strong>Done</strong> to save</td>
</tr>
<tr>
<td valign="top"><strong>13. </strong></td>
<td>Select <strong>ZYB</strong> from the list and click on <strong>Select</strong> to start syn</td>
</tr>
</table>
<p>When sync is done you&#8217;ll see your contacts at your personal ZYB page. It&#8217;s very comfortable to edit them online and then sync with your Razr V3 by performing <strong>13</strong> step of above operations list.</p>
<p>ZYB provides a feature that allows to sync data between many mobile phones you own. Many phone models are supported, so it would be useful to check if it is supported by ZYB before buying it <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You may also be interested in:<br />
<a href="http://www.linuxscrew.com/2007/09/03/ev-do-internet-access-with-ubuntu-linux/" rel="bookmark" title="Permanent Link to ">EV-DO Internet access with Ubuntu Linux</a><br />
<a href="http://www.linuxscrew.com/2007/09/08/download-and-convert-youtuber-video-online-and-offline/" rel="bookmark" title="Permanent Link to ">Download and convert YouTube video online and offline</a><br />
<a href="http://www.linuxscrew.com/2007/09/06/inimitable-wallpapers-icons-and-themes-for-linux/" rel="bookmark" title="Permanent Link to ">Inimitable wallpapers, icons and themes for Linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/09/04/keep-contacts-and-calendardatebook-of-motorola-razr-v3-saved/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Make a copy of virtual machine with Vmware Server</title>
		<link>http://www.linuxscrew.com/2007/08/29/make-a-copy-of-virtual-machine-with-vmware-server/</link>
		<comments>http://www.linuxscrew.com/2007/08/29/make-a-copy-of-virtual-machine-with-vmware-server/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 18:37:47 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://linuxscrew.com/?p=71</guid>
		<description><![CDATA[It&#8217;s proven to be that during software development process, research activities and etc., using of virtulization is  invaluable. In my practice I use Vmware Server, so the next article would be useful.
First of all, we need to find where all our virtual machines are in our system. After small search I’ve found vmware files [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s proven to be that during software development process, research activities and etc., using of <strong><a href="http://en.wikipedia.org/wiki/Virtualization" target="_blank">virtulization</a></strong> is  invaluable. In <a href="http://oslb.wordpress.com/2007/08/21/vmware-server-ubuntu-feisty-fawn-704-linux/" target="_blank">my practice</a> I use <strong><a href="http://www.vmware.com" target="_blank">Vmware</a></strong> Server, so the next article would be useful.</p>
<blockquote><p>First of all, we need to find where all our virtual machines are in our system. After small search I’ve found vmware files in <strong><em>/var/lib/vmware/Virtual Machines</em></strong>. There are some set of directories each corresponds to some of your already created virtual machines. In my case I was interested in cloning virtual machine with name db1 to new machine db2 and then to db3.</p></blockquote>
<p><a href="http://blog.kovyrin.net/2007/04/08/how-to-clone-virtual-machine-with-vmware-server/" target="_blank">Continue reading about virtual machines cloning with Vmware Server&#8230;</a></p>
<p>Probably you&#8217;re interested also in:<br />
<a href="http://www.linuxscrew.com/2007/08/21/vmware-server-ubuntu-feisty-fawn-704-linux/" rel="bookmark" title="Permanent Link to ">Vmware Server at <strong>Ubuntu</strong> Feisty 7.04</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/08/29/make-a-copy-of-virtual-machine-with-vmware-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Move linux to another hard drive (dump, restore, backup)</title>
		<link>http://www.linuxscrew.com/2007/08/13/move-linux-to-another-hard-drive-dump-restore-backup/</link>
		<comments>http://www.linuxscrew.com/2007/08/13/move-linux-to-another-hard-drive-dump-restore-backup/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 09:24:00 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://linuxscrew.com/?p=35</guid>
		<description><![CDATA[There are several methods to move running Linux to another hard drive at the same server. But I used Unix dump/restore utility to perform this&#8230;
First of all it&#8217;s necessary to partition new hard drive in the same way as it&#8217;s done with old drive (Linux is running at). I usually use &#8216;fdisk&#8217; utility. Let&#8217;s assume [...]]]></description>
			<content:encoded><![CDATA[<p>There are several methods to move running Linux to another hard drive at the same server. But I used Unix dump/restore utility to perform this&#8230;<span class="fullpost"></span></p>
<p>First of all it&#8217;s necessary to partition new hard drive in the same way as it&#8217;s done with old drive (Linux is running at). I usually use &#8216;fdisk&#8217; utility. Let&#8217;s assume that old drive is /dev/hda and new one is /dev/hdb. To view hda&#8217;s partition table please run &#8216;fdisk -l /dev/hda&#8217; which should show something like this:</p>
<p>Disk /dev/hda: 60.0 GB, 60022480896 bytes<br />
255 heads, 63 sectors/track, 7297 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot    Start       End    Blocks   Id  System<br />
/dev/hda1   *         1        15    120456   83  Linux<br />
/dev/hda2            16       276   2096482+  82  Linux swap<br />
/dev/hda3           277      7297  56396182+  83  Linux</p>
<p>After this run &#8216;fdisk /dev/hdb&#8217; and make the same partitions at it. Interactive mode of fdisk utility is well documented and is very intuitive, so I don&#8217;t think it would be difficult to perform partitioning.</p>
<p>After this is done, we should make new filesystems at partitions we&#8217;ve created:</p>
<p><em>mkfs -t ext3 /dev/hdb1<br />
mkfs -t ext3 /dev/hdb3<br />
mkswap /dev/hdb2</em></p>
<p>When it&#8217;s done it&#8217;s NECESSARY to mark newly created filesystems as it&#8217;s done with old ones. To check filesystem volume name run command &#8216;tune2fs -l /dev/hda1 | grep volume&#8217; and etc. You&#8217;ll see something like this:</p>
<p>Filesystem volume name:   /boot</p>
<p>It means that we should mark new hdb1 with label /boot. It can be done by command:</p>
<p><em>tune2fs -L &#8220;/boot&#8221; /dev/hdb1</em></p>
<p>The same should be performed for all partitions except swap one. In my case I should label hdb3 by command:</p>
<p><em>tune2fs -L &#8220;/&#8221; /dev/hdb3</em></p>
<p>At this point new hard drive preparation is finished and we can proceed with moving Linux to it. Mount new filesystem and change directory to it:</p>
<p><em>mount /dev/hdb1 /mnt/hdb1<br />
cd /mnt/hdb1</em></p>
<p>When it&#8217;s done we can perform moving by command:</p>
<p><em>dump -0uan -f &#8211; /boot | restore -r -f -</em></p>
<p>And the same with / partition:</p>
<p><em>mount /dev/hdb3 /mnt/hdb3<br />
cd /mnt/hdb3<br />
dump -0uan -f &#8211; / | restore -r -f -</em></p>
<p>When dump/restore procedures are done we should install boot loader to new HDD. Run &#8216;grub&#8217; utility and execute in it&#8217;s console:</p>
<p><em>root (hd1, 0)<br />
setup (hd1)<br />
quit</em></p>
<p>In case everything is done carefully and right (I&#8217;ve tested this method by myself) you can boot from new hard drive and have &#8216;old&#8217; Linux running at new hard drive running.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/08/13/move-linux-to-another-hard-drive-dump-restore-backup/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Mobile phone contacts, calendar and messages online backup</title>
		<link>http://www.linuxscrew.com/2007/08/02/mobile-phone-contacts-calendar-and-messages-online-backup/</link>
		<comments>http://www.linuxscrew.com/2007/08/02/mobile-phone-contacts-calendar-and-messages-online-backup/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 20:38:00 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://linuxscrew.com/?p=28</guid>
		<description><![CDATA[I&#8217;m using different mobile phones and it&#8217;s very important for me to keep my contact list as well as calendar entries backed up and to be sure that all this data can be restored in case I&#8217;ve lost my phone or it&#8217;s broken or so&#8230;
As it usually seems annoying for me to get phone connected [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using different mobile phones and it&#8217;s very important for me to keep my contact list as well as calendar entries backed up and to be sure that all this data can be restored in case I&#8217;ve lost my phone or it&#8217;s broken or so&#8230;<span class="fullpost"></span></p>
<p>As it usually seems annoying for me to get phone connected to PC via usb cable, bluetooth or etc. I&#8217;m using FREE online backup service <strong><a href="http://www.zyb.com" class="broken_link" >ZYB</a></strong>.</p>
<p>By means of this service I regularly synchronize my phone data with online storage and in case if phone is lost or broken I restore contacts and etc. to new phone easily.</p>
<p>To get your cell phone data backed up it&#8217;s only needed to register at www.zyb.com, choose phone model, get synchronization settings via sms and synchronize data with online backup storage. It took less than 3 minutes to finish when I used it for the first time!</p>
<p>Very nice service and absolutely free (as beer)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/08/02/mobile-phone-contacts-calendar-and-messages-online-backup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Moving Linux to remote server (over ssh via third server)</title>
		<link>http://www.linuxscrew.com/2007/07/27/moving-linux-to-remote-server-over-ssh-via-third-server/</link>
		<comments>http://www.linuxscrew.com/2007/07/27/moving-linux-to-remote-server-over-ssh-via-third-server/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 09:35:00 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://linuxscrew.com/?p=23</guid>
		<description><![CDATA[Source: server running rather obsolete Fedora Core 1 with Apache, sendmail, ftp and other stuff.
Target: any Linux server with at least one hard drive of appropriate disk space installed (in this case target server was running Knoppix).
Third server: any ssh running system.
First of all it&#8217;s necessary to get all servers to be accessible to each [...]]]></description>
			<content:encoded><![CDATA[<p>Source: server running rather obsolete Fedora Core 1 with Apache, sendmail, ftp and other stuff.<br />
Target: any Linux server with at least one hard drive of appropriate disk space installed (in this case target server was running Knoppix).<br />
Third server: any ssh running system.<span class="fullpost"></span></p>
<p>First of all it&#8217;s necessary to get all servers to be accessible to each other via ssh. Read your distribution&#8217;s manual to find out how to achieve it.</p>
<p>There are several possible ways to move Linux to another server by means of using dump/restore utilities over ssh. I&#8217;ve chosen this one: I&#8217;ve saved source server&#8217;s filesystem backup to third server over ssh and then restored this backup to target server (again over ssh).</p>
<p>To do this I&#8217;ve installed dump 0.4b41 onto source server and performed the following commands to save it&#8217;s <strong>/boot</strong> and <strong>/</strong> filesystems backups to third server (both in one line):</p>
<p align="left"><em>dump -0uan -f &#8211; /boot | ssh -c aes256-cbc @ dd of=/home/artemn/backup/dump/dump-boot-l0.bak</em></p>
<p>and</p>
<p align="left"><em>dump -0uan -f &#8211; / | ssh -c aes256-cbc @ dd of=/home/artemn/backup/dump/dump-root-l0.bak</em></p>
<p>It took several hours to transmit 20Gb over Internet in my case. If you&#8217;re performing these operations remotely I recommend to use utility <a href="http://oslb.wordpress.com/2007/08/06/keep-ssh-session-saved-unix-screen-utility/">screen</a> to be sure that transmitting won&#8217;t be stopped when ssh session to source server is closed. To use it just login to source server over ssh and type <em>screen</em> and then <em>dump</em> command with necessary agruments (see below). In case you&#8217;ve been disconnected just ssh again and restore screen session by command <em>screen -r</em>.</p>
<p>You can control above mentioned dump command activity by watching file size of dump-root-l0.bak and dump-boot-l0.bak files at third server.</p>
<p>After dump is finished you can check backup at third server by performing <em>restore -i -f dump-root-l0.bak</em> and walking through directories in backup file (use <em>ls</em> command). For further information read restore manual (interactive restore section): <em>man restore</em>.</p>
<p>Then login to target server and partake hard disk in the same way as it&#8217;s done at source server. In my case I&#8217;ve created three partitions <strong>/dev/sda1</strong> for /boot, <strong>/dev/sda2</strong> for / and <strong>/dev/sda3</strong> for swap. Target server can be running Live CD like Knoppix and have only one hardware drive.</p>
<p>When partitioning is done create filesystems at every partition:</p>
<p><em>mkfs -t ext2 /dev/sda1</em></p>
<p><em>mkfs -t ext2 /dev/sda2</em></p>
<p><em>mkswap /dev/sda3</em></p>
<p>Then set volume labels to just created filesystems by commands:</p>
<p><em>tune2fs -L &#8220;/boot&#8221; /dev/sda1</em></p>
<p>and</p>
<p><em>tune2fs -L &#8220;/&#8221; /dev/sda2</em></p>
<p>Labels should be the same as at source server (you can see them by executing <em>tune2fs -l /dev/sda1</em> and <em>tune2fs -l /dev/sda2</em> at source server). Sometimes it&#8217;s also necessary to set up volume label for swap filesystem.</p>
<p>When it&#8217;s done mount created filesystems by commands:</p>
<p><em>mount /dev/sda1 /mnt/sda1</em></p>
<p>and</p>
<p><em>mount /dev/sda2 /mnt/sda2</em></p>
<p>(be sure that /mnt/sda1 and /mnt/sda2 are created).</p>
<p>To restore filesystem from backed up copy, &#8216;<em>cd</em>&#8216; to destination directory and restore data by commands:</p>
<p><em>cd /mnt/sda1</em></p>
<p>and</p>
<p align="left"><em>ssh @ &#8220;cat /home/artemn/backup/dump/dump-boot-l0.bak&#8221; | restore -r -f -</em></p>
<p>then</p>
<p><em>cd /mnt/sda2</em></p>
<p>and</p>
<p align="left"><em>ssh @ &#8220;cat /home/artemn/backup/dump/dump-root-l0.bak&#8221; | restore -r -f -</em></p>
<p>In case of success <strong>/mnt/sda1</strong> and <strong>/mnt/sda2</strong> will contain the same files at /boot and / directories at source server.</p>
<p>When filesystems restoration is done we should install boot loader onto hard drive of target sever: start grub console by typing <em>grub</em> and then type <em>root (hd0, 0)</em>, then <em>setup (hd0)</em>. After this boot loader will be installed and target server can be booted from hard disk.</p>
<p>Note: be sure that dump and restore commands run at source and target servers are of same versions as it causes problems sometimes. I&#8217;ve used 0.4b41 at Fedora Core 1 (source) and Knoppix (target server).</p>
<p>Another note: I&#8217;ve spent a day to solve the problem with kernel panic when booting into target server&#8217;s hard disk. The problem was in volume labels. So don&#8217;t forget to set them.</p>
<p>Hope it helps somebody! Good luck, mates!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2007/07/27/moving-linux-to-remote-server-over-ssh-via-third-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
