<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bitpost.com/w/index.php?action=history&amp;feed=atom&amp;title=Back_up_drive</id>
	<title>Back up drive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bitpost.com/w/index.php?action=history&amp;feed=atom&amp;title=Back_up_drive"/>
	<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Back_up_drive&amp;action=history"/>
	<updated>2026-04-19T12:05:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3551&amp;oldid=prev</id>
		<title>M at 17:19, 24 March 2016</title>
		<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3551&amp;oldid=prev"/>
		<updated>2016-03-24T17:19:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:19, 24 March 2016&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Back up a linux system to a second bootable drive&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Back up a linux system to a second bootable drive&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# We want to copy all files from the root drive to a new drive.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# We want to copy all files from the root drive to a new drive.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>M</name></author>
	</entry>
	<entry>
		<id>https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3550&amp;oldid=prev</id>
		<title>M at 17:18, 24 March 2016</title>
		<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3550&amp;oldid=prev"/>
		<updated>2016-03-24T17:18:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:18, 24 March 2016&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== &lt;/del&gt;Back up a linux system to a second bootable drive &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/ins&gt;Back up a linux system to a second bootable drive&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# We want to copy all files from the root drive to a new drive.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# We want to copy all files from the root drive to a new drive.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>M</name></author>
	</entry>
	<entry>
		<id>https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3549&amp;oldid=prev</id>
		<title>M: Created page with &quot;== Back up a linux system to a second bootable drive == Steps: # We want to copy all files from the root drive to a new drive.  # We also want to update the boot menu to boot...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bitpost.com/w/index.php?title=Back_up_drive&amp;diff=3549&amp;oldid=prev"/>
		<updated>2016-03-24T17:18:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Back up a linux system to a second bootable drive == Steps: # We want to copy all files from the root drive to a new drive.  # We also want to update the boot menu to boot...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Back up a linux system to a second bootable drive ==&lt;br /&gt;
Steps:&lt;br /&gt;
# We want to copy all files from the root drive to a new drive. &lt;br /&gt;
# We also want to update the boot menu to boot off the new drive.&lt;br /&gt;
# We also want to change /etc/fstab on the second drive to use the new root path.&lt;br /&gt;
&lt;br /&gt;
These are the steps for backup of the dune box to the /spiceflow/2.0tb-newmovies/ drive. &lt;br /&gt;
When we&amp;#039;re done, we&amp;#039;ll boot from that drive to prove we have a working standby system. &lt;br /&gt;
&lt;br /&gt;
rsync does an excellent job of copying just what we need.  Test it with this:&lt;br /&gt;
 # a (archive mode -rlptgoD) v (verbose) x (don&amp;#039;t cross filesystems) h (human-readable) n (dry run)&lt;br /&gt;
 rsync -avxhn --progress / /spiceflow/2.0tb-newmovies/&lt;br /&gt;
Do the job with this:&lt;br /&gt;
 rsync -avxh / /spiceflow/2.0tb-newmovies/&lt;br /&gt;
 &lt;br /&gt;
   sent 28.10G bytes  received 8.64M bytes  15.63M bytes/sec&lt;br /&gt;
   total size is 39.57G  speedup is 1.41&lt;br /&gt;
There was def some old stuff in there worth cleaning up:&lt;br /&gt;
 /home/m/development/svn/mythtv...&lt;br /&gt;
 /var/tmp&lt;br /&gt;
 xbmc log files&lt;br /&gt;
 etc&lt;br /&gt;
Next we fix /etc/fstab on the new drive to use the drive as root.  Original config:&lt;br /&gt;
 /dev/disk/by-label/d-g2-root        /                           ext3    noatime         0 1&lt;br /&gt;
 /dev/disk/by-label/d-sp-20newmovies /spiceflow/2.0tb-newmovies  ext4    noatime         0 2&lt;br /&gt;
New config (remember tho, we lose the 2gb drive):&lt;br /&gt;
 /dev/disk/by-label/d-g2-root        /root-hot-drive ext3    noatime         0 1&lt;br /&gt;
 /dev/disk/by-label/d-sp-20newmovies /               ext4    noatime         0 2&lt;br /&gt;
Note: this never worked out for me due to my system&amp;#039;s mix of ext3 and ext4.&lt;br /&gt;
I&amp;#039;ll retry once I migrate everything to ext4.&lt;br /&gt;
Next, grub:&lt;br /&gt;
 mount /boot&lt;br /&gt;
 em /boot/grub/menu.lst&lt;br /&gt;
Orig entry:&lt;br /&gt;
 title                                ----- linux-2.6.34-gentoo-r11_withext4&lt;br /&gt;
 root (hd0,0)&lt;br /&gt;
 kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/sda4&lt;br /&gt;
Add a new &amp;quot;standby&amp;quot; entry under it - do a &amp;quot;df&amp;quot; to find the root:&lt;br /&gt;
 title                                ----- ==STANDBY== linux-2.6.34-gentoo-r11_withext4 &lt;br /&gt;
 root (hd0,0)&lt;br /&gt;
 kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1&lt;br /&gt;
Then reboot to standby and see what we have... (no &amp;quot;latest&amp;quot; video library etc., but otherwise the same?)&lt;/div&gt;</summary>
		<author><name>M</name></author>
	</entry>
</feed>